TLM

nRF5 SDK v15.0.0

Functions for the Eddystone telemetry (TLM) manager. More...

Functions

void es_battery_voltage_init (void)
Function for initializing the battery voltage module.
void es_battery_voltage_get (uint16_t *p_vbatt)
Function for reading the battery voltage. More...
void es_tlm_init (void)
Function for initializing the TLM manager. More...
void es_tlm_tlm_get ( es_tlm_frame_t *p_tlm_frame)
Function for getting the current TLM. More...
void es_tlm_adv_cnt_inc (void)
Function for incrementing the ADV_CNT field of the TLM frame. More...

Detailed Description

Functions for the Eddystone telemetry (TLM) manager.

Function Documentation

void es_battery_voltage_get ( uint16_t * p_vbatt )

Function for reading the battery voltage.

Parameters
[out] p_vbatt Pointer to the battery voltage value.
void es_tlm_adv_cnt_inc ( void )

Function for incrementing the ADV_CNT field of the TLM frame.

This function should be called every time a frame is advertised.

void es_tlm_init ( void )

Function for initializing the TLM manager.

Returns
See app_timer_start for possible return values.
void es_tlm_tlm_get ( es_tlm_frame_t * p_tlm_frame )

Function for getting the current TLM.

Parameters
[in] p_tlm_frame Pointer to the TLM frame to which the frame is retrieved.