ble7
2.0.0.0
|
Ble7 Click example. More...
Macros | |
#define | PROCESS_COUNTER 10 |
#define | PROCESS_RX_BUFFER_SIZE 500 |
#define | PROCESS_PARSER_BUFFER_SIZE 1000 |
#define | DEMO_APP_RECEIVER |
Functions | |
void | get_rsp (uint8_t *rsp_dat) |
void | log_rsp () |
void | ble7_device_config () |
void | sending_mode () |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Variables | |
char | clrb_buf [5] = "clrb" |
char | adv_buf [9] = "adv high" |
char | set_blvhd_buf [17] = "set bl v h d 120" |
char | con_count_buf [11] = "get bl c c" |
char | str_mode_buf [4] = "str" |
char | read_buf [256] |
uint8_t | rx_data |
uint8_t | response [256] |
uint8_t | rsp_idx |
uint8_t | rsp_check |
uint8_t | log_check |
Ble7 Click example.
This example reads and processes data from BLE 7 clicks.
The demo application is composed of two sections :
Initializes peripherals, pins, UART serial interface, uart interrupt, and executes the module reset.
Allows user to recive data from another device ( using mobile bluetooth terminal )
note: https://docs.silabs.com/gecko-os/1/bgx/latest/commands
#define DEMO_APP_RECEIVER |
#define PROCESS_COUNTER 10 |
#define PROCESS_PARSER_BUFFER_SIZE 1000 |
#define PROCESS_RX_BUFFER_SIZE 500 |
void application_init | ( | void | ) |
void application_task | ( | void | ) |
void ble7_device_config | ( | ) |
void get_rsp | ( | uint8_t * | rsp_dat | ) |
void log_rsp | ( | ) |
void main | ( | void | ) |
void sending_mode | ( | ) |
char adv_buf[9] = "adv high" |
char clrb_buf[5] = "clrb" |
char con_count_buf[11] = "get bl c c" |
uint8_t log_check |
char read_buf[256] |
uint8_t response[256] |
uint8_t rsp_check |
uint8_t rsp_idx |
uint8_t rx_data |
char set_blvhd_buf[17] = "set bl v h d 120" |
char str_mode_buf[4] = "str" |