charHandle is now a part of GattCharacteristicWriteCBParams
This commit is contained in:
parent
4e2e9c1133
commit
11c96570b4
1 changed files with 2 additions and 1 deletions
|
@ -291,12 +291,13 @@ void nRF51GattServer::hwCallback(ble_evt_t *p_ble_evt)
|
|||
}
|
||||
|
||||
GattCharacteristicWriteCBParams cbParams = {
|
||||
.charHandle = i,
|
||||
.op = static_cast<GattCharacteristicWriteCBParams::Type>(gattsEventP->params.write.op),
|
||||
.offset = gattsEventP->params.write.offset,
|
||||
.len = gattsEventP->params.write.len,
|
||||
.data = gattsEventP->params.write.data
|
||||
};
|
||||
handleDataWrittenEvent(i, &cbParams);
|
||||
handleDataWrittenEvent(&cbParams);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue