upm  1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
Functions | Macros
Include dependency graph for aci_setup.h:

Go to the source code of this file.


uint8_t do_aci_setup (aci_state_t *aci_stat)
 Setup the nRF8001 device. More...


#define SETUP_SUCCESS   0

Function Documentation

uint8_t do_aci_setup ( aci_state_t *  aci_stat)

Performs ACI Setup by transmitting the setup messages generated by nRFgo Studio to the nRF8001, and should be called when the nRF8001 starts or resets. Once all messages are sent, the nRF8001 will send a Device Started Event. The function requires that the Command queue is empty when it is invoked, and will fail otherwise.

An integer indicating the reason the function terminated

Here is the call graph for this function: