mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
[Huawei] Change display of command IDs to hex
This commit is contained in:
parent
1392f24f4c
commit
3f7a7304bb
@ -137,7 +137,7 @@ public class HuaweiCoordinator {
|
||||
public void printCommandsPerService() {
|
||||
StringBuilder msg = new StringBuilder();
|
||||
for(Map.Entry<Integer, byte[]> entry : commandsPerService.entrySet()) {
|
||||
msg.append("ServiceID: ").append(entry.getKey()).append(" => Commands: ");
|
||||
msg.append("ServiceID: ").append(Integer.toHexString(entry.getKey())).append(" => Commands: ");
|
||||
for (byte b: entry.getValue()) {
|
||||
msg.append(Integer.toHexString(b)).append(" ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user