LabVIEW-Open-Source / MQTT-Connection

Fundamental building blocks for building MQTT clients and servers
Other
2 stars 1 forks source link

Provide an override to allow different types of connections to translate errors to a coherent supported list #1

Open francois-normandin opened 3 years ago

francois-normandin commented 3 years ago

For example, the TCP Connection returns error 66 for "Disconnected by Peer", but the Local Queue would return error code 1. The session should be able to use a standard error code list to support some of the MQTT features, so an error mapping of some sort will be needed,

TCP Connection passes all tests. Websockets and Local Queue fail a few, all related to properly reporting when the server or client disconnected because of a protocol violation on either side.

image