HTTP_EventPublisher (FB)ΒΆ
FUNCTION_BLOCK HTTP_EventPublisher EXTENDS CBML.ETrigA IMPLEMENTS IExponentialBackoff
Function Block to publish device Events over the Google Cloud Iot Core HTTP Bridge
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
xExecuteBOOLRising edge: Starts defined operationFALSE: Resets the defined operation after ready condition was reachedETrig
Output
xDoneBOOLTRUE: Ready condition reachedETrig
xBusyBOOLTRUE: Operation is runningETrig
xErrorBOOLTRUE: Error condition reachedETrig
Input
xAbortBOOLTRUE: Aborts the operationETrigA
Output
xAbortedBOOLTRUE: Abort condition reachedETrigA
Inout
HTTPBridgeInstance of the HTTP Bridge
Input
sSub_FolderSTRINGSubfolder used for POST request
pbPayloadPOINTER TO BYTE
Pointer to Payload Data
uiPayloadSizeUINTSize of Payload Data
wsContentTypeWSTRINGPayload content type
uimaximum_backoff_TimeUINT3200
Maximum Backoff time allowed in [ms]. Default is 3200 ms
Output
eErrorOutput Error
httpResultWEB_CLIENT.HttpResultHTTP Result
eHTTPErrorWEB_CLIENT.ERRORHTTP Error
Methods:
Structure: