Index: sources/update/VSwUpdate.cpp =================================================================== diff -u -r054cc58969b2aacd15b12ff798887b73d339a302 -rf78aa32d0870e3f488234ad3d113780e4b998a03 --- sources/update/VSwUpdate.cpp (.../VSwUpdate.cpp) (revision 054cc58969b2aacd15b12ff798887b73d339a302) +++ sources/update/VSwUpdate.cpp (.../VSwUpdate.cpp) (revision f78aa32d0870e3f488234ad3d113780e4b998a03) @@ -436,8 +436,8 @@ msg.append((uint8)(seqNo & 0xFF)); // 2 byte msgID. - msg.append((uint8)((cmd >> 8) & 0xFF)); msg.append((uint8)(cmd & 0xFF)); + msg.append((uint8)((cmd >> 8) & 0xFF)); // 1 byte payload size = 0. msg.append((uint8)0);