Versions Compared

Key

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

...

Note

Now that version 4 of Chirpstack has switched to stable mode, there are a few differences compared to version 3:

The actual API has now switched from the Swagger API with UI to gRPC integration, but for compatibility and transition reasons the chirpstack-rest-api can be installed as an additional component. However, experience has shown that there are changes that need to be considered. "deviceQueueItem" became ""queueItem" and by default the API can now be reached on port 8090 and no longer 8080. Here is the above example of how the call should look like with Chirpstack v4:


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



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

...