liamcottle
9a979df471
Revert "Fix race condition in WebBleConnection"
...
This reverts commit 78a003767f .
2026-01-23 23:05:22 +13:00
Kelly Norton
6e42badf59
Fix calls that treat lat/lng as uint32 instead of int32
2026-01-21 21:07:40 -05:00
Michael Lynch
78a003767f
Fix race condition in WebBleConnection
...
WebBleConnection's constructor calls init(), which is async. Constructors can't be async, so this means that callers who instantiate WebBleConnection can end up with it in an invalid state after construction if init() hasn't completed by the time the caller tries to access class members that depend on init.
I think the cleaner solution is to push the init() call to open(), which is async, so it can just await the results of init(), and the caller can trust that after calling open(), the connection is fully initialized.
2026-01-01 19:23:47 -05:00
liamcottle
b652cff50e
add error code to error response data
2025-10-07 12:09:49 +13:00
liamcottle
db5831b9c6
added ability to sign data
2025-10-07 12:08:50 +13:00
liamcottle
5e2df84d9b
add docs
2025-09-26 17:52:59 +12:00
liamcottle
c90bf3ddd9
add ability to fetch repeater neighbours via binary request
2025-09-26 17:51:51 +12:00
liamcottle
23814a56ee
add deprecation notice
2025-09-26 17:25:12 +12:00
liamcottle
8695474d04
remove event listeners on timeout
2025-08-29 21:30:49 +12:00
liamcottle
95107eb2eb
implement timeout for trace path
2025-08-29 21:30:49 +12:00
liamcottle
352333153c
fix removing error listeners
2025-08-29 21:30:49 +12:00
Rastislav Vysoky
bc65c5a98d
remove console.log from findChannelByName loop
2025-08-24 19:45:20 +02:00
liamcottle
8ce2cf53e3
update repeater stats
2025-07-17 23:06:18 +12:00
liamcottle
83ea9c8e3c
add support for fetching telemetry from contacts
2025-06-20 16:17:02 +12:00
liamcottle
2588af9a28
add support for new advert push codes when contacts are set to manual add
2025-04-13 13:53:05 +12:00
liamcottle
24d330b189
add prefs toggle for auto adding or manual adding of new contacts
2025-04-13 13:43:52 +12:00
liamcottle
8059fea1b4
find channel by name or secret
2025-04-08 14:48:29 +12:00
liamcottle
e10db3d56c
add method to sync device time
2025-04-08 14:38:38 +12:00
liamcottle
cd5bebc973
add ability to find contact by name
2025-04-08 14:08:48 +12:00
liamcottle
db5e5bd76f
clear timeouts on success or error for repeater login and status requests
2025-04-08 14:05:21 +12:00
liamcottle
06f8f9d4ea
refactor ble connection to web ble connection
2025-04-08 13:54:25 +12:00
liamcottle
0210b5a438
tell device what protocol version we support when connected
2025-04-08 12:36:42 +12:00
liamcottle
bc32340185
move path to constructor
2025-04-08 12:18:12 +12:00
liamcottle
d5099eec20
add nodejs serial example
2025-04-08 12:14:21 +12:00
liamcottle
a324e15553
add nodejs serial connection support
2025-04-08 12:14:04 +12:00
liamcottle
de4e1d713b
refactor serial connection to base class and web serial class
2025-04-08 11:52:32 +12:00
liamcottle
9e3171bd78
implement path tracing
2025-03-17 23:17:03 +13:00
liamcottle
85d82b13c1
update comment
2025-03-11 20:43:21 +13:00
liamcottle
209992d307
implement setting and deleting channels
2025-03-11 20:23:06 +13:00
liamcottle
9e6f42f0bc
get channels
2025-03-11 19:16:55 +13:00
liamcottle
d1bf08fec4
implement zero hop repeater ping
2025-03-10 02:40:31 +13:00
liamcottle
b7a21b5e8e
send and receive raw data
2025-03-09 21:19:59 +13:00
liamcottle
0270c74293
log raw lora bytes received
2025-03-09 20:59:43 +13:00
liamcottle
5c6b2e1e04
add last snr field
2025-03-05 00:59:56 +13:00
liamcottle
a03023b771
add helper to fetch all waiting messages, and add command bot example
2025-03-04 17:36:22 +13:00
liamcottle
166762dc31
add helper function to find a contact by public key prefix
2025-03-04 17:29:14 +13:00
liamcottle
3882904b43
add tcp connection class and example
2025-03-04 16:48:43 +13:00
liamcottle
32928e3a96
simple cli console for remote repeater management
2025-02-27 17:48:19 +13:00
liamcottle
84df5aa57f
implement login and status request for fetching metrics from repeaters
2025-02-24 19:28:09 +13:00
liamcottle
a04a3a9b19
implement private key import and export
2025-02-21 16:58:17 +13:00
liamcottle
6dc6285cda
add device query command
2025-02-19 21:24:55 +13:00
liamcottle
939ca22918
add reboot string to reboot command
2025-02-19 20:48:42 +13:00
liamcottle
f6cfe37449
add ability to get battery voltage
2025-02-16 17:00:00 +13:00
liamcottle
8125faaccf
add ability to reboot device
2025-02-16 16:57:08 +13:00
liamcottle
e12d87c6ba
add helper function for setting custom path for contact
2025-02-15 23:11:11 +13:00
liamcottle
2aeb37ffa8
add helper function for adding or updating contact
2025-02-15 22:53:10 +13:00
liamcottle
3040bb54a9
add helper function for sharing contact
2025-02-15 22:44:54 +13:00
liamcottle
e262772fe3
add helper function for resetting path
2025-02-15 22:43:23 +13:00
liamcottle
2e3ecdb15e
add helper function for removing contact
2025-02-15 22:41:58 +13:00
liamcottle
fdc83c2f78
add helper function for exporting contact
2025-02-15 22:31:56 +13:00