This client is used by the Thin application server for interacting with Chirpstack and FUOTA server.
-
Create and Set env variables in
.env
file:Example:
SERVER_ADDRESS="localhost:8080" API_TOKEN="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjaGlycHN0YWNrIiwiaXNzIjoiY2hpcnBzdGFjayIsInN1YiI6ImJjNjhjZTY1LWM2YjItNDM0MS1hZjA5LTJkZGZlYjA4YzZlZSIsInR5cCI6ImtleSJ9.I5H7U1XZhOIZ2JKWUHkRwIH0Z8ChlvjeZKm1Owetdbk" FUOTA_SERVER_ADDRESS="localhost:8070"
-
Install dependencies and setup virtual env:
Note
Poetry is required! install it from here.
make install
-
Format and lint codebase:
make check
-
Execute Basic Examples:
make basic_example