Skip to content

dratasich/thingsboard-go-client-sdk

Repository files navigation

thingsboard-go-client-sdk

build

ThingsBoard go client SDK supporting:

  • Unencrypted and encrypted (TLS v1.2) connection via MQTT
  • Device Provisioning:
    • Access token generated by TB server
    • Access token supplied by device
    • Device supplies X.509 certificate
  • Device MQTT API:
    • Publish telemetry
    • Publish client attributes
    • Receive attribute updates
    • Request attributes
    • Listen and handle RPCs
  • Gateway MQTT API:
    • Connect/disconnect a device
    • Publish telemetry
    • Publish client attributes
    • Receive attribute updates
    • Request attributes
    • Listen and handle RPCs

Examples: thingsboard-go-client-examples.

Contributing

Install pre-commit hooks.

pre-commit install

Install dependencies:

go mod tidy

Run tests:

go test ./... -test.short

Running the examples with an own ThingsBoard instance provide the integration tests sometimes needed (to check with TB behavior).

I'm happy to receive PRs.

References

About

ThingsBoard MQTT client Python SDK

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages