Closed bj00rn closed 1 month ago
I'll try to merge this work with https://github.com/thomasnordquist/MQTT-Explorer/pull/493, and move the decoding in the fronted. This would allow the user to select the decoding method, a default should be selected based on the topic path or the first bytes of the data.
This should make it much easier to decode different data types in the future.
I'll try to merge this work with #493, and move the decoding in the fronted. This would allow the user to select the decoding method, a default should be selected based on the topic path or the first bytes of the data.
Sounds good. An "Auto detect" mode for decoding with the possibility for manual override would be awesome. Checkout file-type https://www.npmjs.com/package/file-type package, it has detection of binary payloads. A possibility to download binary payloads would be awesome too!
@thomasnordquist pushed commits with sparkplug client for demoVideo
Use tahu https://github.com/eclipse/tahu for sparkplug
Based on #793
Changes
sparkplug-payload
for decodingsparkplug-client
#781@thomasnordquist thoughts on this?, Why roll our own decoding, but maybe you have been down this road before?