7 years, 2 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; }

Be the first to answer this question.