|
Contiki 3.x
|
Files | |
| file | rf-ble.c |
| Implementation of the CC13xx/CC26xx RF BLE driver. | |
| file | rf-ble.h |
| Header file for the CC13xx/CC26xx BLE driver. | |
Functions | |
| void | rf_ble_beacond_config (clock_time_t interval, const char *name) |
| Set the device name to use with the BLE advertisement/beacon daemon. More... | |
| uint8_t | rf_ble_beacond_start (void) |
| Start the BLE advertisement/beacon daemon. More... | |
| uint8_t | rf_ble_is_active (void) |
| Check whether the BLE beacond is currently active. More... | |
| void | rf_ble_beacond_stop (void) |
| Stop the BLE advertisement/beacon daemon. | |
| void rf_ble_beacond_config | ( | clock_time_t | interval, |
| const char * | name | ||
| ) |
Set the device name to use with the BLE advertisement/beacon daemon.
| interval | The interval (ticks) between two consecutive beacon bursts |
| name | The device name to advertise |
If name is NULL it will be ignored. If interval==0 it will be ignored. Thus, this function can be used to configure a single parameter at a time if so desired.
Definition at line 160 of file rf-ble.c.
References NULL.
| uint8_t rf_ble_beacond_start | ( | void | ) |
Start the BLE advertisement/beacon daemon.
Before calling this function, the name to advertise must first be set by calling rf_ble_beacond_config(). Otherwise, this function will return an error.
Definition at line 181 of file rf-ble.c.
References NULL, and process_start().
1.8.6