nRF51 SDK
|
SDM TX module interface. More...
Functions | |
uint32_t | sdm_tx_init (void) |
Initialize/Reset the SDM module. More... | |
uint32_t | sdm_tx_next_page_num_get (uint8_t *p_next_page) |
Get next page number to broadcast. More... | |
uint32_t | sdm_tx_broadcast_data_set (uint8_t page_number, uint8_t *p_message) |
Set the broadcast data for next message. More... | |
uint32_t | sdm_tx_sensor_data_update (void) |
Update SDM data. More... | |
uint32_t | sdm_tx_log (uint8_t *p_message) |
Log activity on UART, GPIO or None. More... | |
uint32_t sdm_tx_init | ( | void | ) |
uint32_t sdm_tx_next_page_num_get | ( | uint8_t * | p_next_page | ) |
[out] | p_next_page | A pointer to a variable holding the next page to be broadcast. |
uint32_t sdm_tx_broadcast_data_set | ( | uint8_t | page_number, |
uint8_t * | p_message | ||
) |
[in] | page_number | The page number to prepare data for. |
[out] | p_message | The data buffer containing the next message. |
uint32_t sdm_tx_sensor_data_update | ( | void | ) |
uint32_t sdm_tx_log | ( | uint8_t * | p_message | ) |
[in] | p_message | The content of the message we want to log. |