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

hal_aci_tl.h File Reference

hal_aci_tl.h File Reference

Interface for hal_aci_tl. More...

Go to the source code of this file.

Data Structures

struct  _aci_packed_
 aci_cmd_params_set_local_data_t More...
struct  aci_pins_t
 Datatype for ACI pins and interface (polling/interrupt) More...

Typedefs

typedef struct aci_pins_t aci_pins_t
 Datatype for ACI pins and interface (polling/interrupt)

Functions

void hal_aci_tl_init (aci_pins_t *a_pins, bool debug)
 ACI Transport Layer initialization.
bool hal_aci_tl_send (hal_aci_data_t *aci_buffer)
 Sends an ACI command to the radio.
hal_aci_data_t * hal_aci_tl_poll_get (void)
 Process pending transactions.
bool hal_aci_tl_event_get (hal_aci_data_t *p_aci_data)
 Get an ACI event from the event queue.
bool hal_aci_tl_event_peek (hal_aci_data_t *p_aci_data)
 Peek an ACI event from the event queue.
void hal_aci_tl_debug_print (bool enable)
 Enable debug printing of all ACI commands sent and ACI events received.
void hal_aci_tl_pin_reset (void)
 Pin reset the nRF8001.
bool hal_aci_tl_rx_q_full (void)
 Return full status of transmit queue.
bool hal_aci_tl_rx_q_empty (void)
 Return empty status of receive queue.
bool hal_aci_tl_tx_q_full (void)
 Return full status of receive queue.
bool hal_aci_tl_tx_q_empty (void)
 Return empty status of transmit queue.
void hal_aci_tl_q_flush (void)
 Flush the ACI command Queue and the ACI Event Queue.

Detailed Description

Interface for hal_aci_tl.

Definition in file hal_aci_tl.h.