Page 1 of 1

gatt client to write data with two chracteristic uuid based on one service

Posted: Tue Nov 26, 2019 11:14 am
by malumalu
Hai ,
I need to update NRF52840 over OTA . i am using ESP32 to communicate with NRF through bluetooth , using GATT CLIENT example. First i am able to pair both esp32 and nrf52840 then as per the DFU protocol i am able to proceed to send a command with characteristic uuid , in that i have to send initial commands to one characteristic uuid for that commands i am getting response from nrf . after that i have to send init packet (as per dfu protocol) to another charcteristic uuid with same service .is possible to write data two characteristic uuid on one service?? If having any ideas .. can you please help me out to solve this...

thanks ,

Re: gatt client to write data with two chracteristic uuid based on one service

Posted: Thu Nov 28, 2019 11:51 am
by chegewara
When you discover GATT attributes you get all attributes with corresponding handles. Use handles to read/write characteristics.