It is the Nordic nRF8001 BLE library for RedBearLab BLE Shield v2.1 or above. It is compatible with the platforms those soldered Arduino compatible form factor. The library is ported to mbed from Sandeep's arduino-BLEPeripheral library for Arduino: https://github.com/sandeepmistry/arduino-BLEPeripheral. We have tested it on KL05, KL25, MK20 and SeeedStudio Arch platforms and it works well.

Dependents:   nRF8001_SimpleChat nRF8001_SimpleControls mbed_BLE2 mbed_BLEtry2 ... more

Embed: (wiki syntax)

« Back to documentation index

_aci_packed_ Struct Reference

_aci_packed_ Struct Reference
[acihal_aci_tlLib_aci]

aci_cmd_params_set_local_data_t More...

#include <aci_cmds.h>

Data Fields

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
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.
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.

Detailed Description

aci_cmd_params_set_local_data_t

Data type for ACI commands and events.

aci_cmd_params_broadcast_t

aci_cmd_params_open_adv_pipe_t

aci_cmd_params_set_key_t

aci_cmd_params_set_app_latency_t

aci_cmd_params_send_data_nack_t

aci_cmd_params_send_data_ack_t

aci_cmd_params_bond_t

Structure for the ACI_CMD_SET_LOCAL_DATA ACI command parameters

Structure for the ACI_CMD_BOND ACI command parameters

Structure for the ACI_CMD_SEND_DATA_ACK ACI command parameters

Structure for the ACI_CMD_SEND_DATA_NACK ACI command parameters

Structure for the ACI_CMD_SET_APP_LATENCY ACI command parameters

Structure for the ACI_CMD_SET_KEY ACI command parameters

Structure for the ACI_CMD_OPEN_ADV_PIPE ACI command parameters

Structure for the ACI_CMD_BROADCAST ACI command parameters

Definition at line 263 of file aci.h.


Field Documentation

uint16_t adv_interval

16 bits of advertising interval for general discovery

Definition at line 247 of file aci_cmds.h.

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.

Definition at line 405 of file aci_cmds.h.

aci_status_code_t cmd_status

Status of the command that was sent.

Used in the context of the command.

Definition at line 210 of file aci_evts.h.

uint16_t conn_rf_interval

rf_interval = conn_rf_interval * 1.25 ms Range:0x0006 to 0x0C80

Definition at line 233 of file aci_evts.h.

uint16_t conn_rf_timeout

Timeout as a multiple of 10ms i.e timeout = conn_rf_timeout * 10ms Range: 0x000A to 0x0C80.

Definition at line 235 of file aci_evts.h.

Number of RF events the slave can skip.

Definition at line 234 of file aci_evts.h.

Flow control credit available for this specific FW build.

Definition at line 120 of file aci_evts.h.

aci_device_operation_mode_t device_mode

Mode in which the device is being started.

Definition at line 118 of file aci_evts.h.

aci_device_output_power_t device_power

enum aci_device_output_power_t

Definition at line 281 of file aci_cmds.h.

aci_hw_error_t hw_error

Hardware Error if available for the start.

Definition at line 119 of file aci_evts.h.

uint8_t len

Length of the ACI command.

Definition at line 404 of file aci_cmds.h.

aci_clock_accuracy_t master_clock_accuracy

Clock accuracy of Bluetooth master: Enumerated list of values from 500 ppm to 20 ppm.

Definition at line 236 of file aci_evts.h.

Maximum connection interval requested from peer.

Definition at line 269 of file aci.h.

Minimum connection interval requested from peer.

Definition at line 265 of file aci.h.

aci_disconnect_reason_t reason

enum aci_disconnect_reason_t

Definition at line 270 of file aci_cmds.h.

uint16_t slave_latency

Connection interval latency requested from peer.

Definition at line 273 of file aci.h.

aci_test_mode_change_t test_mode_change

enum aci_test_mode_change_t

Definition at line 183 of file aci_cmds.h.

uint16_t timeout

0x0000 (no timeout) to 0x3FFF

Definition at line 246 of file aci_cmds.h.

uint16_t timeout_mult

Link supervisor timeout multiplier requested from peer.

Definition at line 275 of file aci.h.