NRF52 BLEΒΆ
This module implements the NRF52 ble driver for peripheral roles. It can be used for every kind of board based on NRF52832 and has been tested on RedBear boards
The driver is based on NRF52 SDK and can work on Virtual Machines compiled with support for Nordic SoftDevices (S132 in particular).
To use the module expand on the following example:
from nordic.nrf52_ble import nrf52_ble as bledrv
from wireless import ble
bledrv.init()
ble.gap("Zerynth")
ble.start()
while True:
sleep(1000)
# do things here
Note
This version of the driver does not support scanning and custom advertising payload