Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 3.22 KB

File metadata and controls

81 lines (56 loc) · 3.22 KB

Adding a device codec to the server

To add a device codec to the server ChirpStack follow the steps:

  1. Go to the "devices" folder

  2. Go to the folder with the target device name

  3. Go to the "scripts" folder and open the file with current version of the script

  4. Select the file content and copy to clipboard

  5. Open the ChirpStack server in a browser and go to the "Device-profiles" menu

  1. Click on the target device profile name

  1. Go to the "CODEC" tab

  1. Select "Custom JavaScript codec functions" in the "Payload codec" field

  1. Paste the content of the script file in the Decode function input area

  1. Click on the "UPDATE DEVICE-PROFILE" button

Viewing the decoded data

To View the decoded data follow the steps:

  1. Go to the "Applications" menu

  1. Click on the application name, which include the target device

  1. Click on the device name

  1. Go to the "DEVICE DATA" tab

Messages received from the device will be displayed in the opened list.

Message content will display, by click on the message. Decoded data will display in objectJSON field.

Supported devices list