|
uint8_t | dev_type |
|
uint8_t | receive_buffer [255] |
|
uint8_t | msg_flag = 0 |
|
char * | log_text |
|
uint8_t | MESSAGE_DATA [9] = { 'M', 'i', 'k', 'r', 'o', 'E', 13, 10, 0 } |
|
uint8_t | RECIVE_DATA [50] |
|
uint8_t | RN4870_ADDR_MASTER [13] = {'D', 'F', '0', '0', '0', '0', '0', '6', '8', '7', '9', '0'} |
|
uint8_t | RN4870_ADDR_SLAVE1 [13] = {'D', 'F', '1', '1', '1', '1', '1', '6', '8', '7', '9', '0'} |
|
uint8_t | RN4870_ADDR_SLAVE2 [13] = {'D', 'F', '2', '2', '2', '2', '2', '6', '8', '7', '9', '0'} |
|
Rn4870 Click example.
Description
This example reads and processes data from RN4870 clicks.
The demo application is composed of two sections :
Application Init
Initialization driver enables - UART, also write log.
Application Task
This is an example which demonstrates the use of RN4870 Click board. If 'MASTER' - connects to 'SLAVE', sends message and disconnects. If 'SLAVE' - waits for connect request and message from 'MASTER' and LOGs received message. Results are being sent to the Usart Terminal where you can track their changes.
Additional Function
- rn4870_process ( ) - The general process of collecting presponce that sends a module.
- Author
- MikroE Team