Installing requisite libraries
In this section, we will install the requisite libraries needed for the examples discussed in this chapter involving the Bluetooth, LoRa, and the Sigfox modules. The libraries are all part of the Adafruit CircuitPython bundle. The latest bundle can be downloaded as a ZIP file from https://circuitpython.org/libraries. We used the bundle version meant for CircuitPython 6.x.x.
After downloading the ZIP file, extract the contents so that we can copy the libraries we need for the project.
Adafruit Bluefruit LE SPI Friend
We will refer to the Adafruit Bluefruit LE SPI Friend (shown in the following photo) as the Bluetooth module for the rest of this chapter:
The Bluetooth module has the adafruit_bus_device
and adafruit_bluefruitspi
dependencies. From the library bundle, copy over the adafruit_bus_device
folder and the adafruit_bluefruitspi.mpy
binary to the lib
folder of...