[069951]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / functions_a1970cad / mqtterrortostring_28d4c3e7 / 28d4c3e729d1475aa9e85711df12c757.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 7.2 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)28d4c3e7-29d1-475a-a9e8-5711df12c757","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)MQTTErrorToString","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)a1970cad-fb7e-4f32-9f9c-fd8f237326f9"}]}}}},{"@Key":"(Guid)97c1f2ea-5995-48b9-abd5-a3ab983c5def","@Value":{"@Type":"97c1f2ea","@Value":{"UseExplicitExecutionOrder":"(bool)False"}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","97c1f2ea":"{97c1f2ea-5995-48b9-abd5-a3ab983c5def}","bool":"System.Boolean","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)CASE ERROR OF\n    MQTT.MQTT_ERROR.NO_ERROR:\n        MQTTErrorToString := 'No error';\n        \n    MQTT.MQTT_ERROR.TCP_INIT_ERROR:\n        MQTTErrorToString := 'Unable to initialize the TCP socket';\n        \n    MQTT.MQTT_ERROR.TCP_READ_ERROR:\n        MQTTErrorToString := 'Error while reading response';\n        \n    MQTT.MQTT_ERROR.TCP_WRITE_ERROR:\n        MQTTErrorToString := 'Error while sending the request';\n        \n    MQTT.MQTT_ERROR.MAX_RESPONSE_SIZE_EXCEEDED:\n        MQTTErrorToString := 'Maximum Response size exceeded';\n        \n    MQTT.MQTT_ERROR.DECODE_REMAINING_LENGTH_MALFORMED:\n        MQTTErrorToString := 'Malformation during Decoding of Remaining Length of Packet';\n        \n    MQTT.MQTT_ERROR.RESPONSE_PACKET_EMPTY:\n        MQTTErrorToString := 'The Response Packet is empty';\n        \n    MQTT.MQTT_ERROR.INVALID_PACKET_TYPE:\n        MQTTErrorToString := 'Invalid Packet Type in first byte of Fixed Header';\n        \n    MQTT.MQTT_ERROR.INVALID_PACKET_BIT_FLAGS:\n        MQTTErrorToString := 'Invalid Packet Bit Flags in first byte of Fixed Header';\n        \n    MQTT.MQTT_ERROR.INVALID_PACKET:\n        MQTTErrorToString := 'Invalid Packet';\n        \n    MQTT.MQTT_ERROR.KEEP_ALIVE_TIME_EXCEEDED:\n        MQTTErrorToString := 'Keep Alive Time is too much';\n        \n    MQTT.MQTT_ERROR.WRONG_SESSION_PRESENT_CONNACK:\n        MQTTErrorToString := 'Wrong Session Present in CONNACK packet';\n        \n    MQTT.MQTT_ERROR.UNACCEPTABLE_PROTOCOL_VERION:\n        MQTTErrorToString := 'Connection to Broker is Refused, because of Unacceptable Protocol Version';\n        \n    MQTT.MQTT_ERROR.IDENTIFIER_REJECTED:\n        MQTTErrorToString := 'Connection to Broker is Refused, because of Rejection of Client Identifier';\n        \n    MQTT.MQTT_ERROR.SERVER_UNAVAILABLE:\n        MQTTErrorToString := 'Connection to Broker is Refused, because the Server Broker is not available';\n        \n    MQTT.MQTT_ERROR.BAD_USER_NAME_PASSWORD:\n        MQTTErrorToString := 'Connection to Broker is Refused, because of Bad User name or Bad Password';\n        \n    MQTT.MQTT_ERROR.NOT_AUTHORIZED:\n        MQTTErrorToString := 'Connection to Broker is Refused, because of Not Authorized access';\n        \n    MQTT.MQTT_ERROR.TOPIC_FILTER_EMPTY:\n        MQTTErrorToString := 'Topic Filter is empty “”, MUST be at least one character long';\n        \n    MQTT.MQTT_ERROR.TOPIC_NAME_NOT_ALLOWED_WILDCARD:\n        MQTTErrorToString := 'Topic Name contains Wildcards, not allowed. Only Topic Filter can contain these';\n        \n    MQTT.MQTT_ERROR.TOPIC_INVALID_LENGTH:\n        MQTTErrorToString := 'Topic Length out of valid range';\n        \n    MQTT.MQTT_ERROR.TOPIC_IS_EMPTY:\n        MQTTErrorToString := 'Topic name is empty';\n        \n    MQTT.MQTT_ERROR.SUBSCRIBE_FAILURE:\n        MQTTErrorToString := 'Subscription Failure';\n        \n    MQTT.MQTT_ERROR.ADD_MQTT_PACKET_COLLECTION_ERROR:\n        MQTTErrorToString := 'Collection Error while trying to add a mqtt packet to the stack';\n        \n    MQTT.MQTT_ERROR.ADD_SUBSCRIBER_COLLECTION_ERROR:\n        MQTTErrorToString := 'Collection Error while trying to add a subscriber to the stack';\n        \n    MQTT.MQTT_ERROR.REMOVE_SUBSCRIBER_COLLECTION_ERROR:\n        MQTTErrorToString := 'Collection Error while trying to remove a subscriber from the stack';\n        \n    MQTT.MQTT_ERROR.ACKNOWLEDGE_TIMEOUT:\n        MQTTErrorToString := 'No Ping Response (PINGRESP) from Server within twice the ping interval';\n        \n    MQTT.MQTT_ERROR.ALLOCATED_PAYLOAD_SIZE_EXCEEDED:\n        MQTTErrorToString := 'The Size of the received payload is more than given allocated memory';\n        \n    MQTT.MQTT_ERROR.MAX_NUMBER_OF_PACKETS_EXCEEDED:\n        MQTTErrorToString := 'The maximum size of packets has been exceeded';\n        \n    MQTT.MQTT_ERROR.CAN_NOT_ADD_ELEMENT_TO_QUEUE:\n        MQTTErrorToString := 'Can not add the element to queue (maybe the maximum size has been exceeded)';\n        \n    MQTT.MQTT_ERROR.QUERYINTERFACE_ERROR:\n        MQTTErrorToString := 'Call of function __QUERYINTERFACE failed (internal error)';\n        \n    MQTT.MQTT_ERROR.TIME_OUT:\n        MQTTErrorToString := 'Action returned with timeout error.';\n        \n    MQTT.MQTT_ERROR.INVALID_LICENSE:\n        MQTTErrorToString := 'No valid license found or demo mode has expired.';\n        \n    MQTT.MQTT_ERROR.CLIENT_NOT_CONNECTED:\n        MQTTErrorToString := 'The MQTT client is not connect to a broker.';\n        \nELSE\n    MQTTErrorToString := CONCAT('Unknown MQTT_ERROR: ', INT_TO_STRING(ERROR));\nEND_CASE","LineInfoPersistence":"(string)28d4c3e7-29d1-475a-a9e8-5711df12c757_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)(*\n\tConverts the MQTT_ERROR enum to a string message\n*)\n{attribute 'hide'}\nFUNCTION MQTTErrorToString : STRING\nVAR_INPUT\n    ERROR : MQTT.MQTT_ERROR;\nEND_VAR","LineInfoPersistence":"(string)28d4c3e7-29d1-475a-a9e8-5711df12c757_Decl_LineIds"}}}},"UniqueIdGenerator":"(string)1011","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"}