HTTP_StatePublisher (FB)ΒΆ
FUNCTION_BLOCK HTTP_StatePublisher EXTENDS CBML.ETrigA IMPLEMENTS IExponentialBackoff
Function Block to publish device State over the Google Cloud Iot Core HTTP Bridge
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
xExecute
BOOL
Rising edge: Starts defined operationFALSE
: Resets the defined operation after ready condition was reachedETrig
Output
xDone
BOOL
TRUE
: Ready condition reachedETrig
xBusy
BOOL
TRUE
: Operation is runningETrig
xError
BOOL
TRUE
: Error condition reachedETrig
Input
xAbort
BOOL
TRUE
: Aborts the operationETrigA
Output
xAborted
BOOL
TRUE
: Abort condition reachedETrigA
Inout
HTTPBridge
Instance of the HTTP Bridge
Input
pbPayload
POINTER TO BYTE
Pointer to Payload Data
uiPayloadSize
UINT
Size of Payload Data
wsContentType
WSTRING
Payload content type
uimaximum_backoff_Time
UINT
3200
Maximum Backoff time allowed in [ms]. Default is 3200 ms
Output
eError
Output Error
httpResult
WEB_CLIENT.HttpResult
HTTP Result
eHTTPError
WEB_CLIENT.ERROR
HTTP Error
Methods:
Structure: