BLE_API v2.1.3

Functions
BLE DTM Function
BLE DTM

## Functions
void | BleDTM_Isr (void)
BleDtmStatus | BleDTM_init (void)
void | BleDTM_radio_process (void)
uint32_t | BleDTM_timerCount_update (void)
uint32_t | BleDTM_cmd_process (uint16_t command)
uint8_t | BleDTM_event_get (uint32_t *dtm_event)
uint8_t | BleDTM_gui_rssiFlag_get (void)
| Function for Get the RSSI flag. More...

## Detailed Description

DTM Functions.

## Function Documentation

## ◆ BleDTM_cmd_process()

uint32_t BleDTM_cmd_process | ( | uint16_t | command | ) |

Function for splitting UART command bit fields into separate command parameters for the DTM library.

Parameters

  [in] | command | : The packed UART command.

Returns
  result status.

## ◆ BleDTM_event_get()

uint8_t BleDTM_event_get | ( | uint32_t * | dtm_event | ) |

Function for reading the result of a DTM command.

Parameters

  [out] | p_dtm_event | : Pointer to buffer for 16 bit event code according to DTM standard.

Returns
  Checking result.

Return values

  0 | no event since last call.
  1 | new event.

## ◆ BleDTM_gui_rssiFlag_get()

uint8_t BleDTM_gui_rssiFlag_get | ( | void |  | ) |

Function for Get the RSSI flag.

Returns
  Checking result.

Return values

  0 | no No RSSI value provided.
  1 | the last RSSI value will be provided after BleDTM_EventGet.

## ◆ BleDTM_init()

BleDtmStatus BleDTM_init | ( | void |  | ) |

Function for initializing DTM module.

Return values

  BLEDTM_ERROR_ILLEGAL_CONFIGURATION | : Invalid configurations.
  BLEDTM_SUCCESS | : Setting success.

## ◆ BleDTM_Isr()

void BleDTM_Isr | ( | void |  | ) |

Function for handle BLE stack interrupt.

## ◆ BleDTM_radio_process()

void BleDTM_radio_process | ( | void |  | ) |

Function for handle radio control process.

## ◆ BleDTM_timerCount_update()

uint32_t BleDTM_timerCount_update | ( | void |  | ) |

Function for get current timer counter.

Returns
  timer counter.