Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The downlink via a script via Chirpstack would then look like this:

curl -X POST --header 'Content-Type: application/json' 
--header 'Accept: application/json' 
--header 'Grpc-Metadata-Authorization: 
Bearer xxxxxxxxx_API_KEY_xxxxxxx' -d 
'{ "deviceQueueItem": { "confirmed": false, "data": 
"U01iQ21kPTAgMC8xMCAqICogKiAqOlIsOTYwMCw4TjE6MDEwMzAwMTYwMDAyLDAxMDMwMDI2MDAwMixmYTA0MDAwNTAwMDE=", 
"fPort": 128
 } }' 
'http://192.198.0.101:8080/api/devices/ChirpStack_end_deviceID/queue'


(You should use your own data for the API KEY, your Chirpstack_IP_Adress and your your_ChirpStack_end_deviceID)

See detail Chirpstack Documentation:


ChirpStack http-example


Note
Be sure your number of characters matches the possibilities of your spreading factor
SF 7 = 242 Byte Max Payload, SF 12 = 51 Byte Max Payload