ble7
2.0.0.0
|
Ble7 Click example. More...
Macros | |
#define | PROCESS_COUNTER 10 |
#define | PROCESS_RX_BUFFER_SIZE 200 |
#define | BLE7_ENABLE_ECHO "set sy c e 1" |
#define | BLE7_CLEAR_BONDING "clrb" |
#define | BLE7_ENABLE_BONDING "set bl e b 1" |
#define | BLE7_ENABLE_PAIRING "set bl e p any" |
#define | BLE7_SET_ADVERTISING_ON "adv high" |
#define | BLE7_SET_ADVERTISING_HIGH_DURATION "set bl v h d 120" |
#define | BLE7_SET_DEVICE_NAME "set sy d n \"BLE7-DEVICE\"" |
#define | BLE7_SAVE_CONFIGURATION "save" |
#define | BLE7_SWITCH_TO_STREAM_MODE "str" |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Ble7 Click example.
This example reads and processes data from BLE 7 clicks.
The demo application is composed of two sections :
Initializes the driver and configures the click board.
Checks for the received data, reads it and replies with a certain message.
#define BLE7_CLEAR_BONDING "clrb" |
#define BLE7_ENABLE_BONDING "set bl e b 1" |
#define BLE7_ENABLE_ECHO "set sy c e 1" |
#define BLE7_ENABLE_PAIRING "set bl e p any" |
#define BLE7_SAVE_CONFIGURATION "save" |
#define BLE7_SET_ADVERTISING_HIGH_DURATION "set bl v h d 120" |
#define BLE7_SET_ADVERTISING_ON "adv high" |
#define BLE7_SET_DEVICE_NAME "set sy d n \"BLE7-DEVICE\"" |
#define BLE7_SWITCH_TO_STREAM_MODE "str" |
#define PROCESS_COUNTER 10 |
#define PROCESS_RX_BUFFER_SIZE 200 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |