labview-open-source / lv-mqtt-control-packets Goto Github PK
View Code? Open in Web Editor NEWMQTT Control Packets library
License: Other
MQTT Control Packets library
License: Other
Currently, the control packets will accept only lexical classes 3 thru 5, or 0. Consider the possibility to extend to a subset of class 6, which includes common characters such as "hyphen" and "underscore".
Examples of acceptable client identifiers:
But those are currently rejected, although they are compatible with the server:
Recommendation:
_ - % ~ + @
Affected method: MQTT_Control_Packet.lvlib:ControlPacket.lvclass:Encode ClientID.vi
Current Packet Private Data does not hold the source bytes in a way that allow recreating the original incoming bytes if we detect an invalid packet format.
Packet should hold an original copy of the input stream instead of only caching the result of the decoding.
Use invalid packet type 00 to output invalid source stream when called.
The Paho library for Websockets uses a subprotocol version for distinction between 3.1 and 5.0 of MQTT.
As such, the CONNECT packet's variable header can have a different protocol name (0x00, 0x06 instead of 0x00-0x04).
Verify requirement change to support subprotocol. MQTT spec mentions that server MAY support subprotocols if desired. To be able to use the Paho WS library for javascript, this would be a nice-to-have in the control packets parsing algorithm.
http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718083
Needed to resolve this issue on the handling of responses when no packet IDs.
LabVIEW-Open-Source/MQTT-Connection#8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.