This group includes all Direct test mode APIs.
Data Structures | |
struct | at_ble_dtm_t |
data type of DMT status and report, "number_of_packets" will be used only in case of receiving the event AT_BLE_LE_PACKET_REPORT after calling the API More... | |
Enumerations | |
enum | at_ble_dtm_payload_type_t { PAYL_PSEUDO_RAND_9 = 0x00, PAYL_11110000, PAYL_10101010, PAYL_PSEUDO_RAND_15, PAYL_ALL_1, PAYL_ALL_0, PAYL_00001111, PAYL_01010101, PAYL_END } |
Direct test mode Transmitter test Packet Payload Type (DTM) More... | |
Functions | |
at_ble_status_t | at_ble_dtm_reset (void) |
pack and send Direct test mode reset command, after calling this API you should wait for AT_BLE_LE_TEST_STATUS event More... | |
at_ble_status_t | at_ble_dtm_rx_test_start (uint8_t frequency_index) |
pack and send Direct test mode RX test start command, after calling this API you should wait for AT_BLE_LE_TEST_STATUS event More... | |
at_ble_status_t | at_ble_dtm_stop_test (void) |
pack and send Direct test mode stop test command, after calling this API you should wait for AT_BLE_LE_PACKET_REPORT event More... | |
at_ble_status_t | at_ble_dtm_tx_test_start (uint8_t frequency_index, uint8_t data_length, at_ble_dtm_payload_type_t payload) |
Pack and send Direct test mode TX test start command, after calling this API you should wait for AT_BLE_LE_TEST_STATUS event. More... | |
Direct test mode Transmitter test Packet Payload Type (DTM)
at_ble_status_t at_ble_dtm_reset | ( | void | ) |
pack and send Direct test mode reset command, after calling this API you should wait for AT_BLE_LE_TEST_STATUS event
at_ble_status_t at_ble_dtm_rx_test_start | ( | uint8_t | frequency_index | ) |
pack and send Direct test mode RX test start command, after calling this API you should wait for AT_BLE_LE_TEST_STATUS event
[in] | frequency_index | frequency index to do RX test on (from 0 to 39) |
at_ble_status_t at_ble_dtm_stop_test | ( | void | ) |
pack and send Direct test mode stop test command, after calling this API you should wait for AT_BLE_LE_PACKET_REPORT event
at_ble_status_t at_ble_dtm_tx_test_start | ( | uint8_t | frequency_index, |
uint8_t | data_length, | ||
at_ble_dtm_payload_type_t | payload | ||
) |
Pack and send Direct test mode TX test start command, after calling this API you should wait for AT_BLE_LE_TEST_STATUS event.
[in] | frequency_index | frequency index to do TX test on (from 0 to 39) |
[in] | data_length | payload length (from 0 to 36) |
[in] | payload | packet payload type (from 0 to 7) |