Open TheOdd0ne2 opened 7 months ago
Row 584 and 585 in uMQTT.pas:
ReadByte (FRxStream); id := ReadByte (FRxStream);
Should be replaced by: id := ReadByte (FRxStream) * $100 + ReadByte (FRxStream);
id := ReadByte (FRxStream) * $100 + ReadByte (FRxStream);
otherwise Message ID (anID) will have 1 byte masked off when Message ID surpass 256.
Row 584 and 585 in uMQTT.pas:
Should be replaced by:
id := ReadByte (FRxStream) * $100 + ReadByte (FRxStream);
otherwise Message ID (anID) will have 1 byte masked off when Message ID surpass 256.