charHandle is now a part of GattCharacteristicWriteCBParams

This commit is contained in:
Rohit Grover 2014-09-16 16:39:22 +01:00
parent 4e2e9c1133
commit 11c96570b4

View file

@ -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: