Commit Graph

33 Commits

Author SHA1 Message Date
Ben Meadors
4b95b0ff30 Module config progress 2022-06-29 18:35:06 -05:00
Thomas Göttgens
8dbd6431f7 almost working 2022-06-17 12:31:18 +02:00
Thomas Göttgens
9c79f9d80e Wait again, since we don't request config manually 2022-06-17 10:54:31 +02:00
Mike Kinney
5bfebbe436 comment out code until it does not complain 2022-06-16 22:38:23 -07:00
Mike Kinney
5965615e17 increase timeout; ensure secondary channel is deleted before trying to add it 2022-03-02 00:04:21 +00:00
Balazs Kelemen
b56a054f50 Canned message - Extend messages length 2022-02-21 22:06:03 +01:00
Mike Kinney
0f89baa36e fix the pylint unused-argument warnings 2022-01-12 14:41:49 -08:00
Mike Kinney
52db617b06 refactor code to only call local node when necessary; fix tests 2022-01-10 16:20:11 -08:00
Mike Kinney
5c662822b9 need to fully qualify imports so projects consuming the library will work 2022-01-05 11:16:08 -08:00
Mike Kinney
676148cc14 meant to use decoded not decode 2022-01-02 11:19:17 -08:00
Mike Kinney
a915b05240 remove nested keys from nodes so we do not display garbage 2022-01-02 11:15:19 -08:00
Mike Kinney
83c18f4008 working on more unit tests 2022-01-01 15:48:33 -08:00
Mike Kinney
8b6321ce7f add a few more tests 2022-01-01 15:21:53 -08:00
Mike Kinney
0b6676c5b3 do not print line for export; comment out ble test; do not send decoded 2022-01-01 09:49:21 -08:00
Mike Kinney
a1809f5b84 if mac address is in nodes, format it like a valid mac address 2021-12-31 20:01:14 -08:00
Mike Kinney
65960fb982 added tests for _getOrCreateByNum(), nodeNumToId(), and _fixupPosition(); found/fixed bug on _fixupPosition 2021-12-31 13:43:37 -08:00
Mike Kinney
cecc5c3b25 remove the raw key from the nodes dict 2021-12-30 08:26:13 -08:00
Mike Kinney
901be0ae04 wip; testing gpio read not working for me on real device; worked on gpio watch 2021-12-24 10:17:45 -08:00
Mike Kinney
fee052892b got gpio read to work and one unit test 2021-12-23 14:35:48 -08:00
Mike Kinney
4428ccfe59 add unit tests for getMyUser(), getLongName(), getShortName(), and sendPacket() 2021-12-22 16:15:16 -08:00
Mike Kinney
2919930473 unit tests for sendPacket() 2021-12-21 15:21:30 -08:00
Mike Kinney
302f52469a add unit tests for toRadio, sendData() and sendPosition(); found and fixed Exception without raise 2021-12-21 14:47:05 -08:00
Mike Kinney
1c8a5d8c5b work around for issue 172 2021-12-20 22:11:52 -08:00
Mike Kinney
23d946baaa wip on validating --set-owner on remote node 2021-12-19 17:34:39 -08:00
Mike Kinney
e43d9f5318 add unit tests for _handleFromRadio() and sendPosition() 2021-12-16 19:12:55 -08:00
Mike Kinney
2a0c9f0669 add mesh_interface unit tests for handlePacketFromRadio and getNode 2021-12-16 17:02:40 -08:00
Mike Kinney
6b0521003c wip on adding unit tests to mesh_interface 2021-12-16 11:51:25 -08:00
Mike Kinney
2fcfdeb04f minor formatting; added unit tests for Node() 2021-12-16 09:10:45 -08:00
Mike Kinney
ef9a97d1f7 initial test_ble_interface; add another unit test 2021-12-15 16:15:46 -08:00
Mike Kinney
624c933dbf fix (or disable) pylint warnings 2021-12-08 15:00:57 -08:00
Mike Kinney
592be9a2a1 improve the error messages; change from exceptions where it makes sense 2021-12-07 14:19:54 -08:00
Mike Kinney
6d2a187d38 fix pylint warnings 2021-12-06 23:01:34 -08:00
Mike Kinney
b40eb08c5c refactor classes into respective files 2021-12-06 22:19:26 -08:00