shamblett / mqtt5_client

A server and browser based MQTT 5 client for dart
Other
50 stars 26 forks source link

MessageExpiryInterval should be Four Byte Integer #33

Closed sethloco closed 1 year ago

sethloco commented 2 years ago

Hello,

I'm pretty sure the MessageExpiryInterval in the CONNECT will-properties should be a MqttFourByteIntegerProperty. https://github.com/shamblett/mqtt5_client/blob/master/lib/src/messages/connect/mqtt_will_properties.dart#L66

Here it a link to it in the spec: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901064

shamblett commented 2 years ago

Yes, correct well spotted, I'll fix this.

sethloco commented 2 years ago

Excellent...thank you

shamblett commented 2 years ago

Updated, package re released at version 3.3.1