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.
8 years, 3 months ago. This question has been closed. Reason: Unclear question
How I can write a charasteristic value as a integer over BLE?
uint16_t rUUID = 0xA001;
static uint8_t rValue[0xff] = {0}; WriteOnlyArrayGattCharacteristic<uint8_t, sizeof(rValue)> rChar(rUUID, rValue);
void writeCharCallback(const GattWriteCallbackParams *params){
if(params->handle == rChar.getValueHandle()) {
Could you add more details and explanation so we can answer your question ?
posted by Vincent (pan-) Coubard 24 Nov 2016