BLE · API Governance Rules

BLE API Rules

Spectral linting rules defining API design standards and conventions for BLE.

5 Rules warn 5
View Rules File View on GitHub

Rule Categories

ble

Rules

warn
ble-uuid-format
GATT service and characteristic UUIDs should follow Bluetooth SIG format
$.components.schemas[*].properties.uuid
warn
ble-rssi-range
RSSI values must be within valid BLE range (-127 to 0 dBm)
$.components.schemas.AdvertisingPacket.properties.rssi
warn
ble-characteristic-properties-enum
GATT characteristic properties must use defined values
$.components.schemas[*].$defs.GattCharacteristic.properties.properties.items
warn
ble-address-format
BLE device MAC address must follow XX:XX:XX:XX:XX:XX format
$.components.schemas.AdvertisingPacket.properties.address
warn
ble-service-uuid-required
GATT service definitions must include a UUID
$.components.schemas.GattService