upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
Structure for the ACI_CMD_SET_LOCAL_DATA ACI command parameters. More...
Structure for the ACI_CMD_BROADCAST ACI command parameters.
Structure for the ACI_CMD_OPEN_ADV_PIPE ACI command parameters.
Structure for the ACI_CMD_SET_KEY ACI command parameters.
Structure for the ACI_CMD_SET_APP_LATENCY ACI command parameters.
Structure for the ACI_CMD_SEND_DATA_NACK ACI command parameters.
Structure for the ACI_CMD_SEND_DATA_ACK ACI command parameters.
Structure for the ACI_CMD_BOND ACI command parameters.
aci_cmd_params_set_local_data_t
aci_cmd_params_bond_t
aci_cmd_params_send_data_ack_t
aci_cmd_params_send_data_nack_t
aci_cmd_params_set_app_latency_t
aci_cmd_params_set_key_t
aci_cmd_params_open_adv_pipe_t
aci_cmd_params_broadcast_t
Data type for ACI commands and events
Data Fields | |
uint16_t | min_conn_interval |
uint16_t | max_conn_interval |
uint16_t | slave_latency |
uint16_t | timeout_mult |
uint8_t | pipe_number |
aci_test_mode_change_t | test_mode_change |
uint8_t | echo_data [ACI_ECHO_DATA_MAX_LEN] |
uint8_t | cmd_msb |
uint8_t | cmd_lsb |
uint8_t | setup_data [1] |
uint8_t | seq_no |
uint8_t | dynamic_data [1] |
aci_tx_data_t | tx_data |
uint16_t | timeout |
uint16_t | adv_interval |
aci_disconnect_reason_t | reason |
aci_device_output_power_t | device_power |
aci_ll_conn_params_t | conn_params |
uint8_t | error_code |
aci_app_latency_mode_t | mode |
uint16_t | latency |
aci_key_type_t | key_type |
union { | |
uint8_t passkey [6] | |
uint8_t oob_key [16] | |
} | key |
uint8_t | pipes [8] |
uint8_t | len |
aci_cmd_opcode_t | cmd_opcode |
union { | |
aci_cmd_params_test_t test | |
aci_cmd_params_echo_t echo | |
aci_cmd_params_dtm_cmd_t dtm_cmd | |
aci_cmd_params_setup_t setup | |
aci_cmd_params_write_dynamic_data_t write_dynamic_data | |
aci_cmd_params_set_local_data_t set_local_data | |
aci_cmd_params_connect_t connect | |
aci_cmd_params_bond_t bond | |
aci_cmd_params_disconnect_t disconnect | |
aci_cmd_params_set_tx_power_t set_tx_power | |
aci_cmd_params_change_timing_t change_timing | |
aci_cmd_params_open_remote_pipe_t open_remote_pipe | |
aci_cmd_params_send_data_t send_data | |
aci_cmd_params_send_data_ack_t send_data_ack | |
aci_cmd_params_request_data_t request_data | |
aci_cmd_params_send_data_nack_t send_data_nack | |
aci_cmd_params_set_app_latency_t set_app_latency | |
aci_cmd_params_set_key_t set_key | |
aci_cmd_params_open_adv_pipe_t open_adv_pipe | |
aci_cmd_params_broadcast_t broadcast | |
aci_cmd_params_close_remote_pipe_t close_remote_pipe | |
} | params |
aci_device_operation_mode_t | device_mode |
aci_hw_error_t | hw_error |
uint8_t | credit_available |
uint16_t | line_num |
uint8_t | file_name [20] |
uint8_t | evt_msb |
uint8_t | evt_lsb |
uint16_t | configuration_id |
uint8_t | setup_format |
uint32_t | setup_id |
uint8_t | setup_status |
uint8_t | bd_addr_own [BTLE_DEVICE_ADDRESS_SIZE] |
aci_bd_addr_type_t | bd_addr_type |
uint16_t | battery_level |
int16_t | temperature_value |
aci_status_code_t | cmd_status |
union { | |
aci_evt_cmd_rsp_params_dtm_cmd_t dtm_cmd | |
aci_evt_cmd_rsp_read_dynamic_data_t read_dynamic_data | |
aci_evt_cmd_rsp_params_get_device_version_t get_device_version | |
aci_evt_cmd_rsp_params_get_device_address_t get_device_address | |
aci_evt_cmd_rsp_params_get_battery_level_t get_battery_level | |
aci_evt_cmd_rsp_params_get_temperature_t get_temperature | |
uint8_t padding [29] | |
} | params |
aci_bd_addr_type_t | dev_addr_type |
uint8_t | dev_addr [BTLE_DEVICE_ADDRESS_SIZE] |
uint16_t | conn_rf_interval |
uint16_t | conn_slave_rf_latency |
uint16_t | conn_rf_timeout |
aci_clock_accuracy_t | master_clock_accuracy |
uint8_t | btle_status |
aci_bond_status_code_t | status_code |
aci_bond_status_source_t | status_source |
uint8_t | secmode1_bitmap |
uint8_t | secmode2_bitmap |
uint8_t | keys_exchanged_slave |
uint8_t | keys_exchanged_master |
uint8_t | pipes_open_bitmap [8] |
uint8_t | pipes_closed_bitmap [8] |
uint8_t | credit |
aci_rx_data_t | rx_data |
uint8_t | content [1] |
union { | |
error_data_t error_data | |
} | params |
aci_evt_opcode_t | evt_opcode |
union { | |
aci_evt_params_device_started_t device_started | |
aci_evt_params_echo_t echo | |
aci_evt_params_hw_error_t hw_error | |
aci_evt_params_cmd_rsp_t cmd_rsp | |
aci_evt_params_connected_t connected | |
aci_evt_params_disconnected_t disconnected | |
aci_evt_params_bond_status_t bond_status | |
aci_evt_params_pipe_status_t pipe_status | |
aci_evt_params_timing_t timing | |
aci_evt_params_data_credit_t data_credit | |
aci_evt_params_data_ack_t data_ack | |
aci_evt_params_data_received_t data_received | |
aci_evt_params_pipe_error_t pipe_error | |
aci_evt_params_display_passkey_t display_passkey | |
aci_evt_params_key_request_t key_request | |
} | params |
uint8_t | status_byte |
uint8_t | buffer [HAL_ACI_MAX_LENGTH+1] |
uint8_t | debug_byte |
aci_evt_t | evt |
uint16_t min_conn_interval |
Minimum connection interval requested from peer
uint16_t max_conn_interval |
Maximum connection interval requested from peer
uint16_t slave_latency |
Connection interval latency requested from peer
uint16_t timeout_mult |
Link supervisor timeout multiplier requested from peer
aci_test_mode_change_t test_mode_change |
enum aci_test_mode_change_t
uint16_t timeout |
0x0000 (no timeout) to 0x3FFF
uint16_t adv_interval |
16 bits of advertising interval for general discovery
aci_disconnect_reason_t reason |
enum aci_disconnect_reason_t
aci_device_output_power_t device_power |
enum aci_device_output_power_t
uint8_t len |
Length of the ACI command
aci_cmd_opcode_t cmd_opcode |
enum aci_cmd_opcode_t -> Opcode of the ACI command
Command opcode for which the event response is being sent
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_status_code_t cmd_status |
Status of the command that was sent. Used in the context of the command.
uint16_t conn_rf_interval |
rf_interval = conn_rf_interval * 1.25 ms Range:0x0006 to 0x0C80
uint16_t conn_slave_rf_latency |
Number of RF events the slave can skip
uint16_t conn_rf_timeout |
Timeout as a multiple of 10ms i.e timeout = conn_rf_timeout * 10ms Range: 0x000A to 0x0C80
aci_clock_accuracy_t master_clock_accuracy |
Clock accuracy of Bluetooth master: Enumerated list of values from 500 ppm to 20 ppm