|
uint8_t | RN4871_ADDR_MASTER [13] = {'D', 'F', '0', '0', '0', '0', '0', '6', '8', '7', '9', '0'} |
|
uint8_t | RN4871_ADDR_SLAVE [13] = {'D', 'F', '1', '1', '1', '1', '1', '6', '8', '7', '9', '0'} |
|
uint8_t | message_payload [17] = {'M', 'i', 'k', 'r', 'o', 'E', 'l', 'e', 'k', 't', 'r', 'o', 'n', 'i', 'k', 'a'} |
|
uint8_t | dev_type |
|
uint8_t | receive_buffer [255] |
|
uint8_t | msg_flag = 0 |
|
char * | ptr |
|
Rn4871 Click example.
Description
This example reads and processes data from RN4871 clicks.
The demo application is composed of two sections :
Application Init
Initializes UART driver. Initializes device and parser.
Application Task
If 'MASTER' - connects to 'SLAVE', sends message and disconnects. If 'SLAVE' - waits for connect request and message from 'MASTER' and LOGs received message.
Additional Function
- rn4871_process ( ) - The general process of collecting presponce that sends a module.
- Author
- MikroE Team