Commit graph

79 commits

Author SHA1 Message Date
Laura Klünder
a62017f3a2 answer echo request messages 2024-03-31 01:23:37 +01:00
Laura Klünder
b958ef6292 fix message forwarding 2024-03-31 01:23:24 +01:00
Laura Klünder
4e8d1f40b8 handle the mesh routing error message 2024-03-31 00:57:03 +01:00
Laura Klünder
5d8583409c amazing fucking typo 2024-03-30 23:50:01 +01:00
Laura Klünder
3628cb47b6 ow ow ow she bit my arm 2024-03-30 23:45:00 +01:00
Laura Klünder
e0ad24f7ff fix issue reacting to add destination msg 2024-03-30 23:38:31 +01:00
Laura Klünder
66c328a687 assign node config and ibeacon config automatically 2024-03-30 23:29:05 +01:00
Laura Klünder
272581c19e fix database thing in websocket 2024-03-30 22:25:10 +01:00
Laura Klünder
9279e03636 fix consumer working with new mesh signin flow 2024-03-30 21:50:00 +01:00
Laura Klünder
740b896d18 new more complicated mesh code 2024-03-30 19:04:12 +01:00
Laura Klünder
a51aa46ccd don't break on key error for MESH_ROUTE_REQUEST 2024-03-30 12:36:57 +01:00
Laura Klünder
2a0ccc4f00 fix sending messages hopefully? 2024-03-29 18:24:30 +01:00
Laura Klünder
03426c1989 model_dump() needs to use mode="json" 2024-03-29 15:01:39 +01:00
Jenny Danzmayr
4686bf21a7 websocket debugging stuff 2024-03-28 21:39:30 +01:00
Laura Klünder
0fd789173a change all of the MeshMessages c-models from dataclasses to pydantic 2024-03-09 17:19:08 +01:00
Laura Klünder
233d09fd04 send ota chunks more slowly 2024-02-01 16:39:17 +01:00
Laura Klünder
a8fda62d24 read x-mesh-secret header correctly 2023-12-09 20:24:48 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
68d9d535c7 mesh websocket auth: use X-Mesh-Secret 2023-12-04 23:09:27 +01:00
Gwendolyn
ac6f154f06 various ota fixes 2023-12-02 02:25:43 +01:00
Gwendolyn
013a480f6d switch ota status highest_chunk to next_expected_chunk 2023-12-02 02:21:42 +01:00
Laura Klünder
d789bb2382 don't fail with unhandled message type bluh bluh 2023-12-02 02:02:54 +01:00
Jenny Danzmayr
78ff88a390 prevent side channel attacks in the mesh authorization code 2023-12-01 17:11:06 +01:00
Laura Klünder
a3bac07a23 mesh websocket authorization 2023-12-01 17:04:39 +01:00
Laura Klünder
0256c061ea starting OTA without reconnecting the node, canceling OTA too… wow 2023-12-01 16:39:27 +01:00
Laura Klünder
a3f763ad35 ota controls… hopefully nearly complete 2023-12-01 16:23:17 +01:00
Laura Klünder
bef3db6841 blubb bloobb 2023-12-01 15:19:51 +01:00
Laura Klünder
e295c62757 linter deserves happiness 2023-12-01 15:00:40 +01:00
Laura Klünder
434e1edcc0 more ota status stuff in python and more way to communicate status in c 2023-12-01 14:58:47 +01:00
Laura Klünder
faad19f5a5 board boots with target firmware? OTA success! 2023-11-30 22:45:53 +01:00
Laura Klünder
62e97b0b2f show ota update progress in bytes 2023-11-30 22:31:42 +01:00
Laura Klünder
e579cb53b6 send all the data for the OTA 2023-11-30 22:03:22 +01:00
Laura Klünder
ad98eecf41 more rangelocator experimenting 2023-11-27 22:09:31 +01:00
Laura Klünder
d3c4d71331 ignore unexpected messages 2023-11-27 22:08:35 +01:00
Laura Klünder
9ea368f576 refuse to add nodes with invalid addresses 2023-11-27 17:10:38 +01:00
Laura Klünder
0af7c4801f make it possible to request OTA fragments 2023-11-26 18:47:56 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
42280d6c71 rename variable to make more sense 2023-11-26 17:47:09 +01:00
Laura Klünder
d6b86425ee lots of adjustments in consumer code, more state handling and stuff 2023-11-26 17:39:10 +01:00
Laura Klünder
868851461f no holding back, send all the chunks and send them quick 2023-11-26 16:23:15 +01:00
Laura Klünder
efd4f32377 most of the mesh websocket OTA mechanism stuff 2023-11-26 02:41:48 +01:00
Laura Klünder
79dff87ce1 node ranging → show calculated position and diffs 2023-11-25 21:53:28 +01:00
Laura Klünder
a125cc9110 fix send mesh messages form 2023-11-25 19:09:32 +01:00
Laura Klünder
5cf839577a add ranging feature in mesh control 2023-11-25 14:42:29 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +01:00
Laura Klünder
0cd17ea237 fix the new mesh/uplink data stuff 2023-11-11 12:20:10 +01:00
Laura Klünder
394450f4a3 implement some auth for MeshUIConsumer 2023-11-09 17:04:55 +01:00
Laura Klünder
66810b20b0 mesh routing now fully database-bound 2023-11-07 16:35:46 +01:00
Laura Klünder
ee539f678a use database transactions when adding/removing uplink destinations 2023-11-07 15:37:45 +01:00
Laura Klünder
18144dde30 our consumers are async now, hurray 2023-11-07 14:25:54 +01:00