Hi all,
We need to develop a communication channel between 2 Controllers One is Master controller and another is Slave controller
- Master controller will send Data packet of 8 Byte Length,
- Slave controller will receive the Data packet and processed data will be echoed back to master controller
Master to slave Byte 0 0xAA Byte 1 0xFF Byte 2 Command (0x00 to 0x3F - Write Commands, 0x40 to 7F – Read Commands) Byte 3 Data0 Byte 4 Data1 Byte 5 Data3 Byte 6 Data3 Byte 7 Chk Sum
Slave to master
Byte 0 0xAA
Byte 1 0xFF
Byte 2 Command + 0x80
Byte 3 Command Status – (Ok, error, etc…)
Byte 4 Data0
Byte 5 Data1
Byte 6 0x00
Byte 7 Chk Sum
- We need option to set unique ID to Module through controller in both Master & Slave
- Option to de pair and pair another BLE module In master controller( We have 16X2 LCD and 4X4 Keypad to use)
Please suggest how to achieve the above application using BLE also please provide the links of code which can be used for above application.
thanks in advance
pavan.