AnsweredAssumed Answered

QN9020 get characteristic

Question asked by Jan Sramota on Nov 16, 2017
Latest reply on Dec 1, 2017 by Mario Ignacio Castaneda Lopez

Hi All,

 

I use QTOOL application (from SDK1.3.9) and QN9020 Mini DK to connect with some BLE device and read characteristic. In Local device traces(Qtool) I can see <Rx><QN9020>| EVT(GATT_DISC_CHAR_ALL_128_CMP_EVT) when I called Characteristic discovery. And after this I can read characteristic UUID with length 128 b

 

I need write same functionality for my program on QN9020. So I use EAPI from same SDK. I try call functions from app_gatt.h and get handler to int app_gatt_disc_char_all_128_cmp_evt_handler(ke_msg_id_t const msgid, struct gatt_disc_char_all_128_cmp_evt const *param, ke_task_id_t const dest_id, ke_task_id_t const src_id)

but I can not enter to this handler. 

 

Which function from EAPI I must use to read all characteristic from connected BLE device?

 

Thanks

Outcomes