This is a simple command line tool for testing Eclipse Hono™.
Fill in your connection information, and then execute the following command:
hot consume telemetry amqps://my.server:443 tenant
You can optionally use the following flags to configure the connection:
--insecure
- Set to true to enable Insecure TLS connection
--tlsPath
- Set to path of trusted store file
--clientUsername
- Tenant Username
--clientPassword
- Tenant Password
*NOTE: if neither --insecure nor --tlsPath are set the AMQP client TLS default is used
Fill in your connection information, and then execute the following command:
hot publish http telemety https://my.server tenant device auth password payload
The following flags are supported:
--qos
- Set the "Quality of Service". Defaults to
0
. --ttd
- Set the "time till disconnect", the amount of seconds the HTTP call will wait for a command to the device
Fill in your connection information, and then execute the following command:
hot publish mqtt telemety ssl://my.server tenant device auth password payload
The following flags are supported:
--qos
- Set the "Quality of Service". Defaults to
0
.
Building requires Go 1.12.x. You can build the binary by executing:
GO111MODULE=on go build -o hot ./cmd