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
Liam Cottle
83c07a6ce2
Merge pull request #3 from recrof/patch-2
...
fix: ed25519 import bug
2025-10-08 21:59:52 +13: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
Rastislav Vysoky
5c0f3b1b98
fix: ed25519 import bug
2025-10-06 22:07:24 +02: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
44deca2c74
add cayenne lpp to exported classes
2025-09-13 21:02:38 +12:00
liamcottle
3fcd1ec89e
add cayenne lpp parser
2025-09-13 20:49: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
9acf56ed81
parse advert packet types
2025-08-19 12:51:25 +12: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
3edc69dacc
fix parsing advert type
2025-04-22 12:21:24 +12:00
liamcottle
3ed5eca66b
add error codes
2025-04-13 14:55: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
7ec82f8554
export new connection classes
2025-04-08 12:15:46 +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
c18496f788
add trace payload type
2025-04-04 22:19:56 +13: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
e80f1d73e4
refactor
2025-03-11 20:30:01 +13:00
liamcottle
78e990aeac
ui to test channels
2025-03-11 20:23:25 +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
26888c8fcf
parse extra packet types
2025-03-10 14:05:05 +13:00
liamcottle
fffe23ad89
remove advert parse for now since it requires external lib
2025-03-10 02:46:25 +13:00
liamcottle
d1bf08fec4
implement zero hop repeater ping
2025-03-10 02:40:31 +13:00
liamcottle
78d34c10cd
tidy
2025-03-10 00:13:26 +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
5d94ba88ee
parse packet types
2025-03-09 17:15:12 +13:00
liamcottle
f70049d38b
parse packets
2025-03-09 15:41:38 +13:00
liamcottle
5c6b2e1e04
add last snr field
2025-03-05 00:59:56 +13:00