Commit Graph

225 Commits

Author SHA1 Message Date
Evan Feenstra
5f75b97735 add test-flash to gitignore 2022-06-13 14:37:17 -07:00
Evan Feenstra
4ca483b001 little fix 2022-06-13 14:10:11 -07:00
Evan Feenstra
1276e4fb81 fix typo in cargo.toml 2022-06-13 13:59:36 -07:00
Evan Feenstra
97884f6279 fix integration test make_event_loop 2022-06-13 13:58:14 -07:00
Evan Feenstra
bf37a5946f configurable logging for signer 2022-06-13 13:03:55 -07:00
Evan Feenstra
94f9f8d733 impl internal Event enum, resubscribe if broker restarts 2022-06-12 11:19:06 -07:00
Evan Feenstra
a1ecd05526 use SyncLazy to track client connected state 2022-06-12 09:52:02 -07:00
Evan Feenstra
5a49be61b3 conditional compilation w features, try firmware mqtt reconn loop 2022-06-11 13:15:47 -07:00
Evan Feenstra
dc816934dd mode from env at compile time, reconn loop, try to compile with real signer 2022-06-10 16:45:15 -07:00
Evan Feenstra
da144c355a wait one second for mqtt router to start before sending init 2022-06-10 15:41:03 -07:00
Evan Feenstra
7571d9b8fd fix version log 2022-06-10 15:14:01 -07:00
Evan Feenstra
7af8539acf Merge pull request #29 from stakwork/auth-utils
auth utils, log setup
2022-06-10 12:39:28 -07:00
Evan Feenstra
770c474ea1 auth utils, log setup 2022-06-10 12:39:07 -07:00
Evan Feenstra
d8c9c00a36 Merge pull request #28 from stakwork/blocking-connect
try connect without async
2022-06-10 10:34:54 -07:00
Evan Feenstra
8946a4cd8f try connect without async 2022-06-10 10:34:18 -07:00
Evan Feenstra
49ff64024f Merge pull request #27 from stakwork/feat/broker-reconnect
Feat/broker reconnect
2022-06-10 10:08:49 -07:00
Evan Feenstra
7ee7ac071c refactor broker metrics conn, single threaded virtual esp, hardcoded config, start auther module 2022-06-10 10:08:11 -07:00
Evan Feenstra
7a5d4d7042 merge master 2022-06-09 19:26:28 -07:00
Evan Feenstra
f1e8e13dda broker reconnect working 2022-06-09 19:23:40 -07:00
Evan Feenstra
885cac5041 organize the init waiter 2022-06-09 14:41:39 -07:00
Evan Feenstra
ce00673993 try init_hsmd_2 manual seed loading from hsm_secret file 2022-06-09 14:23:51 -07:00
Evan Feenstra
937ff0d8de tokio select reconnect twice, but not more? 2022-06-09 13:31:13 -07:00
Evan Feenstra
895f79f61e broker reconnection loop using tokio::select macro, both tx and rx 2022-06-09 13:07:46 -07:00
Evan Feenstra
e4446f10c6 wait for conn ack to start listener loop 2022-06-09 10:54:18 -07:00
Evan Feenstra
e3db8f2d97 full tester bin 2022-06-09 10:36:04 -07:00
Evan Feenstra
224574141a Merge pull request #26 from stakwork/fix/vls-std-not-needed
the std::Error is not needed
2022-06-09 08:27:56 -07:00
Evan Feenstra
94f052e429 the std::Error is not needed 2022-06-09 08:27:27 -07:00
Jules
31cffcd2f6 Create sphinx key flow diagram (#19)
* first steps

* fix formatting

* more details

* Clarify wifi reset branch, and loop branch on mqtt message listen

* Small nits
2022-06-09 08:45:11 -06:00
Jules Comte
c911f778cf clarify bidirectional communication between modules 2022-06-09 08:36:26 -06:00
Jules
5abc15f3f4 Create architecture diagram (#23)
* first draft

* clarify groups of components

* more architecture

* Improve key components section

* Clarify communication between core ln and hsmd

* Add modules section

Co-authored-by: Evan Feenstra <evanfeenstra@gmail.com>
2022-06-09 08:22:33 -06:00
Evan Feenstra
688f1bd0e8 Merge pull request #22 from stakwork/handle-mqtt-disconnects
[WIP] Handle MQTT disconnects
2022-06-08 11:58:06 -07:00
Evan Feenstra
ef74309dce Merge pull request #24 from stakwork/better-msg-driver
utils for cleaner msg driver parsing and serialization
2022-06-08 11:16:19 -07:00
Evan Feenstra
919b6e571e utils for cleaner msg driver parsing and serialization 2022-06-08 11:15:56 -07:00
Jules Comte
ea7081b0ef Log MQTT connection states 2022-06-07 18:16:29 -06:00
Evan Feenstra
a58a09f099 Merge pull request #21 from stakwork/quick-notes-update
Quick update to notes
2022-06-07 09:03:54 -07:00
Jules Comte
11492a420c Quick update to notes 2022-06-07 10:00:06 -06:00
Evan Feenstra
3b4771241c dummy peer in root handler 2022-06-06 14:54:18 -07:00
Evan Feenstra
8ec7b6c87e Merge pull request #20 from stakwork/mpsc-loop
Mpsc loop
2022-06-06 14:26:23 -07:00
Evan Feenstra
da9e955d44 real signer handler, fix dummy pear 2022-06-06 14:25:05 -07:00
Evan Feenstra
066a44a5b6 VLS ping pong test running on ESP, no Mutex 2022-06-06 14:01:01 -07:00
Evan Feenstra
7b29d16884 signer init and handler, replace BackgroundEventLoop with mpsc channel, msg parse on esp 2022-06-06 13:17:24 -07:00
Evan Feenstra
96af4acb33 Merge pull request #17 from stakwork/real-test
Real test
2022-06-03 12:48:40 -07:00
Evan Feenstra
1537a71925 merge master 2022-06-03 12:47:58 -07:00
Evan Feenstra
d19bb5adc6 broker VLS unix connection, real ping test, clap cli utils, virtual VLS test client, mqtt relay channels 2022-06-03 12:46:19 -07:00
Evan Feenstra
0862e8fd26 Merge pull request #15 from stakwork/parse-ping-esp-demo-fix
two small fixes for the esp32 ping demo
2022-06-02 14:19:10 -07:00
Jules Comte
860794d76e two small fixes for the esp32 ping demo 2022-06-02 16:51:18 -04: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
Evan Feenstra
1872af3687 vls protocol broker and test client 2022-06-01 20:21:10 -07:00
Evan Feenstra
971671c906 Merge pull request #12 from stakwork/blink-on-recv
Blink blue when online, green when receive
2022-05-31 16:23:58 -07:00
Evan Feenstra
b5c1341253 Merge pull request #13 from stakwork/update-notes
Update riscv build notes
2022-05-31 15:41:37 -07:00