How It Works
The project involves two laptops, each connected to a BleuIO USB dongle. For simplicity, we designate one laptop as User 1 (Central role) and the other as User 2 (Peripheral role). Here’s a high-level breakdown of the workflow:
Setup:
Each laptop runs a script to initialize its BleuIO dongle. User 1 starts in a dual role and acts as the central device. User 2 also sets its dongle in a dual role but begins advertising itself.
Connection:
Once User 2 starts advertising, it displays its MAC address. User 1 uses this MAC address to connect to User 2.
Messaging:
After establishing a connection, the users can send and receive messages in real time. The communication is direct and local, with no reliance on external servers.
Details of this project will be found at
https://www.bleuio.com/blog/creating-a-ble-chat-application-using-bleuio-usb-dongle/