7 years, 1 month ago.

BLE - error invalid_state

Hi, i'm having some problems implementing a HID Consumer control over BLE. Everything works fine after pairing (no error updating the Characteristic).

If I restart the BLE nano (or disable/enable bluetooth on the computer), the connection starts successfully, but when i try to update the Characteristic (updateCharacteristic) the method returns BLE_ERROR_INVALID_STATE (6)

same result if i use the library BLE_HID (and every example that i found)

I really need some help

/media/uploads/marciofernandes/main.cpp

Question relating to:

Bluetooth Low Energy (a.k.a Bluetooth LE, BTLE, Bluetooth Smart)
Be the first to answer this question.