Microchip® Advanced Software Framework

dbg_task.h File Reference
#include "cmn_defs.h"

Macros

#define RPL_POWER_MAX   6
 
#define RPL_POWER_MIN   1
 
#define RPL_PWR_TBL_SIZE   0x0f
 

Enumerations

enum  dbg_evt_id {
  DBG_RD_MEM_CMP_EVT = 0x0c2e,
  DBG_WR_MEM_CMP_EVT,
  DBG_DEL_PARAM_CMP_EVT,
  DBG_RD_PARAM_CMP_EVT,
  DBG_WR_PARAM_CMP_EVT,
  DBG_FLASH_IDENT_CMP_EVT,
  DBG_FLASH_ERASE_CMP_EVT,
  DBG_FLASH_WRITE_CMP_EVT,
  DBG_FLASH_READ_CMP_EVT,
  DBG_RD_KE_STATS_CMP_EVT,
  DBG_TRACE_WARNING_EVT,
  DBG_RF_REG_RD_CMP_EVT,
  DBG_RF_REG_WR_CMP_EVT,
  DBG_PLF_RESET_CMP_EVT,
  DBG_HW_REG_RD_CMP_EVT,
  DBG_HW_REG_WR_CMP_EVT,
  DBG_LE_SET_BD_ADDR_CMP_EVT,
  DBG_LE_SET_TYPE_PUB_CMP_EVT,
  DBG_LE_SET_TYPE_RAND_CMP_EVT,
  DBG_LE_SET_CRC_CMP_EVT,
  DBG_LE_LLCP_DISCARD_CMP_EVT,
  DBG_LE_RESET_RX_CNT_CMP_EVT,
  DBG_LE_RESET_TX_CNT_CMP_EVT,
  DBG_SET_TX_PW_CMP_EVT,
  DBG_LE_GET_BD_ADDR_CMP_EVT =0xc48
}
 
enum  dbg_msg_id {
  DBG_MSG_ID_CMD_FIRST = (uint16_t)(3 << 10),
  DBG_RD_MEM_REQ = DBG_MSG_ID_CMD_FIRST,
  DBG_WR_MEM_REQ,
  DBG_DEL_PARAM_REQ,
  DBG_RD_PARAM_REQ,
  DBG_WR_PARAM_REQ,
  DBG_PLF_RESET_REQ,
  DBG_FLASH_IDENT_REQ,
  DBG_FLASH_ERASE_REQ,
  DBG_FLASH_WRITE_REQ,
  DBG_FLASH_READ_REQ,
  DBG_RD_KE_STATS_REQ,
  DBG_RF_REG_RD_REQ,
  DBG_RF_REG_WR_REQ,
  DBG_HW_REG_RD_REQ,
  DBG_HW_REG_WR_REQ,
  DBG_RF_SET_BLE_GAIN_REQ,
  DBG_LE_SET_BD_ADDR_REQ,
  DBG_LE_SET_TYPE_PUB_REQ,
  DBG_LE_SET_TYPE_RAND_REQ,
  DBG_LE_SET_CRC_REQ,
  DBG_LE_LLCP_DISCARD_REQ,
  DBG_LE_RESET_RX_CNT_REQ,
  DBG_LE_RESET_TX_CNT_REQ,
  DBG_SET_TX_PW_REQ,
  DBG_LE_GET_BD_ADDR_REQ =0xc1a
}
 dbg Task messages More...
 

Functions

at_ble_status_t dbg_le_get_bd_addr_req_handler (uint8_t *addr)
 
at_ble_status_t dbg_le_set_bd_addr_req_handler (uint8_t *addr)
 
at_ble_status_t dbg_rd_mem_req_handler (uint32_t memAddr, uint8_t *data, uint8_t size)
 
at_ble_status_t dbg_rd_mem_req_handler32 (uint32_t memAddr, uint8_t *data, uint8_t size)
 
at_ble_status_t dbg_set_tx_pw_req_handler (uint16_t conn_handle, uint8_t level)
 
at_ble_status_t dbg_wr_mem_req_handler (uint32_t memAddr, uint8_t *data, uint8_t size)
 
at_ble_status_t dbg_wr_mem_req_handler32 (uint32_t memAddr, uint32_t *data, uint8_t size)
 
at_ble_status_t dbg_wr_mem_req_handler32_reset (uint32_t memAddr, uint32_t *data, uint8_t size)
 

#define RPL_POWER_MAX   6
#define RPL_POWER_MIN   1
#define RPL_PWR_TBL_SIZE   0x0f

enum dbg_evt_id
Enumerator
DBG_RD_MEM_CMP_EVT 

Debug events description.

DBG_WR_MEM_CMP_EVT 
DBG_DEL_PARAM_CMP_EVT 
DBG_RD_PARAM_CMP_EVT 
DBG_WR_PARAM_CMP_EVT 
DBG_FLASH_IDENT_CMP_EVT 
DBG_FLASH_ERASE_CMP_EVT 
DBG_FLASH_WRITE_CMP_EVT 
DBG_FLASH_READ_CMP_EVT 
DBG_RD_KE_STATS_CMP_EVT 
DBG_TRACE_WARNING_EVT 
DBG_RF_REG_RD_CMP_EVT 
DBG_RF_REG_WR_CMP_EVT 
DBG_PLF_RESET_CMP_EVT 
DBG_HW_REG_RD_CMP_EVT 
DBG_HW_REG_WR_CMP_EVT 
DBG_LE_SET_BD_ADDR_CMP_EVT 
DBG_LE_SET_TYPE_PUB_CMP_EVT 
DBG_LE_SET_TYPE_RAND_CMP_EVT 
DBG_LE_SET_CRC_CMP_EVT 
DBG_LE_LLCP_DISCARD_CMP_EVT 
DBG_LE_RESET_RX_CNT_CMP_EVT 
DBG_LE_RESET_TX_CNT_CMP_EVT 
DBG_SET_TX_PW_CMP_EVT 
DBG_LE_GET_BD_ADDR_CMP_EVT 
enum dbg_msg_id

dbg Task messages

Enumerator
DBG_MSG_ID_CMD_FIRST 

Debug commands description.

DBG_RD_MEM_REQ 
DBG_WR_MEM_REQ 
DBG_DEL_PARAM_REQ 
DBG_RD_PARAM_REQ 
DBG_WR_PARAM_REQ 
DBG_PLF_RESET_REQ 
DBG_FLASH_IDENT_REQ 
DBG_FLASH_ERASE_REQ 
DBG_FLASH_WRITE_REQ 
DBG_FLASH_READ_REQ 
DBG_RD_KE_STATS_REQ 
DBG_RF_REG_RD_REQ 
DBG_RF_REG_WR_REQ 
DBG_HW_REG_RD_REQ 
DBG_HW_REG_WR_REQ 
DBG_RF_SET_BLE_GAIN_REQ 
DBG_LE_SET_BD_ADDR_REQ 
DBG_LE_SET_TYPE_PUB_REQ 
DBG_LE_SET_TYPE_RAND_REQ 
DBG_LE_SET_CRC_REQ 
DBG_LE_LLCP_DISCARD_REQ 
DBG_LE_RESET_RX_CNT_REQ 
DBG_LE_RESET_TX_CNT_REQ 
DBG_SET_TX_PW_REQ 
DBG_LE_GET_BD_ADDR_REQ 

at_ble_status_t dbg_wr_mem_req_handler32_reset ( uint32_t  memAddr,
uint32_t *  data,
uint8_t  size 
)