In development.
This project uses BrickBLE to enable the EV3 to communicate bi-directionally with the LEGO SPIKE connectionless Bluetooth network.
The aim of this project is to allow either the EV3 or the SPIKE to function as nodes in a network and communicate with each other through the network.
bricknet.py: The main file containing everything required for BrickNet to run.external_example.py: An example on how to use BrickBLE.bricknet-test-send-receive.py: A testing script to test the sending & receiving functionality of BrickNet.testing-bytes-send-receive.py: Another testing script to test the implemented bytes broadcasting functionality in BrickBLE.brick_ble/*: directory containing the BrickBLE package.spike-scripts/*: directory containing scripts to be uploaded on the LEGO SPIKE.
- Ensure a Bluetooth Low Energy capable dongle is connected to the EV3.
- SSH into the EV3 and copy over the
brick_blefolder,bricknet.pyandbricknet-test-send-receive.py. - Run the testing script using
sudo python3 bricknet-test-send-receive.py
- Ensure Pybricks is installed on the LEGO SPIKE.
- Upload
bricknet.pyandbricknet-test-send-receive-spike.pyto the LEGO SPIKE hub using Pybricks Code. - Run the
bricknet-test-send-receive-spike.pyfile inside Pybricks Code.