-
Notifications
You must be signed in to change notification settings - Fork 29
/
status-quo.log
1807 lines (1763 loc) · 123 KB
/
status-quo.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
## run all ./status-quo.sh /dev/ttyUSB0 913995
./status-quo.sh
#!/bin/bash
# make an example of an interesting log worth sharing
CMD="$*"
NAME=$0
export PORT=${1-'/dev/ttyUSB0'}
export SERIAL=${2-'208850'}
. bin/common
run_all 2>&1 | tee status-quo.log
echo "OUT" | tee logs/explain.log
. ./explain-brief.sh | tee -a logs/explain.log
explain_markdown
#####
# EOF
Fri Aug 8 15:24:41 PDT 2014
```
INFO:__main__:howdy! I'm going to take a look at your carelink usb stick.
INFO:link:Link opened serial port: Serial<id=0x7f1caf0d3890, open=True>(port='/dev/ttyUSB0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=0.5, xonxoff=False, rtscts=False, dsrdtr=False)
INFO:__main__:PROCESS:OPEN:0.018
INFO:__main__:PROCESS:START:0.189:ProductInfo:0x04
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 0
INFO:root:usb.read.raw:
INFO:__main__:zero length READ, try once more sleep .250
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x6d 0x4c 0x69 0x6e 0x6b ...mLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing ProductInfo:0x04, {'description': '\x04\x00mLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.14', 'rf.freq': 'UNKNOWN', 'serial': '000201'}
INFO:__main__:PROCESS:END:756.992:ProductInfo:0x04
INFO:__main__:{'description': '\x04\x00mLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.14', 'rf.freq': 'UNKNOWN', 'serial': '000201'}
INFO:__main__:PROCESS:START:757.226:ProductInfo:0x04
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x0a 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing ProductInfo:0x04, {'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '868.35Mhz', 'serial': '0a0f00'}
INFO:__main__:PROCESS:END:761.679:ProductInfo:0x04
INFO:__main__:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '868.35Mhz', 'serial': '0a0f00'}
INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>]
INFO:__main__:PROCESS:START:762.293:SignalStrength:0x06 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x0a 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:10
INFO:__main__:finished processing SignalStrength:0x06 0x00, 10
INFO:__main__:PROCESS:END:769.919:SignalStrength:0x06 0x00
INFO:__main__:PROCESS:START:770.061:SignalStrength:0x06 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xa6 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:166
INFO:__main__:finished processing SignalStrength:0x06 0x00, 166
INFO:__main__:PROCESS:END:774.584:SignalStrength:0x06 0x00
INFO:__main__:we seem to have found a nice signal strength of: 166
INFO:__main__:test fetching product info Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>]
INFO:__main__:PROCESS:START:775.101:ProductInfo:0x04
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xab 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing ProductInfo:0x04, {'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '868.35Mhz', 'serial': 'ab0f00'}
INFO:__main__:PROCESS:END:780.109:ProductInfo:0x04
INFO:__main__:{'description': 'ComLink II',
'interfaces': [(0, 'Paradigm RF'), (1, 'USB')],
'product.version': '0.0',
'rf.freq': '868.35Mhz',
'serial': 'ab0f00',
'software.version': '1.16'}
INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>]
INFO:__main__:PROCESS:START:783.004:SignalStrength:0x06 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x0a 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:10
INFO:__main__:finished processing SignalStrength:0x06 0x00, 10
INFO:__main__:PROCESS:END:795.823:SignalStrength:0x06 0x00
INFO:__main__:PROCESS:START:795.953:SignalStrength:0x06 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xa9 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:169
INFO:__main__:finished processing SignalStrength:0x06 0x00, 169
INFO:__main__:PROCESS:END:801.027:SignalStrength:0x06 0x00
INFO:__main__:we seem to have found a nice signal strength of: 169
INFO:__main__:at this point, we could issue remote commands to a medical
device, let's inspect the interfaces
INFO:__main__:PROCESS:START:801.778:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xa0 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 1833724270L, 'errors.naks': 0, 'errors.sequence': 15, 'packets.received': 82799L, 'errors.crc': 160}
INFO:__main__:PROCESS:END:806.763:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:806.878:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x40 0x00 0x00 0x00 0x45 0x00 [email protected].
0010 0x55 0x00 0x48 0x00 0x45 0x04 0x00 0x00 U.H.E...
0018 0x05 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 69L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 64L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:809.679:RadioStats:0x05 0x00
INFO:__main__:{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 64L,
'packets.transmit': 69L},
'usb': {'errors.crc': 160,
'errors.naks': 0,
'errors.sequence': 15,
'errors.timeouts': 0,
'packets.received': 82799L,
'packets.transmit': 1833724270L}}
INFO:__main__:CLEAR BUFFERS
INFO:__main__:PROCESS:START:813.845:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 20L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:817.353:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:817.475:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x42 0x00 0x00 0x00 0x47 0x00 ..B...G.
0010 0x57 0x00 0x4a 0x00 0x47 0x04 0x00 0x00 W.J.G...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 71L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 66L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:820.673:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 66L,
'packets.transmit': 71L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 20L,
'packets.transmit': 21L}}
INFO:__main__:XXX:clear_buffer[attempt][0]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>]>:STARTING POLL PHASE:attempt:0
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[<RadioStats:0x05 0x00:size(64)>]>:poll:attempt:0
INFO:__main__:PROCESS:START:822.161:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:['OK']
INFO:__main__:finished processing LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[], 0
INFO:__main__:PROCESS:END:826.286:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]
DEBUG:__main__:poll zero, sleeping in POLL, .100
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]>:poll:attempt:1
INFO:__main__:PROCESS:START:927.362:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=14
INFO:__main__:finished processing LinkStatus:0x03:status:size=14, 14
INFO:__main__:PROCESS:END:930.765:LinkStatus:0x03:status:size=14
INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[1] command[<LinkStatus:0x03:status:size=14:size(14)>]:STOP POLL after 2 attempts:size:14
INFO:__main__:XXX:clear_buffer[attempt][0]:segments[0],total_segments[0]:raw[0]:END first poll 14:SHOULD DOWNLOAD :True
INFO:__main__:XXX:clear_buffer[attempt][0]:download the size? 14:segments[0],total_segments[0]:raw[0]
INFO:__main__:PROCESS:START:931.451:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 1, 'errors.sequence': 2, 'packets.received': 235209728L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:935.571:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:935.753:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x46 0x00 0x00 0x00 0x4b 0x00 ..F...K.
0010 0x5b 0x00 0x4e 0x00 0x4b 0x04 0x00 0x00 [.N.K...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 75L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 70L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:940.896:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 70L,
'packets.transmit': 75L},
'usb': {'errors.crc': 0,
'errors.naks': 1,
'errors.sequence': 2,
'errors.timeouts': 0,
'packets.received': 235209728L,
'packets.transmit': 21L}}
INFO:__main__:PROCESS:START:942.549:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 20L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:947.046:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:947.268:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x48 0x00 0x00 0x00 0x4d 0x00 ..H...M.
0010 0x5d 0x00 0x50 0x00 0x4d 0x04 0x00 0x00 ].P.M...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 77L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 72L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:951.402:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 72L,
'packets.transmit': 77L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 20L,
'packets.transmit': 21L}}
INFO:__main__:XXX:clear_buffer[attempt][1]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>]>:STARTING POLL PHASE:attempt:0
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<RadioStats:0x05 0x00:size(64)>]>:poll:attempt:0
INFO:__main__:PROCESS:START:952.551:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:['OK']
INFO:__main__:finished processing LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[], 0
INFO:__main__:PROCESS:END:963.432:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]
DEBUG:__main__:poll zero, sleeping in POLL, .100
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]>:poll:attempt:1
INFO:__main__:PROCESS:START:1064.423:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=14
INFO:__main__:finished processing LinkStatus:0x03:status:size=14, 14
INFO:__main__:PROCESS:END:1067.294:LinkStatus:0x03:status:size=14
INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[1] command[<LinkStatus:0x03:status:size=14:size(14)>]:STOP POLL after 2 attempts:size:14
INFO:__main__:XXX:clear_buffer[attempt][1]:segments[0],total_segments[0]:raw[0]:END first poll 14:SHOULD DOWNLOAD :True
INFO:__main__:XXX:clear_buffer[attempt][1]:download the size? 14:segments[0],total_segments[0]:raw[0]
INFO:__main__:PROCESS:START:1067.703:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 1, 'errors.sequence': 2, 'packets.received': 235209728L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1071.06:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:1071.226:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x4c 0x00 0x00 0x00 0x51 0x00 ..L...Q.
0010 0x61 0x00 0x54 0x00 0x51 0x04 0x00 0x00 a.T.Q...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 81L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 76L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1073.984:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 76L,
'packets.transmit': 81L},
'usb': {'errors.crc': 0,
'errors.naks': 1,
'errors.sequence': 2,
'errors.timeouts': 0,
'packets.received': 235209728L,
'packets.transmit': 21L}}
INFO:__main__:PROCESS:START:1074.817:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 20L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1080.55:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:1080.726:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x4e 0x00 0x00 0x00 0x53 0x00 ..N...S.
0010 0x63 0x00 0x56 0x00 0x53 0x04 0x00 0x00 c.V.S...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 83L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 78L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1086.197:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 78L,
'packets.transmit': 83L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 20L,
'packets.transmit': 21L}}
INFO:__main__:XXX:clear_buffer[attempt][2]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>]>:STARTING POLL PHASE:attempt:0
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<RadioStats:0x05 0x00:size(64)>]>:poll:attempt:0
INFO:__main__:PROCESS:START:1088.326:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:['OK']
INFO:__main__:finished processing LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[], 0
INFO:__main__:PROCESS:END:1100.926:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]
DEBUG:__main__:poll zero, sleeping in POLL, .100
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]>:poll:attempt:1
INFO:__main__:PROCESS:START:1201.693:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=14
INFO:__main__:finished processing LinkStatus:0x03:status:size=14, 14
INFO:__main__:PROCESS:END:1205.343:LinkStatus:0x03:status:size=14
INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[1] command[<LinkStatus:0x03:status:size=14:size(14)>]:STOP POLL after 2 attempts:size:14
INFO:__main__:XXX:clear_buffer[attempt][2]:segments[0],total_segments[0]:raw[0]:END first poll 14:SHOULD DOWNLOAD :True
INFO:__main__:XXX:clear_buffer[attempt][2]:download the size? 14:segments[0],total_segments[0]:raw[0]
INFO:__main__:PROCESS:START:1206.069:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 1, 'errors.sequence': 2, 'packets.received': 235209728L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1209.948:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:1210.135:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x52 0x00 0x00 0x00 0x57 0x00 ..R...W.
0010 0x67 0x00 0x5a 0x00 0x57 0x04 0x00 0x00 g.Z.W...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 87L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 82L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1216.855:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 82L,
'packets.transmit': 87L},
'usb': {'errors.crc': 0,
'errors.naks': 1,
'errors.sequence': 2,
'errors.timeouts': 0,
'packets.received': 235209728L,
'packets.transmit': 21L}}
INFO:__main__:NO PENDING BUFFER
INFO:__main__:DONE CLEARING BUFFERS
INFO:__main__:PROCESS:START:1218.624:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 21L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 20L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1223.81:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:1224.034:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x54 0x00 0x00 0x00 0x59 0x00 ..T...Y.
0010 0x69 0x00 0x5c 0x00 0x59 0x04 0x00 0x00 i.\.Y...
0018 0x05 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 89L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 84L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:1229.009:RadioStats:0x05 0x00
INFO:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 84L,
'packets.transmit': 89L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 20L,
'packets.transmit': 21L}}
INFO:__main__:howdy! all done looking at the stick
python decocare/stick.py /dev/ttyUSB0
elapsed 0:01.35
user 0.10
system 0.02
CPU 9% (0text+0data 10972max)k
```
```
INFO:__main__:howdy! I'm going to take a look at your pump.
INFO:link:Link opened serial port: Serial<id=0x7f5de9557a90, open=True>(port='/dev/ttyUSB0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=0.2, xonxoff=False, rtscts=False, dsrdtr=False)
INFO:stick:PROCESS:OPEN:0.018
INFO:stick:PROCESS:START:0.208:ProductInfo:0x04
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:finished processing ProductInfo:0x04, {'description': '\x00\x14\x00\x00\x00\x15\x00\x00\x00\x03', 'software.version': '0.3', 'interfaces': [], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '000000'}
INFO:stick:PROCESS:END:4.51:ProductInfo:0x04
INFO:stick:{'description': '\x00\x14\x00\x00\x00\x15\x00\x00\x00\x03', 'software.version': '0.3', 'interfaces': [], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '000000'}
INFO:stick:PROCESS:START:4.845:ProductInfo:0x04
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x0a 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:finished processing ProductInfo:0x04, {'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '868.35Mhz', 'serial': '0a0f00'}
INFO:stick:PROCESS:END:9.172:ProductInfo:0x04
INFO:stick:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '868.35Mhz', 'serial': '0a0f00'}
INFO:stick:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>]
INFO:stick:PROCESS:START:13.23:SignalStrength:0x06 0x00
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x0a 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:10
INFO:stick:finished processing SignalStrength:0x06 0x00, 10
INFO:stick:PROCESS:END:18.706:SignalStrength:0x06 0x00
INFO:stick:PROCESS:START:18.901:SignalStrength:0x06 0x00
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x9f 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:159
INFO:stick:finished processing SignalStrength:0x06 0x00, 159
INFO:stick:PROCESS:END:23.808:SignalStrength:0x06 0x00
INFO:stick:we seem to have found a nice signal strength of: 159
INFO:__main__:setting up to talk with 913995
INFO:stick:PROCESS:START:24.411:UsbStats:0x05 0x01
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xab 0x0f 0x00 0x00 0x00 .U......
0008 0x01 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 1833724270L, 'errors.naks': 0, 'errors.sequence': 15, 'packets.received': 82799L, 'errors.crc': 171}
INFO:stick:PROCESS:END:35.726:UsbStats:0x05 0x01
INFO:stick:PROCESS:START:35.928:RadioStats:0x05 0x00
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x05 0x00 0x00 .U......
0008 0x00 0x00 0x5a 0x00 0x00 0x00 0x5f 0x00 ..Z..._.
0010 0x6f 0x00 0x62 0x00 0x5f 0x04 0x00 0x00 o.b._...
0018 0x05 0x03 0x00 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 95L, 'errors.naks': 5, 'errors.sequence': 0, 'packets.received': 90L, 'errors.crc': 0}
INFO:stick:PROCESS:END:40.032:RadioStats:0x05 0x00
INFO:__main__:{'radio': {'errors.crc': 0,
'errors.naks': 5,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 90L,
'packets.transmit': 95L},
'usb': {'errors.crc': 171,
'errors.naks': 0,
'errors.sequence': 15,
'errors.timeouts': 0,
'packets.received': 82799L,
'packets.transmit': 1833724270L}}
INFO:__main__:BEGIN POWER CONTROL
PowerControl SERIAL 913995
INFO:__main__:execute attempt: 1
INFO:__main__:session transferring packet
INFO:stick:transmit_packet:write:<TransmitPacket:PowerControl:data:unknown>
INFO:stick:PROCESS:START:43.095:TransmitPacket:PowerControl:data:unknown
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:PowerControl:data:unknown>] processing TransmitPacket:PowerControl:data:unknown)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:PowerControl:data:unknown>] sending TransmitPacket:PowerControl:data:unknown)
DEBUG:stick:[1, 0, 167, 1, 145, 57, 149, 128, 2, 85, 0, 0, 0, 93, 19, 1, 10, 162]
INFO:root:usb.write.len: 18
0000 0x01 0x00 0xa7 0x01 0x91 0x39 0x95 0x80 .....9..
0008 0x02 0x55 0x00 0x00 0x00 0x5d 0x13 0x01 .U...]..
0010 0x0a 0xa2 ..
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:stick:finished processing TransmitPacket:PowerControl:data:unknown, bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x14\x00\x00\x00\x15\x00\x00\x00\x03\x00\x03\x00\x10\x00\x11\x00\x02\x00\x00\x00\x00\x00\x00\x01\x00\xa7\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
INFO:stick:PROCESS:END:46.276:TransmitPacket:PowerControl:data:unknown
INFO:__main__:sleeping 17 before download
INFO:__main__:no download required
INFO:__main__:finished executing:PowerControl:data:unknown
INFO:commands:PowerControl:data:unknown:download:done?explain=found[0] expected[0]
INFO:__main__:manually download PowerControl serial 913995
INFO:stick:download:start:0
INFO:stick:Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:PowerControl:data:unknown>]:download(attempts[1],expect[0],results[0]:data[0]):begin first poll first sleep .250
DEBUG:stick:<Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:PowerControl:data:unknown>]>:STARTING POLL PHASE:attempt:0
DEBUG:stick:<Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[None] poll_size[0] poll_i[0] command[<TransmitPacket:PowerControl:data:unknown>]>:poll:attempt:0
INFO:stick:PROCESS:START:17314.967:LinkStatus:0x03:status:size=64
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 0
INFO:root:usb.read.raw:
INFO:stick:zero length READ, try once more sleep .250
INFO:root:usb.read.len: 0
INFO:root:usb.read.raw:
INFO:stick:send_force_read: attempt 1/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:stick:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x00 0x14 0x00 0x00 0x00 0x15 0x00 ........
0010 0x00 0x00 0x03 0x00 0x03 0x00 0x10 0x00 ........
0018 0x11 0x00 0x02 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0xa7 0x00 0x00 0x00 0x00 ........
0028 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0030 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0038 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
INFO:stick:quit send_force_read, found len: 64 expected 64 after 1 attempts
INFO:stick:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:['OK']
INFO:stick:finished processing LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[], 0
INFO:stick:PROCESS:END:18078.755:LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]
DEBUG:stick:poll zero, sleeping in POLL, .100
DEBUG:stick:<Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]>:poll:attempt:1
INFO:stick:PROCESS:START:18179.729:LinkStatus:0x03:status:size=64
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[1] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[1] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3