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.
7 years, 9 months ago.
What is the the constructor of DiscoveredCharacteristic on BLE_API????
I know there is no constructor in the BLE_API but i need to store the value returned from discoveredCharacteristicCallBack. I need the Connection Hanlde and the Value Handle to use them in other functions and i get the error : Incomplete type is not allow when i do:
static DiscoveredCharacteristic chars_write;
static void discoveredCharacteristicCallBack(const DiscoveredCharacteristic *chars) { chars_write = *chars; }