Developer
Ask a QuestionBlecon WebsiteBlecon Console
  • Learn Blecon
    • Introduction
    • Blecon Modems
      • Device Identity and Network Security
      • Modem Firmware vs Modem Library
      • Using the Modem
      • Communicating with the cloud
      • Sending data from the cloud to a device
      • Network Time
    • Blecon Hotspots
    • Blecon Networks
      • Blecon Accounts
      • Registering devices
        • The Blecon Scanner
        • Blecon Scanner Developer Guide
      • Blecon Events
      • Cloud Integrations
  • Cloud Integrations
    • Webhook
    • AWS S3
    • AWS SQS
    • AWS EventBridge
    • Memfault
  • Getting Started Guides
    • Getting started index
    • Install the Blecon Modem Firmware
    • Set up a Blecon Hotspot
    • Use Blecon from your computer with the Blecon CLI
    • Create a Network and register a device
    • Send device requests and events to your web service
    • Use Blecon from a Development Board
    • Use the Blecon Modem from an MCU
    • Perform an OTA Update With Memfault
  • Device Guides
    • KKM S5-BCN
  • Development Board Guides
    • Supported Development Boards
    • Ezurio DVK-BL54L15
    • Fanstel EV-BM15C
    • InsightSiP ISP2454-LX-EB
    • Nordic nRF52840DK
    • Nordic nRF54L15DK
    • Minew ME54BE01
    • Panasonic PAN-B511 EVB
    • Raytac AN54L15Q-DB
    • u-Blox EVK-NORA-B20
  • Modem Reference
    • Modem Firmware Releases
      • nRF54L15 DK
      • nRF52840 Dongle
      • nRF52840 DK
    • CLI Releases
    • SDK Releases
    • Modem API Reference
    • Modem Protocol Reference
      • Request Frames
      • Command Protocol
      • UART Transport
    • Guides and best practices
      • Retrieve a device's identity
  • Cloud Reference
    • Configuration API
    • Advanced event routing
  • Hotspot Reference
    • Blecon Hub
Powered by GitBook

Get Support

  • Ask a question
On this page
  • Devboard Demo App
  • Setup Your Development Board and Flash the Demo Application
  • Operation with On-board Buttons
  • Ping
  • Announce
  • Advanced commands from the UART Shell
  • Supported commands
  • Sending Requests
  1. Getting Started Guides

Use Blecon from a Development Board

Flash a Blecon demonstration application on your development board and use it to send data to the network and test other Blecon features

PreviousSend device requests and events to your web serviceNextUse the Blecon Modem from an MCU

Last updated 2 months ago

Devboard Demo App

The Blecon Devboard Demo App is firmware that can be flashed to a range of development boards to test out many of Blecon's capabilities including:

  • Sending data to the cloud and receiving responses

  • Receiving associated with the board from the Blecon Network

  • Viewing the location information about the board

  • Reading the board's Blecon Device ID with the

Once flashed, the Devboard Demo App can be used in standalone mode with the buttons and LEDs on the development board itself. Additional functionality can be accessed if the development board is connected to a computer over a UART link.

Setup Your Development Board and Flash the Demo Application

Consult the list of and follow the setup guide for the board you are using.

Operation with On-board Buttons

When the application is flashed and successfully running, the Status LED will briefly flash once every 2 seconds.

Using buttons on the development board you can perform the following activities

  • ping connects the board to the Blecon network, sends data, and waits for the reply before disconnecting

  • announce makes the board's Blecon ID available to the , allowing you to register the board to a Blecon Network or to view information about the device in the Blecon Console.

Ping

When you press the ping button the Status LED will flash more quickly indicating the board is searching for a connection. Once connected, the LED will become solid to indicate a connection has been made. When the connection ends, the LED will return to the default flashing pattern.

Announce

When you press the announce button, the board will announce its Blecon Device ID to a Blecon Scanner. Once scanned, if the device is in one of your Blecon Networks, you can view information about the device in the Blecon Console.

Advanced commands from the UART Shell

You can also connect your development board's UART to your computer to access the DevBoard Demo application's command shell. The command shell allow you to use a command line interface to access more advanced functionality.

Supported commands

  • blecon ping - Identical to pressing the ping button, but will additionally print ping statistics such as the time it took to make a connection and the round trip time to the Blecon Service.

  • blecon announce - Identical to pressing the announce button

  • blecon get-device-id - Prints the development board's Blecon Device ID

  • blecon get-device-url - Prints the development board's Blecon Device ID

  • blecon request - Sends data to the Blecon network and wait for a response

  • blecon help - List supported commands

Sending Requests

The blecon request command used with out any additional options sends the message Hello from <BOARD NAME> to the echo integration in the Blecon Network. The echo integration will reply with the same message.

You can customise the message sent by adding your custom text after the command.

nrf54l15dk:~$ blecon request "a custom message to echo back"
Connected, sending request.
Data sent
Response:
a custom message to echo back
Request complete
nrf54l15dk:~$ blecon request -n demo -m post "a custom message"

The will detail which LED on your board corresponds to the Status LED which buttons correspond to the ping and announce functions.

The will detail how to open a UART connection to your development board. Use your preferred serial port monitor to connect to the UART of your development board.

Additionally, the -n and -m options can be added to construct a request with a specific namespace and method. You can use the namespace and method to .

board-specific guide for your development board
board-specific guide for your development board
route messages to your custom integrations
events
Blecon Scanner
Blecon Scanner
If the Development Board's device ID is registered to one of your Blecon Networks you can see information about that board in the Blecon Console.
supported development boards