This project contains micropython implementations to interact with BLE with contact tracing devices.
These instructions will get you a copy of the project up and running on your eps32 board for development and testing purposes.
To play with this software you neeed:
-
An Expressif ESP32 board;
-
to fullfill requirements for micropython for esp32:
- Micropython on the board, see here
- esptool
- A local version of Python3 with pyserial library
- A bash shell (Linux/Mac/Windows with Git Bash)
./setup.sh <serial>
where <serial>
is the name of your serial device.
You can now run the tools by name with:
./run.sh <tool> [-f] args...
where
<tool>
is the name of the script intools
without.py
-f
follow the output indefinitely (press ^C to interrupt)- you can pass multiple args as strings (but do not put single quotes in it!)
args are then available inside the script in the array args
as strings, and args[0] is the script name.
This simple tool scan for BLE advertising and output some information to help beacon analysis.
usage: ./run.sh bleSniffer -f 2000
the 2000
is the number of milliseconds it must be listening.
Please read (italian) help us for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning.