hi,
i am working on generic ble central device which has nrf52832 as it's core.
my question is that i want to know the length of data in bytes which are being sent by notification only characteristic. without enabling notification.
so, for evaluation i am using pca10040 dev kit with sdk 14.2.0's blinkey central example with Nordic thingy 52 as peripheral device. i have modified it to connect with ble peripheral device according to device id entered via uart. after connection it will discover all the available service on peripheral and start allocation space in a register table (array of type uint16_t) to view by user via uart. so when it comes to read only, read/write, and write only characteristics i have no problem to get data length(for write only characteristics i don't have allocate memory space).but when it comes to notification i don't get data length until i enable notification and after that wait for that notification. that takes some time more time like thingy's button characteristic will only send notification when button is pressed. if button is never pressed my central device will always in wait to get notification from where it takes data length.
so is there any way to get data length in notification only characteristics without enabling notification.
please reply.
thanks.