We are using.
we want to do an over the air firmware update of the PIC using BT module connected to it.
We will have a 2 applications.
Will load a hex file.
Then can be emailed to client.
(App can be mobile or desktop based. Does not matter).
Client receives the encrypted (hex) file.
the app connect to the pic controller using an android phone and a hc05 or similar bluetooth module.
Android app will decrypt the file and transmit the hex file to the pic.
The transmission will start with a code.
Once transmission is over it will give success no.
Also version no should be saved in cloud (preferably in a Google sheet).
Will have a bootloader.
When android app transmit the passcode, the firmware will be uploaded.
Also the controller will save the version no for future updates.
list of deliverables includes
* bootloader for PIC18F46K22 and PIC18F26K22 in mikroC
* suggestions in modification of existing mikroC program so that it becomes suitable for bootloader.
* app for encryption of hex file so that it can be emailed to client.
* client mobile which will take input of the encrypted (hex) file, decrypt it and transmit over bluetooth for bootloader application.