christianTF / LoxBerry-Plugin-MQTT-Gateway

Subscribes to MQTT topics and relays to Miniserver
https://www.loxwiki.eu/display/LOXBERRY/MQTT+Gateway
12 stars 3 forks source link

Send to MS in alphabetical order #54

Closed christianTF closed 1 year ago

christianTF commented 3 years ago

The order of data with json expansion cannot be preserved (Perl Hash).

But it should be possible to call mshttp_send and mshttp_send_mem with parameters in alphabetical order.

https://github.com/christianTF/LoxBerry-Plugin-MQTT-Gateway/blob/b4bc7834b79d058a45b7a151e98528295c7a78fc/bin/mqttgateway.pl#L507

The mshttp_send* functions preserve the order of incoming data.

christianTF commented 1 year ago

Wird nicht benötigt.