Links

Connecting a Device

Connecting your first Blecon Device

Objectives

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.

You will need

  1. 1.
    A Blecon Device or Blecon Modem module
  2. 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.

Before you start

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.

Step 1: Create a Blecon Account

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.
Head over to https://console.blecon.net and create an account if you haven't already.

Step 2: Create your Blecon Network

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

Step 3: Connect a device to your network using the developer flow

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, tap on your device.
When using an iPhone model older than iPhone XS, you will need to trigger NFC scanning explicitly, by tapping the NFC icon in control centre
You should see the below:
Device ready to connect
If you are not logged into the Blecon Console on your mobile device you will need to log in to proceed. For more information about device connection and how you can prepare for a production device deployment, see Connecting Devices.
To add another device to the same network, it's as simple as tapping that device and pressing Connect.

Step 4: Check for device requests

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!

Next Steps

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.
To see how we do that, head over to Part Two of this quick start guide, Handling Device Requests.