bletx 2.0.0.0
|
BleTx Click example. More...
Macros | |
#define | URI |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
bletx_adv_cfg_t | adv_cfg |
bletx_eddystone_data_t | adv_data |
BleTx Click example.
This library contains API for the BLE TX Click driver. This example processes data from BLE TX Click, BLE TX Click Bluetooth® Low Energy compliant advertising transmission can be achieved by simply configuring the transmission power, data, and transmission - start trigger.
The demo application is composed of two sections :
Initialization of I2C module and log UART. Initializes driver and set performs the default configuration. Configure Bluetooth Low Energy Beacons to transmit so-called advertising frames. Configuration of the Eddystone URI, UID, or TLM Bluetooth Low Energy Beacons profile task depends on uncommented code. Eddystone ( URI ) : broadcasts a URL of at most 15 characters that redirects to a website that is secured using SSL. Eddystone ( UID ) : broadcasts an identifying code that allows apps to retrieve information from app servers. Eddystone ( TLM ) : broadcasts information about the beacon, include battery level, sensor data, or other relevant information to beacon administrators.
This is an example that shows the use of a BLE TX click board™. In this example, the application turns the selected advertising frames ON and OFF for a period of 10 seconds.
#define URI |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
bletx_adv_cfg_t adv_cfg |
bletx_eddystone_data_t adv_data |