Bluetooth LE API

How to interact with the Amp over Bluetooth Low Energy

GATT Services

Name
UUID
Device Info Service
180f
Battery Service
180a
561d73e5-dff2-4740-bfe8-89e48efeef8f
561d73e6-dff2-4740-bfe8-89e48efeef8f
561d73e7-dff2-4740-bfe8-89e48efeef8f
Vehicle Service
Profile Service
Update Service
Use this service to get the status of the Amp, control the lights, calibrate the accelerometer, and restart the Amp.
Characteristic
UUID
Control
561d73e5-dff3-4740-bfe8-89e48efeef8f
State
561d73e5-dff4-4740-bfe8-89e48efeef8f
Lights
561d73e5-dff5-4740-bfe8-89e48efeef8f
561d73e5-dff6-4740-bfe8-89e48efeef8f
Reset
561d73e5-dff7-4740-bfe8-89e48efeef8f
The profile service allows you to send and receive MsgPack formatted profiles to control motion detection, lighting setup, and the device name.
Characteristic
UUID
561d73e6-dff3-4740-bfe8-89e48efeef8f
561d73e6-dff4-4740-bfe8-89e48efeef8f
Amp Flow Control
561d73e6-dff5-4740-bfe8-89e48efeef8f
Used to send Over-the-Air (OTA) updates to the Amp
Characteristic
UUID
Control
561d73e7-dff3-4740-bfe8-89e48efeef8f
561d73e7-dff4-4740-bfe8-89e48efeef8f
Status
561d73e7-dff5-4740-bfe8-89e48efeef8f

MTU Considerations

When you connect to the Amp over Bluetooth LE, it will try to negotiate an MTU of up to 512 bytes. This leaves you with a packet size of 509 bytes per transmission.
Check the platform you're developing on for MTU restrictions (e.g. iOS limits MTU to 185 bytes max giving you a packet size of 182 bytes)