Originally from Donal's blog article. http://mbed.org/users/donalm/code/BLE_Health_Thermometer_Blog/ Changed low freq. clock source from XTAL to IRC.

Dependents:   BLE_Health_Thermometer_IRC BLE_RCBController_micono_test BLE_konashi_PIO_test BLE_ADT7410_TMP102_Sample ... more

Fork of BLE_API_Native_blog by Donal Morrissey

Embed: (wiki syntax)

« Back to documentation index

ble_dtm.h File Reference

ble_dtm.h File Reference

Go to the source code of this file.

Typedefs

typedef uint32_t dtm_cmd_t
 BLE DTM command codes.
typedef uint32_t dtm_event_t
 BLE DTM event type.
typedef uint32_t dtm_freq_t
 BLE DTM frequency type.
typedef uint32_t dtm_pkt_type_t
 BLE DTM packet types.

Functions

uint32_t dtm_init (void)
 Function for initializing or re-initializing DTM module.
uint32_t dtm_wait (void)
 Function for giving control to dtmlib for handling timer and radio events.
uint32_t dtm_cmd (dtm_cmd_t cmd, dtm_freq_t freq, uint32_t length, dtm_pkt_type_t payload)
 Function for calling when a complete command has been prepared by the Tester.
bool dtm_event_get (dtm_event_t *p_dtm_event)
 Function for reading the result of a DTM command.
bool dtm_set_timer (uint32_t new_timer)
 Function for configuring the timer to use.
bool dtm_set_txpower (uint32_t new_tx_power)
 Function for configuring the transmit power.

Detailed Description

Definition in file ble_dtm.h.