working on firmware update for bledevice

i am working on firmware update for BLE device. i am not able to understand the firmware update

if the code is available in github just send me the link

Replies

Here are steps:

You phone will play central role.


1. connect to peripheral

2. writeCharacteristic to send new firmware to it

3. reboot the peripheral

i have one hexfile that hexfile is to convert into 512bytes


that hexfile consists somany lines


after converting those thing then i want to send bytes line by line with response