pyupm_nrf8001 module¶
-
pyupm_nrf8001.
init_local_interfaces
(aci, reqn, rdyn, rst)[source]¶ void init_local_interfaces(aci_state_t *aci, uint8_t reqn, uint8_t rdyn, uint8_t rst)
NRF8001 Bluetooth Low Energy library.
ID: nrf8001
Name: Bluetooth Low Energy (BLE) Module
Category: wifi
Manufacturer: adafruit
Link:https://learn.adafruit.com/getting-started-with-the- nrf8001-bluefruit- le-breakout/introduction
Connection: spi gpio analog These files define the NRF8001 interface for lib-nrf8001. Interaction with this device is done through the ACI routines included with the library. You can use the nRF UART app in Apple* App Store and Google* Play* on Samsung* Galaxy S*4 running Android* 4.3 to interact with a microcontroller running the ‘hello world’ example.
Include the services_lock.h to put the setup in the OTP memory of the nRF8001. This would mean that the setup cannot be changed once put in. However this removes the need to do the setup of the nRF8001 on every reset.
Tell the ACI library, the MCU to nRF8001 pin connections. The Active pin is optional and can be marked UNUSED