MQTT Sparkplug Over web socket


Can someone advise how a web socket client (in web browser) can send sparkplug (NCMD/DCMD) to the MQTT broker?

Hey @Khamiss ,

Nice to see you are interested in MQTT, welcome to the community!

Do you have some particular websocket client in mind or are you looking for one?
How do you generate the sparkplug packets?
Are you generating those yourself and only want the websocket client to support sending and receiving binary payloads?
Or do you expect the web client also to encode and decode sparkplug packets for you? (We are no aware of such, if you find one, let us know).

In general, any MQTT client can send and receive sparkplug encoded packages, only that it should support binary payloads.

Kind regards,
Dasha from HiveMQ Team