iothub
iothub copied to clipboard
Azure IoT Hub SDK for Golang
Thank you for creating this library :) I am using method payloads (and responses) that are not in JSON form, but base64 strings (strictly speaking still valid json) as my...
Version: > github.com/amenzhinsky/iothub v0.7.0 Error: > Link detached, reason: *Error{Condition: amqp:link:detach-forced, Description: The link 'G2:...' is force detached. Code: ServerError. Details: AmqpEventHubConsumer.IdleTimerExpired: Idle timeout: 00:30:00. I am getting this error...
Device can buffer up messages and send them all at some frequency. To accomplish, you can set CreationTimeUtc (payload creation time) in the event message. common.Message has this field, but...
I'm creating a cloud-to-device link via AMQP with: ```go ihQueueClient, err := iotservice.NewFromConnectionString(iotHubConnStr) ``` I can use this successfully for 1 hour or so, but then after that I start...
C2D commands are getting notified in the client. But, as per the protocol, client application is expected to "Complete" the message so that it will be deleted from the queue....
I was trying to send a message from a device running a module (my go application) to the IoT hub. On the device I have `iotedge` installed in version `1.0.10.1`....
Does anyone have any inputs/objections to an alternate direct method implementation that can change the reply to be asynchronous from the callback? I have a use case where I need...
Setting the OnConnection listener on the MQTT Transports breaks subscriptions, because the library relies on it, so it is impossible to get notifications about disconnect. For disconnects, it is possible...
Azure, and specifically IOT Central, supports numbers/strings/bools as direct method payloads, which don't work in the marshaling layer here. One option would be to defer marshal/unmarshal to the implementer of...
Because of how The Direct Method handler is implemented, there is no opportunity for asynchrony without blocking concurrent or future direct method requests. Ideally, instead of : ``` type DirectMethodHandler...