Repository navigation
Commit 2c00a06
DEV-1047: recognise a NeuroLynQ-mode Verisense as a GQ
Docked, a Verisense in NeuroLynQ mode answers VER with its own hardware
ID (61 to 68) and the GQ's firmware ID, GQ_802154. It answers and streams
as a GQ does, but the host decided GQ-ness by hardware ID alone. So the
bench node (hardware 68, v2.1.1) stayed an unrecognised device with
"Unknown" firmware, and NeuroLynQ could not offer it for pairing.
ShimmerVerObject
- isVerisenseNeuroLynQ(): Verisense hardware running GQ_802154, the one
firmware ID that identifies it.
- isShimmerGenGq() includes it. Every caller, some 60 across the stack,
uses the no-argument form, so this is the one place that decides.
- isShimmerGenVerisense() excludes it. It sends GQ data, already scaled
to the GQ's ADC, so SensorGSR must take the GQ's ADC properties rather
than a Verisense's.
- isSupportedConfigViaUart() and isSupportedRtcConfigViaUart() include
it, so a dock reads and writes its InfoMem image and clock as it does a
GQ's. The node implements both commands.
- isSupportedSdCardAccess(), keyed on the GQ's firmware ID, excludes it:
it has no SD card, and its USB has no mass storage.
- Its firmware label follows, as "GQ_802154".
Configuration: the GQ sensor compatibility lists match GQs by hardware,
so each gains an entry matching GQ_802154 on any hardware. Only a
NeuroLynQ-mode Verisense needs it.
A stock Verisense, firmware VERISENSE, is unchanged. API_00014 covers
it, a GQ, and every Verisense hardware ID.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent c446e1b commit 2c00a06
3 files changed
Lines changed: 119 additions & 10 deletions
File tree
- ShimmerDriver/src
- main/java/com/shimmerresearch
- driverUtilities
- driver
- test/java/com/shimmerresearch/driverUtilities
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
1340 | 1344 | | |
1341 | 1345 | | |
1342 | 1346 | | |
| |||
1406 | 1410 | | |
1407 | 1411 | | |
1408 | 1412 | | |
1409 | | - | |
| 1413 | + | |
1410 | 1414 | | |
1411 | 1415 | | |
1412 | 1416 | | |
| |||
1418 | 1422 | | |
1419 | 1423 | | |
1420 | 1424 | | |
1421 | | - | |
| 1425 | + | |
1422 | 1426 | | |
1423 | 1427 | | |
1424 | 1428 | | |
1425 | | - | |
| 1429 | + | |
1426 | 1430 | | |
1427 | 1431 | | |
1428 | 1432 | | |
1429 | 1433 | | |
1430 | | - | |
| 1434 | + | |
1431 | 1435 | | |
1432 | 1436 | | |
1433 | 1437 | | |
1434 | 1438 | | |
1435 | 1439 | | |
1436 | | - | |
| 1440 | + | |
1437 | 1441 | | |
1438 | 1442 | | |
1439 | 1443 | | |
| |||
1446 | 1450 | | |
1447 | 1451 | | |
1448 | 1452 | | |
1449 | | - | |
| 1453 | + | |
1450 | 1454 | | |
1451 | 1455 | | |
1452 | 1456 | | |
| |||
1457 | 1461 | | |
1458 | 1462 | | |
1459 | 1463 | | |
1460 | | - | |
| 1464 | + | |
1461 | 1465 | | |
1462 | 1466 | | |
1463 | 1467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
410 | 411 | | |
411 | 412 | | |
412 | 413 | | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
| |||
427 | 429 | | |
428 | 430 | | |
429 | 431 | | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
| |||
445 | 448 | | |
446 | 449 | | |
447 | 450 | | |
448 | | - | |
| 451 | + | |
| 452 | + | |
449 | 453 | | |
450 | 454 | | |
451 | 455 | | |
| |||
645 | 649 | | |
646 | 650 | | |
647 | 651 | | |
648 | | - | |
| 652 | + | |
649 | 653 | | |
650 | 654 | | |
651 | 655 | | |
652 | 656 | | |
653 | 657 | | |
654 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
655 | 672 | | |
656 | 673 | | |
657 | 674 | | |
| |||
667 | 684 | | |
668 | 685 | | |
669 | 686 | | |
| 687 | + | |
| 688 | + | |
670 | 689 | | |
671 | | - | |
| 690 | + | |
672 | 691 | | |
673 | 692 | | |
674 | 693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments