I configured my smartphone (Xiaomi Mi A1 with LineageOS 17.1) to test the binding.
The status of the thing is Online.
The binding does a test for ‘adb awake state’ with a command adb shell:dumpsys activity | grep mWakefulness, which fails.
If i do the same command manually in a shell, it also fails.
If I correct the command to adb shell dumpsys activity | grep mWakefulness
(without colon after shell) it is executed without errors.
I thought the logger command is from inside the function runAdbShell (at line 278).
In line 280 the command AdbStream stream = adb.open("shell:" + cmd); is build.
I do not know a lot about java, but could it be, that this is the problematic line?
That is the line that is responsible for the output of the logging information.
Two rows below ( AdbStream stream = … ) is the command that is being executed then.
I must have misunderstood something. Basically, the binding works.
It was my mistake, the target device was running a firewall that did not allow wifi debugging.