BLE API doesn't have Descriptor #37
Description
I am connecting my device to a HM-10 BLE product using GATTC.
In super summary, BLE works the following way for GATT,
There is a service, which MAY contain characteristics.
The characteristics will have a value and may have a descriptor.
http://static.thegeekstuff.com/wp-content/uploads/2014/07/ti-ble-profile.png
Usually if you expect a reply from a client, you have to enable the notifications / indications to be 1 within the descriptor field of the characteristic you want to have a reply.
For example, in HM-10, if i send a "AT", i should receive "OK"
For my android phones, and pygatt software and micropython(https://github.com/MrSurly/micropython-esp32/blob/dev-bluetooth/esp32/bluetooth_docs.md), to receive the "OK" command, I will have to manually set the notifications or indications field to be true. It works on all the devices.
However, there is no way for me to set it to be true in pycom micropython as there is no descriptor function within characteristic.
dir(blecharacteristic)
['uuid', 'instance', 'properties', 'read', 'write', 'callback']
I believe you guys missed this portion of the API. Do let me know if you guys need logs or anything.