7 years, 5 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