irriden
754cfd771b
tester: add wifi_reset const in config.rs
...
this variable sets whether we just reset wifi or do a full config send
delete extraneous wifi.rs binary
2023-08-02 03:14:40 +00:00
irriden
84ec318450
also drop flash in case wifi access point flow fails
2023-08-02 02:50:55 +00:00
irriden
fe2b518a77
sphinx-key: implement wifi reset
...
additional-author: evan feenstra
this is an access mode that expects just the wifi config params,
without the seed
2023-08-02 02:41:59 +00:00
irriden
af5da5ef60
sphinx-key: button state machine improvements
...
gets rid of counters overflowing and crashing in debug mode
release mode wraps them around
reset state machine if unexpected input at any point in the machine's
lifetime
2023-08-02 02:40:05 +00:00
Evan Feenstra
e371c98463
bump sphinx-rs
2023-07-30 09:38:17 -07:00
irriden
34fac0bce5
sphinx-key: switch button gpio n from 8 to 9
...
the latest edition of sphinx-key hardware has the app button on gpio9
2023-07-29 23:35:00 +00:00
irriden
b6064579ad
sphinx-key: bring back led thread
...
no performance hit noticed
also cleanup a bunch of warnings
2023-07-29 22:07:38 +00:00
irriden
dae0655fde
bump sphinx-rs: relax thiserror dependency
...
this points to a relaxation of the thiserror dependency back to 1.0.44
and up. the memory growth was not due to v1.0.44 of thiserror, but
rather to the increase of the version of thiserror without doing a
complete rebuild from scratch ie. cargo clean + rm -rf .embuild"
2023-07-29 20:14:28 +00:00
irriden
d8c6ac4bd7
bump sphinx-rs
...
this points to a pin of thiserror to 1.0.43, which results in a
downgrade here. 1.0.44 was eating up 10K bytes upfront of esp32 DRAM.
2023-07-29 05:36:30 +00:00
irriden
a99584cb3c
bump sphinx-rs
2023-07-27 20:26:51 +00:00
Evan Feenstra
eed1aa72a5
drop newly attached signer from client list
2023-07-27 11:12:25 -07:00
irriden
41e74d30ef
sphinx-key: timeout sntp setup and restart
2023-07-27 16:13:57 +00:00
irriden
864f58c53b
sphinx-key: restart esp in case of wifi setup failure
...
this addresses intermittent errors, wifi info typos will be addressed later
2023-07-27 15:18:05 +00:00
irriden
d2510e3b9a
Merge branch 'fixed-prefix'
2023-07-27 15:12:51 +00:00
Evan Feenstra
e722b2cdca
little fixes
2023-07-26 22:30:58 -07:00
irriden
39e7c3dab8
broker, sphinx-key: remove variable session id
2023-07-26 23:07:51 +00:00
irriden
58f0f169dd
bump sphinx-rs deps
2023-07-26 22:36:20 +00:00
irriden
b0788dc4ef
sphinx-key: timeout lss init message reception
...
close #99
2023-07-26 21:38:38 +00:00
irriden
c86bafddd1
sphinx-key: allocate once when receiving message chunks
2023-07-26 16:52:18 +00:00
irriden
e408866e73
broker: client list is now a hashmap
...
the key is the fixed, per-signer id
the value is the session id, generated randomly for each connection
2023-07-26 02:13:44 +00:00
irriden
ea593cfea4
sphinx-key: add a fixed prefix to client id
...
this prefix is persisted to flash storage
2023-07-26 02:13:44 +00:00
irriden
7e290da6a6
sphinx-key: log message in case it's not lss
2023-07-25 19:40:59 +00:00
irriden
f9739b0533
broker: nit clarify comment and logging
2023-07-25 19:05:02 +00:00
irriden
44d849dccf
broker: switch pub_timeout from 9 to 4 secs
2023-07-25 18:15:49 +00:00
irriden
bf0a0d6ae9
broker: no need to pass connected into the reconn channel
2023-07-25 18:15:49 +00:00
irriden
2cf6fd7c1f
broker: add try counter to pub_and_wait
...
set to none to retry indefinitely until a response is received
closes #96
2023-07-25 18:15:19 +00:00
irriden
1491546f40
broker: add client id to client list only after it has completed the reconnect dance
...
closes #97
2023-07-25 18:14:54 +00:00
irriden
9d7e8b751f
sphinx-key: track sequence numbers, bump sphinx-rs
2023-07-22 01:15:51 +00:00
irriden
d867a28c4f
sphinx-key: add local crypter dep comment
2023-07-21 23:48:48 +00:00
irriden
4183b655bd
broker: add local vls deps comments
2023-07-21 23:47:44 +00:00
irriden
32aba182ee
Merge pull request #95 from stakwork/07-20-multisigner
...
multi signer first steps
2023-07-21 00:48:29 +00:00
irriden
3053a9273a
broker: create atomicu16, use as global sequence number
2023-07-20 23:45:27 +00:00
irriden
ad0a2f90ad
broker: make done_being_busy ordering::release, not ordering::relaxed
...
we want to make sure that all operations before this call have completed before
setting BUSY back to false
2023-07-20 18:27:51 +00:00
irriden
6adf9ef144
broker: remove sequence number from individual channel structs
...
for now broker sets sequence number to 0 across the board
2023-07-20 17:47:19 +00:00
irriden
21ac62c42a
point sphinx-rs to better-types merge commit
2023-07-19 17:46:05 +00:00
Evan Feenstra
aebd4e10bb
merge
2023-07-17 09:14:29 -07:00
Evan Feenstra
bbdff4eab0
bump sphinx-rs, drop rmp_serde
2023-07-17 09:10:57 -07:00
irriden
8c1f9937d3
bump sphinx-rs
2023-07-14 03:01:08 +00:00
Evan Feenstra
3f99d27766
broker configurable ws port
2023-07-13 15:47:35 -07:00
Evan Feenstra
092849cbc2
bump sphinx-rs
2023-07-11 16:25:48 -07:00
Evan Feenstra
140afe2564
bump sphinx-rs
2023-07-11 10:20:39 -07:00
Evan Feenstra
850ca9aaaf
bump deps
2023-07-10 20:44:06 -07:00
irriden
9fb78bbc2f
bump sphinx-rs deps
2023-07-10 20:59:41 +00:00
irriden
f35b539d90
factory: update partition table
2023-07-10 20:13:37 +00:00
Evan Feenstra
ec10d1aaf8
re-send HELLO on reconnect
2023-07-07 13:20:58 -07:00
Evan Feenstra
e6f8ea8e34
both init_1 and init_2 topics
2023-07-07 13:15:32 -07:00
Evan Feenstra
249c5f9d8e
rumqttd::router::routing log off
2023-07-07 12:58:16 -07:00
Evan Feenstra
c8501fdd10
immediate sub to hello and bye
2023-07-07 12:55:58 -07:00
Evan Feenstra
b796cb902a
Merge pull request #93 from stakwork/fix/update-rumqttd
...
update sphinx-rs, send HELLO, drop alerts API in broker and use hello…
2023-07-07 11:58:59 -07:00
Evan Feenstra
f7f4c9968e
merge master
2023-07-07 11:58:50 -07:00