Commit 80ea7364 authored by AfirSraftGarrier's avatar AfirSraftGarrier

格式并加些打印

parent a2bbe636
...@@ -28,6 +28,11 @@ public class DeviceControllerTest { ...@@ -28,6 +28,11 @@ public class DeviceControllerTest {
showSendData(appId, sn, appKey); showSendData(appId, sn, appKey);
} }
private void doString() {
String request = "55AA340090000156F43D4D806827D1BB8F78C00D2B5488479CEB172C5D477C4D3023CE7B111621D4AD2C11ACAC4D876A3AC66A82F5F19000EF";
String result = "55AA1500A40035414E7DB5B3EDE72BC6BA44203F52EA0000005B";
}
private void showSendData(String appId, String sn, String appKey) { private void showSendData(String appId, String sn, String appKey) {
byte[] stxBytes = {(byte) 0x55, (byte) 0xaa}; byte[] stxBytes = {(byte) 0x55, (byte) 0xaa};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment