I've been working with some BLE modules that provide UART services. The first one was easy - there was a characteristic on which data was available, and setting notification on that raised an event correctly.
I'm now using a Microchip RN4020, which has a UART mode they call MLDP. It should do the same thing but setting notification the characteristic doesn't alert me.
Instead, apparently, I have to write to the Gatt Client Content Configuration Descriptor, 0x2902.
This doesn't appear listed in the characteristics or services. The thread at https://www.b4x.com/android/forum/threads/ble-descriptors-discover.65002 comes tantalisingly close to offering a solution, but I can't for the life of me see how I update this descriptor. Maybe I'm missing something obvious.
I'm now using a Microchip RN4020, which has a UART mode they call MLDP. It should do the same thing but setting notification the characteristic doesn't alert me.
Instead, apparently, I have to write to the Gatt Client Content Configuration Descriptor, 0x2902.
This doesn't appear listed in the characteristics or services. The thread at https://www.b4x.com/android/forum/threads/ble-descriptors-discover.65002 comes tantalisingly close to offering a solution, but I can't for the life of me see how I update this descriptor. Maybe I'm missing something obvious.