Expand description

Bluetooth platform drivers

Modules

support for OS bluetooth Driver for OS targets

Ockam BLE service and endpoints are encoded as UUID v5 identifiers within the ns:OID namespace:

Structs

A BLE client that initiates GATT commands and requests, and accepts responses from a BLE server.

A BLE server that receives GATT commands and requests, and returns responses to a BLE client.

Enums

BleEvent

Constants

Maximum length of characteristic values (250 is the longest allowed by the BLE specification)

Maximum length of ockam messages

The minimum MTU required by the BLE spec. Many devices (e.g. bluenrg_ms) don’t allow for configuration higher than this.

Traits

Implement the BleClientDriver trait if you want to allow your hardware to function as a BLE Client

Implement the BleServerDriver trait if you want to allow your hardware to function as a BLE Client

Implement the BleStreamDriver to transmit and receive data from your hardware