![]() |
Contiki-NG
|
Implementation for the CC13xx/CC26xx BLE Beacon Daemon. More...
#include "contiki.h"#include "sys/cc.h"#include "sys/clock.h"#include "sys/etimer.h"#include "sys/process.h"#include "net/linkaddr.h"#include "net/netstack.h"#include <ti/devices/DeviceFamily.h>#include <DeviceFamily_constructPath(driverlib/chipinfo.h)>#include <DeviceFamily_constructPath(driverlib/rf_ble_cmd.h)>#include <DeviceFamily_constructPath(driverlib/rf_common_cmd.h)>#include <ti/drivers/rf/RF.h>#include "rf/rf.h"#include "rf/sched.h"#include "rf/ble-addr.h"#include "rf/ble-beacond.h"#include "rf/tx-power.h"#include "rf/settings.h"#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <string.h>#include "sys/log.h"Go to the source code of this file.
Functions | |
| rf_ble_beacond_result_t | rf_ble_beacond_init (void) |
| Initialize the BLE advertisement/beacon daemon. | |
| rf_ble_beacond_result_t | rf_ble_beacond_config (clock_time_t interval, const char *name) |
| Set the device name to use with the BLE advertisement/beacon daemon. | |
| rf_ble_beacond_result_t | rf_ble_beacond_start (void) |
| Start the BLE advertisement/beacon daemon. | |
| rf_ble_beacond_result_t | rf_ble_beacond_stop (void) |
| Stop the BLE advertisement/beacon daemon. | |
| int8_t | rf_ble_is_active (void) |
| Check whether the BLE beacond is currently active. | |
| rf_ble_beacond_result_t | rf_ble_set_tx_power (int8_t dbm) |
| Set TX power for BLE advertisements. | |
| int8_t | rf_ble_get_tx_power (void) |
| Get TX power for BLE advertisements. | |
Implementation for the CC13xx/CC26xx BLE Beacon Daemon.
Definition in file ble-beacond.c.