Connecting the Device
Blecon allows you to quickly connect Bluetooth devices to your web application's API in a secure and scalable way.
In this quickstart, you will sign up to Blecon, create a Blecon Network, connect a Blecon Device and get ready to route device requests to your application.
Keep in mind that this device comes with a developer-oriented connection flow, not one intended for production usage.
When you build Blecon into your product, you can create a connection flow to suit your requirements. To find out more, see Device Connection.
- 1.A Blecon Device or Blecon Modem module
- 2.Your mobile device
Blecon routes requests from Bluetooth devices to your web application. To start seeing some requests, you'll need a device. It doesn't matter which device you have - all Blecon devices work the same way.
On your mobile device, head over to https://blecon.app and install the app. The Blecon App creates coverage for Blecon Devices with any phone it is installed on.
To get started, you'll need a Blecon Account. A Blecon Account is where you will define your Blecon Network and configure the connection to your application API.
Blecon Devices are connected to a Blecon Network. A Blecon Network defines a relationship between Devices and your web application. Click Create Network and then give your network a name.
Your Blecon Network
Open your camera app on your smartphone and scan the Network QR code you see on the network details page. Make sure you scan your own QR code, not the one above. You will then see the below on your mobile device.
The Blecon Scanner
This is the Blecon Scanner. We use it to connect devices to a network. Once you scan a network, you will see that it is configured for that network.
Next, open the Blecon App and press the Identify Device button
You should see the below:
Identifying device using the Blecon App
Now press the button on the device. If you are not yet logged into the Blecon Console on your mobile device you will need to log in to proceed.
To connect the device, confirm the connection via the prompt that appears in the Blecon Console.
Note that in a real-world deployment, it is expected that your own Connection Handler would be used here, not the Blecon Console. For more information about device connection and how you can prepare for a production device deployment, see Connecting Devices.
After your device is connected to your network, you should start seeing requests on the Live Network Activity Window on the network details page:
Your first request
Your device is now connected!
You will notice that although your Blecon Network has received a request, the request is not successful. That's because we haven't connected your network to your application handler yet.