bletx 2.0.0.0
|
This file contains API for BLE TX Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | bletx_t |
BLE TX Click context object. More... | |
struct | bletx_cfg_t |
BLE TX Click configuration object. More... | |
struct | bletx_adv_cfg_t |
BLE TX Click advertising settings object. More... | |
struct | bletx_create_adv_data_packet_t |
BLE TX Click advertising data packet. More... | |
struct | bletx_eddystone_data_t |
BLE TX Click Eddystone™ data packet. More... | |
Functions | |
void | bletx_cfg_setup (bletx_cfg_t *cfg) |
BLE TX configuration object setup function. | |
err_t | bletx_init (bletx_t *ctx, bletx_cfg_t *cfg) |
BLE TX initialization function. | |
err_t | bletx_default_cfg (bletx_t *ctx) |
BLE TX default configuration function. | |
err_t | bletx_power_down (bletx_t *ctx) |
BLE TX full power down function. | |
err_t | bletx_power_up (bletx_t *ctx) |
BLE TX full power up function. | |
err_t | bletx_hw_reset (bletx_t *ctx) |
BLE TX hardware reset function. | |
err_t | bletx_soft_reset (bletx_t *ctx) |
BLE TX software reset function. | |
err_t | bletx_interface_selection (bletx_t *ctx, uint8_t sel_interface) |
BLE TX interface selection function. | |
err_t | bletx_slave_address_selection (bletx_t *ctx, uint8_t sel_slave_address) |
BLE TX slave address selection function. | |
err_t | bletx_baud_rate_selection (bletx_t *ctx, uint32_t sel_baud_rate) |
BLE TX baud rate selection function. | |
err_t | bletx_generic_write (bletx_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
BLE TX I2C writing function. | |
err_t | bletx_generic_read (bletx_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
BLE TX I2C reading function. | |
err_t | bletx_start_advertising (bletx_t *ctx) |
BLE TX start advertising function. | |
err_t | bletx_stop_advertising (bletx_t *ctx) |
BLE TX stop advertising function. | |
err_t | bletx_set_cfg_adv_channel (bletx_t *ctx, bletx_advch_value_t advch_data) |
BLE TX advertising channel setting function. | |
err_t | bletx_set_output_power (bletx_t *ctx, bletx_tx_output_power_value_t power_data) |
BLE TX output power setting function. | |
err_t | bletx_set_tx_data (bletx_t *ctx, bletx_txdata_value_t txdata_data) |
BLE TX TX data setting function. | |
err_t | bletx_set_eventnum (bletx_t *ctx, bletx_eventnum_value_t eventnum_data) |
BLE TX eventnum setting function. | |
err_t | bletx_set_adv_delay (bletx_t *ctx, float adv_delay_ms) |
BLE TX advertising delay setting function. | |
err_t | bletx_set_configuration (bletx_t *ctx, bletx_adv_cfg_t adv_cfg) |
BLE TX configuration setting function. | |
err_t | bletx_create_adv_data_packet (bletx_t *ctx, bletx_create_adv_data_packet_t adv_data_packet) |
BLE TX create advertising data packet function. | |
err_t | bletx_create_eddystone_uri (bletx_t *ctx, bletx_eddystone_data_t adv_data) |
BLE TX create Eddystone™ URI data packet function. | |
err_t | bletx_create_eddystone_uid (bletx_t *ctx, bletx_eddystone_data_t adv_data) |
BLE TX create Eddystone™ UID data packet function. | |
err_t | bletx_create_eddystone_tlm (bletx_t *ctx, bletx_eddystone_data_t adv_data) |
BLE TX create Eddystone™ TLM data packet function. | |
This file contains API for BLE TX Click Driver.
enum bletx_advch_value_t |
BLE TX Click Advertising channel setting.
Predefined enum values for advertising 1st, 2nd and 3rd channel setting.
BLE TX Click advertising event setting.
Predefined enum values for the number of advertising event setting.
enum bletx_return_value_t |
enum bletx_txdata_value_t |