This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
batch=%5B%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22dwh%22%3A%7B%22Action%22%3A%22PageChange%22%2C%22PageChangeMethod%22%3A%22bindAdaptersToHosts%22%2C%22message_id%22%3A%22getCurrentMailIdOrEmpty%22%2C%22_segment%22%3A%2224_60_Android+%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F+%D0%BF%D0%BE+%D0%BA%D0%BE%D0%B4%D1%83_codeEnabled%22%2C%22behaviorname%22%3A%22corp+email%22%7D%7D%2C%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22dwh%22%3A%7B%22Action%22%3A%22PageChange%22%2C%22PageChangeMethod%22%3A%22bindAdaptersToHosts%22%2C%22message_id%22%3A%22getCurrentMailIdOrEmpty%22%2C%22_segment%22%3A%2224_60_Android+%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F+%D0%BF%D0%BE+%D0%BA%D0%BE%D0%B4%D1%83_codeEnabled%22%2C%22behaviorname%22%3A%22corp+email%22%7D%7D%2C%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22dwh%22%3A%7B%22Action%22%3A%22PageChange%22%2C%22PageChangeMethod%22%3A%22bindAdaptersToHosts%22%2C%22message_id%22%3A%22getCurrent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
batch=%5B%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22i%22%3A%22Action%3APageChange%2CrandomId%3A4318819278317747862%2C_segment%3A24_60_Android+%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F+%D0%BF%D0%BE+%D0%BA%D0%BE%D0%B4%D1%83_codeEnabled%2Cbehaviorname%3Acorp+email%22%7D%2C%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22i%22%3A%22Action%3APageChange%2CrandomId%3A478867459630847050%2C_segment%3A24_60_Android+%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F+%D0%BF%D0%BE+%D0%BA%D0%BE%D0%B4%D1%83_codeEnabled%2Cbehaviorname%3Acorp+email%22%7D%2C%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22i%22%3A%22Action%3APageChange%2CrandomId%3A6548993421612298106%2C_segment%3A24_60_Android+%D0%B0%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F+%D0%BF%D0%BE+%D0%BA%D0%BE%D0%B4%D1%83_codeEnabled%2Cbehaviorname%3Acorp+email%22%7D%2C%7B%22t%22%3A%22ANDMAIL-7111_Action%22%2C%22v%22%3A%220%22%2C%22i%22%3A%22Action%3APageChange%2CrandomId%3A-68781 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'groovy' | |
apply plugin: 'java' | |
apply plugin: 'maven' | |
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
maven { url 'https://maven.google.com' } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun <T> runSynchronously(asyncFunc: (callback: CallbackWithResult<T>) -> UUID): T { | |
var result: T? = null | |
asyncFunc.invoke(object:CallbackWithResult<T> { | |
override fun onResult(res: T) { | |
result = res; | |
} | |
override fun onError() { | |
throw RuntimeException(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun <T> runSynchronously(asyncFunc: (callback: CallbackWithResult<T>) -> UUID): T { | |
var result: T? = null | |
asyncFunc.invoke(CallbackWithResult { | |
result = it | |
}) | |
while (true) { | |
result?.let { return it } | |
Thread.sleep(250); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Single.fromEmitter(new Action1<SingleEmitter<KKMStatus>>() { | |
@Override | |
public void call(final SingleEmitter<KKMStatus> emitter) { | |
kkMv2.getStatus(new KKMCallbackWithResult<KKMStatus>() { | |
@Override | |
public void onSuccess(KKMStatus result) { | |
emitter.onSuccess(result); | |
} | |
@Override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07-10 14:13:52.138 4392-4702/ru.evotor.devices D/DTO9: Checking is in download mode... | |
07-10 14:13:52.138 4392-4702/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:13:52+138 D T:9F241930] >> put_CommandBuffer() EC 00 | |
[2018.07.10 14:13:52+138 D T:9F241930] >> RunCommand() | |
07-10 14:13:52.139 4392-4702/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:13:52+139 D T:9F241930] send EC 00 (2 bytes total) | |
[2018.07.10 14:13:52+139 D T:9F241930] add (1E) C1 01 1E 00 00 EC 00 (7 bytes total) | |
[2018.07.10 14:13:52+139 D T:9F241930] send transport (04) FE 07 00 04 C1 01 1E 00 00 EC 00 FA (12 bytes total) | |
[2018.07.10 14:13:52+139 U T:9F241930] Ошибка -1.0 () | |
[2018.07.10 14:13:52+139 D T:9F241930] Данные не были отправлены, повторяем | |
07-10 14:13:52.145 4392-4702/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:13:52+144 U T:9F241930] Ошибка -3.0 () | |
07-10 14:13:52.146 4392-4702/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:13:52+146 U T:9F241930] Объекту (0x0xaa6f2260) присвоен код ошибки -3.0 (Порт недоступен |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:09:59.775 4392-4616/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:09:59+775 D T:A0600930] add (1C) C1 01 1C 00 00 EC 04 96 00 F2 48 21 C1 40 C9 07 0A D1 FD F7 38 FF 4F F4 A0 61 41 EA 00 40 00 F0 2E FA 03 48 00 F0 2B FA 18 46 70 BD 00 00 00 C0 00 50 00 05 F2 00 0D 48 00 21 C0 F8 48 12 40 21 C0 F8 4C 12 01 22 C0 F8 48 (73 bytes total) | |
07-10 14:09:59.776 4392-4616/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:09:59+776 D T:A0600930] send transport (17) FE 49 00 17 C1 01 1C 00 00 EC 04 96 00 F2 48 21 C1 40 C9 07 0A D1 FD ED F7 38 FF 4F F4 A0 61 41 EA 00 40 00 F0 2E FA 03 48 00 F0 2B FA 18 46 70 BD 00 00 00 C0 00 50 00 05 F2 00 0D 48 00 21 C0 F8 48 12 40 21 C0 F8 4C 12 01 22 C0 F8 48 1F (79 bytes total) | |
07-10 14:09:59.777 4392-4616/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:09:59+777 D T:A0600930] oldid transport (16) A3 (1 bytes total) | |
07-10 14:09:59.777 4392-4616/ru.evotor.devices D/DTO9_FPTR: [2018.07.10 14:09:59+777 D T:A0600930] reply transport (17) A2 (1 bytes total) | |
07-10 14:09:59.778 4392-4616/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int a = 0; | |
private void test() { | |
new Thread(new Runnable() { | |
@Override | |
public void run() { | |
for (int i = 0; i < 10_000; ++i) { | |
a++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07-06 12:19:12.000 3439-3476/? E/AndroidRuntime: FATAL EXCEPTION: Thread-290 | |
Process: ru.evotor.devices, PID: 3439 | |
ru.evotor.utils.FptrNullException: initDevice() fptr null! | |
at ru.evotor.devices.device.St3S.a(SourceFile:41) | |
at ru.evotor.devices.device.St3S.<init>(SourceFile:35) | |
at ru.evotor.devices.device.PredefinedDeviceSet.getRecreateableDevices(SourceFile:36) | |
at ru.evotor.devices.DeviceService.f(SourceFile:649) | |
at ru.evotor.devices.DeviceService.b(SourceFile:111) | |
at ru.evotor.devices.DeviceService$3.run(SourceFile:589) | |
at java.lang.Thread.run(Thread.java:818) |