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

malumalu
Posts: 1
Joined: Tue Nov 26, 2019 10:54 am

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

Postby malumalu » Tue Nov 26, 2019 11:14 am

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 ,

chegewara
Posts: 873
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Thu Nov 28, 2019 11:51 am

When you discover GATT attributes you get all attributes with corresponding handles. Use handles to read/write characteristics.

Who is online

Users browsing this forum: Baidu [Spider], john_peter and 22 guests