IoT Core Service, gRPC: DeviceDataService
Written by
Updated at June 14, 2023
A set of methods to work with IoT Core messages on behalf of device
Call | Description |
---|---|
Publish | Publishes message on behalf of specified device |
Calls DeviceDataService
Publish
Publishes message on behalf of specified device
rpc Publish (PublishDeviceDataRequest) returns (PublishDeviceDataResponse)
PublishDeviceDataRequest
Field | Description |
---|---|
device_id | string Required. ID of device publishing message The maximum string length in characters is 50. |
topic | string Required. Topic where message should be published The maximum string length in characters is 1024. |
data | bytes Content of the message The maximum string length in characters is 262144. |
PublishDeviceDataResponse
Empty.