if (-57 & (1 << n)){
System.out.println("Двигатель " + n + "включен");
}
byte OnOfEngine = -57;
09-01 09:09:58.538 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:09:58.838 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:09:58.838 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:09:58.838 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:09:59.138 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:09:59.138 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:09:59.148 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:09:59.438 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:09:59.438 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:09:59.438 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:09:59.738 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:09:59.738 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:09:59.738 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:00.038 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:00.038 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:00.048 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:00.338 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:00.338 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:00.348 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:00.648 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:00.648 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:00.648 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:00.948 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:00.948 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:00.948 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:01.248 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:01.248 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:01.248 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:01.548 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:01.548 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:01.548 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:01.848 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:01.848 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:01.848 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:02.148 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:02.148 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:02.148 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:02.448 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:02.448 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:02.448 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:02.748 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:02.748 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:02.748 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:03.048 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:03.048 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:03.048 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:03.348 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:03.348 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:03.348 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:03.648 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:03.648 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:03.658 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:03.948 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:03.948 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:03.948 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:04.248 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:04.248 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:04.258 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:04.548 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:04.558 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:04.558 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:04.858 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:04.858 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:04.858 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:05.158 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:05.158 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:05.158 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:05.458 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:05.458 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:05.458 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:05.758 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:05.758 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:05.758 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:06.058 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:06.058 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:06.058 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:06.358 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:06.358 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:06.358 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:06.658 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:06.658 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:06.658 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:06.958 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:06.958 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:06.958 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:07.258 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
09-01 09:10:07.258 19338-19397/com.physicaloid.tutorial5 D/UsbRequestJNI﹕ init
09-01 09:10:07.258 19338-19397/com.physicaloid.tutorial5 V/OvisLog﹕ Отправил команду[1, 3, 0, 0, 0, 0, 69, -54]
09-01 09:10:07.558 19338-19396/com.physicaloid.tutorial5 V/OvisLog﹕ OTBET - [1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 39]
private class Data {
private byte[] data;
private long delay;
private Data(byte[] data, long delay) {
this.data = data;
this.delay = delay;
}
private long toMS() {
return delay * 1000l;
}
}
private ArrayList<Data> data = new ArrayList<>();
private int currentIndex;
private void populateCollection() {
data.add(new Data(new byte[]{1, 0x5, 11, 5, 0, 0}, 10L));
data.add(new Data(new byte[]{1, 0x5, 11, 1, 0, 0}, 0L)); //0 сек
data.add(new Data(new byte[]{1, 0x5, 0, 5, 0, 0}, 30L)); //30 сек
data.add(new Data(new byte[]{1, 0x5, 1, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 2, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 3, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 4, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 5, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 6, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 7, 5, 0, 0}, 5L)); //5 сек
data.add(new Data(new byte[]{1, 0x5, 8, 5, 0, 0}, 5L)); //5 сек
}
А как вариант, поднять на своем почтовый сервер там все крутить и отправлять уже и вам с e-mail для ответа (Клиента)
А клиенту для ответа вам
Хотя это мои догадки и в этой теме не работал, так что точнее ничего не скажу