Functions | |
bool | es_adv_remain_connectable_get (void) |
get eddystone remain connectable state More... | |
void | es_adv_remain_connectable_set (bool remain_connectable) |
set eddystone remain connectable state More... | |
void | es_public_ecdh_key_get (uint8_t *p_ecdh_key_buf) |
get public ecdh key More... | |
void | es_public_ecdh_key_set (uint8_t *p_ecdh_key_buf) |
set public ecdh key More... | |
void | es_security_key_set (uint8_t *p_security_key, bool is_eid_write) |
set security key for slot More... | |
bool | es_beacon_has_eid_adv (void) |
to konw if a beacon has EID slot More... | |
void | es_active_slot_number_set (uint8_t slot_no) |
set number of the actived slot More... | |
uint8_t | es_active_slot_number_get (void) |
get number of the actived slot More... | |
bool | is_active_slot_eid (void) |
to know if the actived slot is a n EID slot | |
void | set_beacon_locked (void) |
lock a beacon | |
void | set_beacon_unlocked (void) |
unlock a beacon | |
int8_t | es_adv_tx_power_get (void) |
get the radio tx power More... | |
void | es_adv_tx_power_set (int8_t adv_tx_power) |
set the radio tx power More... | |
int8_t | es_slot_tx_power_get (void) |
get advertised tx power of a slot More... | |
void | es_slot_tx_power_set (int8_t tx_power) |
set advertised tx power of a slot More... | |
uint16_t | es_adv_interval_get (void) |
get advertising interval for slot More... | |
void | es_adv_interval_set (uint16_t adv_interval) |
set advertising interval for slot More... | |
sdk_err_t | esec_service_init (ble_escs_init_params_t *p_escs_init) |
Initialize Eddystone Configuration Service,and data for the service. More... | |
uint8_t es_active_slot_number_get | ( | void | ) |
get number of the actived slot
void es_active_slot_number_set | ( | uint8_t | slot_no | ) |
set number of the actived slot
[in] | slot_no | the number to be set to actived slot. |
uint16_t es_adv_interval_get | ( | void | ) |
get advertising interval for slot
void es_adv_interval_set | ( | uint16_t | adv_interval | ) |
set advertising interval for slot
[in] | adv_interval | advertising interval(mS). |
bool es_adv_remain_connectable_get | ( | void | ) |
get eddystone remain connectable state
true | beacon connectable function is on. |
false | beacon connectable function is off. |
void es_adv_remain_connectable_set | ( | bool | remain_connectable | ) |
set eddystone remain connectable state
[in] | remain_connectable | turn on or off beacon connectable function. |
int8_t es_adv_tx_power_get | ( | void | ) |
get the radio tx power
void es_adv_tx_power_set | ( | int8_t | adv_tx_power | ) |
set the radio tx power
[in] | adv_tx_power | tx power(dBm) to set. |
bool es_beacon_has_eid_adv | ( | void | ) |
to konw if a beacon has EID slot
void es_public_ecdh_key_get | ( | uint8_t * | p_ecdh_key_buf | ) |
get public ecdh key
[out] | p_ecdh_key_buf | pointer to key buffer. |
void es_public_ecdh_key_set | ( | uint8_t * | p_ecdh_key_buf | ) |
set public ecdh key
[in] | p_ecdh_key_buf | pointer of key buffer to set. |
void es_security_key_set | ( | uint8_t * | p_security_key, |
bool | is_eid_write | ||
) |
set security key for slot
[in] | p_security_key | pointer to setting key data. |
[in] | is_eid_write | true if the key for EID slot. |
int8_t es_slot_tx_power_get | ( | void | ) |
get advertised tx power of a slot
void es_slot_tx_power_set | ( | int8_t | tx_power | ) |
set advertised tx power of a slot
[in] | tx_power | advertised tx power(dBm). |
sdk_err_t esec_service_init | ( | ble_escs_init_params_t * | p_escs_init | ) |
Initialize Eddystone Configuration Service,and data for the service.
[in] | p_escs_init | pointer to a initializing data structure. |