Skip to content

Pixl.js Bluetooth to Ethernet MQTT Bridge

Pixl.js Bluetooth to Ethernet MQTT Bridge

Project description

This is just a very simple example of using Puck.js to send received Bluetooth LE advertising packets over MQTT to a server. Just wire up an Arduino WIZnet adaptor?as shown on this page?then upload the following code with the?MQTTSERVER?variable set to the IP address of a server running a (non-HTTPS) MQTT server. To view the received packets, you can run a command such as this if you have the Mosquitto tools installed on your PC: mosquitto_sub -h 192.168.1.70 -v -t "/advertise" NOTE:?This is a simple example and isn't designed to deal with a large volume of advertising packets. To make this…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.