I need some help in setting up architecture for the project I'm working on.
I have an monitoring battery powered embedded device with three physically separated boards (three batteries), like on the image attached.
Each one of them has one RF and one Cypress BLE module (CYBLE-022001-00). Firmware on microcontroller on each one of the boards must be updated via BLE module, i.e. via OTA (BLE module is via I2C connected to the microcontroller).
User must via mobile phone APP connect to Main BLE module which should provide two way communication (typical Client-Server, i.e. Central-Peripheral setup). Main board will further exchange all needed data (system related measurement) with the rest of the boards via RF, not via BLE.
I have BLE modules on the Peripheral boards mainly for the OTA FW upgrade support. But since they are there, I would like to use them for something else.
My questions are the following:
- Can BLE modules on the Peripheral boards constantly advertise some data (once per second) both to the Mobile APP and MAIN board? This would be just some TRUE/FALSE bytes, and only a few of them.
- If it is possible, can BLE modules advertise data to Main BLE and Mobile APP if the last two are connected and exchanging some data?
This raises additional questions:
- I don't want BLE modules on Peripheral boards to be beacons. As far as I understand, I will lose than possibility to connect to those modules and do the OTA FW update. Am I right?
- I would like BLE modules on Peripheral boards to do the advertising, but to be also connectable if I want so (although they Services would be only for the FW OTA). Is it possible to make Peripheral BLE modules in this "only advertise but also possible connectable mode", (if it is possible) to spend batteries as little the BLE beacons would?
Please point to other issues if I have missed some, which could jeopardize system architecture.
P.S. Also, these boards could be purchased separately, so I must ensure that I can introduce new board to the system, although the rest of the system doesn't know its BLE and RF addresses. Any ideas on this?
BLE question.png 13.6 K