Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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