/
Decoding Base64 Packets from REST API (for Multitech Gateways)


Copyright Micropelt

Decoding Base64 Packets from REST API (for Multitech Gateways)

Links to API Reference

Description

Link

Description

Link

General API Reference

https://www.multitech.net/developer/software/mtr-software/mtr-api-reference/

API Reference for LoRa packets (uplinks, downlinks, Join Requests, device list etc.)

https://www.multitech.net/developer/software/mtr-software/mtr-api-reference/collection-endpoints/lora/

Decoding Base64 Packets from REST API

  • Example API Call to view Uplink Messages

  • Request:

192.xx.xx.xx/api/lora/packets/up <Enter your Gateway IP Address>
  • Response:

"code" : 200, "result" : [ { "appeui" : "31-20-03-21-ec-61-07-00", "channel" : 3, "coderate" : "4/5", "commands" : "", "control" : "00", "counter" : "00000023", "created_at" : "2023-05-17T08:42:44Z", "data" : "GykvU1MAhAIAEBs=", "data_size" : 24, "datarate" : "SF7BW125", "dev_addr" : "017b5cb4", "deveui" : "39-33-30-31-77-31-73-13", "frequency" : 867.0999755859375, "gweui" : "00-80-00-00-00-01-8c-8a", "major_version" : 0, "message_type" : 2, "mic" : "f8fddcd8", "modulation" : "LORA", "port" : 1, "rf_chain" : 1, "rssi" : -25, "rx_time" : "2023-05-17T08:42:44Z", "size" : 24, "snr" : 9.5, "tmst" : 1704795635 },