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.
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.