Commit Graph

23 Commits

Author SHA1 Message Date
decentclock
2a4945f44a tester: add ota control message sends to ctrl bin 2022-09-25 21:28:44 -04:00
decentclock
79fea3092d ota: pull update binary from http server, write it to sd card, and factory reset 2022-09-25 16:59:48 -04:00
decentclock
f208a5af5e propagate errors to user in handle_control_response 2022-09-24 16:08:33 -04:00
Evan Feenstra
aeb48e36c3 tester and esp32 create signed timestamp for auth 2022-09-16 12:30:33 -07:00
Evan Feenstra
55383f1337 error parser 2022-09-15 12:03:24 -07:00
Evan Feenstra
dc2afb0547 fix improt 2022-09-14 14:11:13 -07:00
Evan Feenstra
7aa4dd72da use sphinx-rs glyph types 2022-09-13 16:25:39 -07:00
Evan Feenstra
1577766394 fix nonce checker 2022-09-12 16:01:51 -07:00
Evan Feenstra
708003ca4d policy stored in flash, more FlashPersister impls, handle_control_response util, ControlResponse::Error, simple policy 2022-09-12 15:13:48 -07:00
Evan Feenstra
17fee73ccb fix new_with_persister, return the original msg from controller.handle 2022-09-12 11:28:35 -07:00
Evan Feenstra
51659c74ac central topics consts shared between modules 2022-09-12 10:37:04 -07:00
Evan Feenstra
6d566107f6 separate config and seed store, simplify flash access, more methods in FlashPersister 2022-09-10 17:36:07 -07:00
Evan Feenstra
2b1e184395 impl set_nonce for FlashPersister 2022-09-09 11:47:35 -07:00
Evan Feenstra
8c48ebda07 update tester main, Nonce message is the only one with nonce unchecked 2022-09-09 11:40:23 -07:00
Evan Feenstra
8e48f904ae control persister with flash, ctrl handler func, return mqtt pub 2022-09-08 16:42:44 -07:00
Evan Feenstra
de68957cdf round trip ControlMessage auth test 2022-09-08 14:47:58 -07:00
Evan Feenstra
4698d8bbae controller to parse and validate incoming ControlMessage bytes 2022-09-02 14:39:07 -07:00
Evan Feenstra
7b70bb7580 nonce utils in parser, key derivation utils to get node id from seed 2022-09-02 12:48:09 -07:00
Evan Feenstra
81c3cced36 start control msg validator 2022-09-01 17:52:00 -07:00
Evan Feenstra
ea9e6df988 add parser test 2022-07-14 13:17:14 -07:00
Evan Feenstra
94f052e429 the std::Error is not needed 2022-06-09 08:27:27 -07:00
Evan Feenstra
919b6e571e utils for cleaner msg driver parsing and serialization 2022-06-08 11:15:56 -07:00
Evan Feenstra
7f47f2b525 parse package, MsgDriver read/write impl, refactor project to workspace, test_client sending Ping msgs 2022-06-02 11:16:12 -07:00