added debugging

Fork of BLE_nRF8001 by RedBearLab

Embed: (wiki syntax)

« Back to documentation index

hal_aci_tl.cpp File Reference

hal_aci_tl.cpp File Reference

Implementation of the ACI transport layer module. More...

Go to the source code of this file.

Functions

static void m_aci_pins_set (aci_pins_t *a_pins_ptr)
 Point the low level library at the ACI pins specified.
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_event_peek (hal_aci_data_t *p_aci_data)
 Peek an ACI event from the event queue.
bool hal_aci_tl_event_get (hal_aci_data_t *p_aci_data)
 Get an ACI event from the event queue.
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 *p_aci_cmd)
 Sends an ACI command to the radio.
bool hal_aci_tl_rx_q_empty (void)
 Return empty status of receive queue.
bool hal_aci_tl_rx_q_full (void)
 Return full status of transmit queue.
bool hal_aci_tl_tx_q_empty (void)
 Return empty status of transmit queue.
bool hal_aci_tl_tx_q_full (void)
 Return full status of receive queue.
void hal_aci_tl_q_flush (void)
 Flush the ACI command Queue and the ACI Event Queue.

Detailed Description

Implementation of the ACI transport layer module.

Definition in file hal_aci_tl.cpp.


Function Documentation

static void m_aci_pins_set ( aci_pins_t a_pins_ptr ) [static]

Point the low level library at the ACI pins specified.

The ACI pins are specified in the application and a pointer is made available for the low level library to use

Definition at line 180 of file hal_aci_tl.cpp.