eventos 13
TRANSCRIPT
-
7/25/2019 eventos 13
1/2
/** * Invalid event code */ ACI_EVT_INVALID = 0x00,/** * Sent every time the device starts
*/ ACI_EVT_DEVICE_STARTED = 0x81,/** * Mirrors the ACI_CMD_ECHO */ ACI_EVT_ECHO = 0x82,/** * Asynchronous hardware error event */ ACI_EVT_HW_ERROR = 0x83,/** * Event opcode used as a event response for all commands */ ACI_EVT_CMD_RSP = 0x84,/** * Link connected */ ACI_EVT_CONNECTED = 0x85,/** * Link disconnected */ ACI_EVT_DISCONNECTED = 0x86,/**
* Bond completion result */ ACI_EVT_BOND_STATUS = 0x87, /** * Pipe bitmap for available pipes */ ACI_EVT_PIPE_STATUS = 0x88,/** * Sent to the application when the radio enters a connected state * or when the timing of the radio connection changes */ ACI_EVT_TIMING = 0x89,
/** * Notification to the application that transmit credits are * available */ ACI_EVT_DATA_CREDIT = 0x8A,/** * Data acknowledgement event */
-
7/25/2019 eventos 13
2/2
ACI_EVT_DATA_ACK = 0x8B,/** * Data received notification event */ ACI_EVT_DATA_RECEIVED = 0x8C,/**
* Error notification event */ ACI_EVT_PIPE_ERROR = 0x8D,/** * Display Passkey Event */ ACI_EVT_DISPLAY_PASSKEY = 0x8E,/** * Security Key request */ ACI_EVT_KEY_REQUEST = 0x8F
} _aci_packed_ aci_evt_opcode_t;
ACI_ASSERT_SIZE(aci_evt_opcode_t, 1);
/*** @struct aci_evt_params_device_started_t* @brief Structure for the ACI_EVT_DEVICE_STARTED event return parameters*/typedef struct
{ aci_device_operation_mode_t device_mode; /**< Mode in which the device is being started */
aci_hw_error_t hw_error; /**< Hardware Error if available for the start */ uint8_t credit_available; /**< Flow control credit available for this specific FW build */} _aci_packed_ aci_evt_params_device_started_t;
ACI_ASSERT_SIZE(aci_evt_params_device_started_t, 3);
/*** @struct aci_evt_params_hw_error_t* @brief Structure for the ACI_EVT_HW_ERROR event return parameters*/typedef struct
{
uint16_t line_num; uint8_t file_name[20];