Open workanandr opened 9 years ago
messageId field defined in all the MQTT messages should be "unsigned short" as the spec says that it is a 16-bit unsigned. Currently it is defined as short. It causes the value to be interpreted as -ve once the short MAX_VALUE is crossed.
messageId field defined in all the MQTT messages should be "unsigned short" as the spec says that it is a 16-bit unsigned. Currently it is defined as short. It causes the value to be interpreted as -ve once the short MAX_VALUE is crossed.