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.
9 years, 4 months ago.
GattCharacteristicWriteCBParams is undefined
Hi,
Im trying to handle BLE write events but I keep getting an error on this method definition:
void writeCallback(const GattCharacteristicWriteCBParams *params){ if(params->charHandle == eventStuff.getValueHandle()){ //STUFF TO DO HERE } }
Error: Identifier "GattCharacteristicWriteCBParams" is undefined.
Am I missing an import statement or has this changed with the updated BLE library? Ive tried googling and I could not get a result that works. Can someone please help me?