nRF24 / CircuitPython_nRF24L01

CircuitPython driver library for the nRF24L01 transceiver.
http://circuitpython-nrf24l01.rtfd.io/
MIT License
45 stars 11 forks source link

fake BLE beacon implementation #16

Closed 2bndy5 closed 3 years ago

2bndy5 commented 3 years ago

This PR is meant to update my lit-beta branch with the fake_ble.py module I got working (send advertisements only) includes 1 example and changes to docs.

2bndy5 commented 3 years ago

I'm making an executive decision in the way of forwards progress. Receiving BLE beacon advertisements may be possible via end-user because the FakeBLE.whiten(), crc24_ble(), and reverse_bits() are publicly exposed in the fake_ble.py module. However, this has not tested... yet. For reference, one can look to the source code in the Arduino library named "BTLE" (available in the Arduino library manager also) that uses the TMRh20 Arduino library as a dependency.