Use the Blecon Modem from the Blecon CLI

Communicating from your PC to the Blecon Modem

The Blecon CLI tool is a command-line tool for interacting with the Blecon network and attached modems from your Linux, Mac or Windows computer. With the CLI you can get information about attached Blecon modems as well as send and receive messages from the Blecon network.

By giving access to the full functionality of the Blecon modem, the Blecon CLI turns your computer into a Blecon device. This can be helpful for prototyping software that uses the Blecon modem or testing the web endpoints that will handle messages from your devices.

Download and run the CLI tool



  1. Download and extract the application for your platform. Note where you extracted the blecon_cli.exe application file.

  2. Launch a command prompt. Press the Windows key + R, type "cmd", and press Enter. This will open a Command Prompt window.

  3. Use the cd command to navigate to the directory where you saved the blecon_cli.exe application file

  4. Type .\blecon_cli.exe to run the tool and see a list of supported commands

  5. (Optional) Copy or move blecon_cli.exe to a more convenient location on your machine.

Use the CLI tool to get your modem's ID

For this step to succeed you will need to have set up and connected a Blecon Modem to your computer

Run the CLI tool with the get-identity subcommand to print out your modem's ID. Your modem ID gives your computer a unique identity on the Blecon network.

You will see output that looks like the following (output from Linux)

$ ./blecon_cli get-identity
Device Id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

You now have a fully-working Blecon CLI and modem on your computer!

Next Steps

Last updated