mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 电单车协议
This commit is contained in:
@@ -47,7 +47,7 @@ public class EBikeMessageCmd82 extends AbsEBikeMessage {
|
||||
// 包头
|
||||
byte[] headerBytes = BytesUtil.stringToHexBytes(header, 3);
|
||||
// 物理ID
|
||||
byte[] physicalIdBytes = BytesUtil.intToBytesLittle(physicalId, 4);
|
||||
byte[] physicalIdBytes = YouDianUtils.getPhysicalIdBytes(physicalId);
|
||||
// 消息ID
|
||||
byte[] messageIdBytes = BytesUtil.intToBytesLittle(messageId, 2);
|
||||
// 命令
|
||||
|
||||
Reference in New Issue
Block a user