MaJerle / lwcell

Lightweight cellular modem host AT library
MIT License
395 stars 147 forks source link

Modified write_fixed_header according to doc (Fixed header Flags) #34

Closed sergio-rudenko closed 4 years ago

sergio-rudenko commented 4 years ago

Without this I experienced VerneMQ broker (my favorite) abnormal session stop with "[warning] session stopped abnormally due to '{error,unexpected_message,{error,cant_parse_variable_header}}" record in logs. On the other hand, at least Paho MQTT broker (mqtt.eclipse.org) works flawlessly, without any complaints on the wrong header (tested before and after modification)