Retrieve a device's identity
In order to register devices with your network, you need to retrieve their identity. This page list common methods for doing so.
Printing the device's identity
Use blecon_get_identity() to read the device's identity at start-up, and write it to a serial port (or RTT, SWO, etc). Use blecon_get_url() to retrieve and print the device's URL which contains its identifier.
NFC
If your device has a NFC antenna fitted, you can read the device's URL using a NFC-enabled smartphone or reader.
Announcements
If your device has input capability (such as a button), you can have the device announce its identity to nearby hotspots on a specific input sequence. Apps can listen for announcements using the "identify" button. To trigger the announcement on the device, use blecon_announce().
Last updated