bluetooth 2.0.0.0
|
Bluetooth Click example. More...
Macros | |
#define | PROCESS_COUNTER 20 |
#define | PROCESS_RX_BUFFER_SIZE 100 |
#define | PROCESS_PARSER_BUFFER_SIZE 100 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | DEVICE_NAME_DATA [20] = { 'B', 'l', 'u', 'e', 't', 'o', 'o', 't', 'h', 'C', 'l', 'i', 'c', 'k' } |
uint8_t | EXTENDED_STRING_DATA [10] = { 'S', 'l', 'a', 'v', 'e' } |
uint8_t | PIN_CODE_DATA [10] = { '1', '2', '3', '4' } |
Bluetooth Click example.
This example reads and processes data from Bluetooth clicks.
The demo application is composed of two sections :
Initializes driver and wake-up module.
Reads the received data.
note: Before starting to use this click, it must be paired with other device.
#define PROCESS_COUNTER 20 |
#define PROCESS_PARSER_BUFFER_SIZE 100 |
#define PROCESS_RX_BUFFER_SIZE 100 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint8_t DEVICE_NAME_DATA[20] = { 'B', 'l', 'u', 'e', 't', 'o', 'o', 't', 'h', 'C', 'l', 'i', 'c', 'k' } |
uint8_t EXTENDED_STRING_DATA[10] = { 'S', 'l', 'a', 'v', 'e' } |
uint8_t PIN_CODE_DATA[10] = { '1', '2', '3', '4' } |