openbci-archive / OpenBCI_NodeJS

Node.js SDK for the all OpenBCI Biosensor Boards
https://www.npmjs.com/package/openbci
138 stars 50 forks source link

Added a debug option to dump serial traffic #107

Closed baffo32 closed 8 years ago

baffo32 commented 8 years ago
Sending soft reset
Waiting for '$$$'
Debug bytes:
>>>  76                                                |v|
Debug bytes:
0<<  4f 70 65 6e 42 43                                 |OpenBC|
Debug bytes:
0<<  49 20 56 33 20 53 69 6d 75  6c 61 74 6f 72 20 4f  |I V3 Simulator O|
0<<  6e 20 42 6f 61 72 64 20 41  44 53 31 32 39 39 20  |n Board ADS1299 |
0<<  44 65 76 69 63 65 20 49 44  3a 20 30 78 31 32 33  |Device ID: 0x123|
0<<  34 35 20 20 4c 49 53 33 44  48 20 44 65 76 69 63  |45  LIS3DH Devic|
0<<  65 20 49 44 3a 20 30 78 33  38 34 32 32 20 24 24  |e ID: 0x38422 $$|
0<<  24                                                |$|
Debug bytes:
>>>  62                                                |b|
Debug bytes:
3<<  a0 00 00 01 b2 ff ff d9 00  00 18 00 00 59 00 04  |.............Y..|
3<<  62 00 03 e0 00 01 00 00 01  2a 00 00 00 00 00 00  |b........*......|
3<<  c0 a0 01 00 04 90 00 02 4d  ff fb 31 00 00 e3 ff  |........M..1....|
3<<  fc c4 00 02 33 ff fe d5 00  07 6c 00 00 00 00 00  |....3.....l.....|
3<<  00 c0 a0 02 ff ff 59 00 03  79 00 01 7c ff f9 9e  |......Y..y..|...|
3<<  ff f9 86 ff fb 3c ff fd 06  00 02 ca 00 00 00 00  |.....<..........|
3<<  00 00 c0 a0 03 00 03 6b ff  fe 2e ff fe cb 00 00  |.......k........|
3<<  13 ff fd 22 ff fe 6d ff f9  68 00 00 d3 00 00 00  |..."..m..h......|
3<<  00 00 00 c0                                       |....|
stop streaming
Debug bytes:
>>>  73                                                |s|
baffo32 commented 8 years ago

whoops forgot coverage again

codecov-io commented 8 years ago

Current coverage is 93.77% (diff: 100%)

Merging #107 into 1.4.0 will increase coverage by 0.05%

@@              1.4.0       #107   diff @@
==========================================
  Files             4          4          
  Lines          2214       2232    +18   
  Methods         128        129     +1   
  Messages          0          0          
  Branches        467        471     +4   
==========================================
+ Hits           2075       2093    +18   
  Misses          139        139          
  Partials          0          0          

Powered by Codecov. Last update 9a17e41...69cd84f

andrewjaykeller commented 8 years ago

This may be my favorite new feature haha

baffo32 commented 8 years ago

fixed

baffo32 commented 8 years ago

could travis be having network issues? there's also a failing network-related task on 1.4.0 branch

andrewjaykeller commented 8 years ago

@baffo32 please fix merge conflict and this is g2g

baffo32 commented 8 years ago

merges clean now

andrewjaykeller commented 8 years ago

Great work @baffo32!! This feature is epic!