Don Coleman of Chariot Solutions maintains the open source cordova-plugin-ble-central custom plugin (blue area in above diagram) that provides a Bluetooth API for scanning, connecting to service characteristics, reading and writing values and characteristic change notification. Examples are provided.
The recent updates provide support for new permissions and API changes in Android 10+. It’s great to see the plugin updated because the problem with many tools and libraries is that they rarely keep up to date with changes in the underlying iOS and Android APIs.
Need to decode a Bluetooth advertising packet? reelyActive have an online web form that decodes wireless advertising packets:
It’s also open source so you can use the code in your own projects.
This beacon has NFC, temperature, battery level and MAG3110 magnetometer sensors, red/green/blue leds, 8 0.1″ pad GPIOs, 9 x SMD GPIOs and an IR transmitter. Unlike other beacons where you can only change pre-defined settings, it’s totally up to you what you make the beacon do and what it advertises. It can obviously be made to advertise Eddystone and iBeacon and any other custom protocol you might wish to invent. You have full access to what is a 64MHz Cortex M4 based computer with sensors, input/output and Bluetooth.
You can get it to connect to other Bluetooth devices, for example other Pucks, single board computers such as the Raspberry Pi or even fitness wearables. It also has 512kB flash, some of which could be used for data logging purposes.
The Puck is programmed via the Espruino Web IDE or a native IDE:
All hardware and software is open source on GitHub helping you to progress your prototypes to production. Buy Puck.js on BeaconZone.
An interesting beacon has appeared on Kickstarter that’s not just technically interesting but has a high likelihood of coming to fruition because it has been created by someone who has already delivered twice on Kickstarter.
Another aspect of the beacon that’s different is that it can act as a Bluetooth master as well as slave. Most beacons are slaves in that things connect to them. The puck beacon can do the connecting and connect to other Bluetooth devices such as other Pucks. This allows for mesh style networking or can be used to cause the beacon behaviour to change depending on the status of other Bluetooth devices in the vicinity.
The hardware, software, libraries and documentation are all Open Source that future-proofs any ideas based on this beacon should the developer be no longer be able to support the product or if your design needs to move outside the original hardware and software scope.
We hope to stock this beacon when it becomes available.