Commit graph

126 commits

Author SHA1 Message Date
liamcottle
6f571c90dd added support for get stats commands 2026-03-26 10:04:15 +13:00
liamcottle
ff135fe0b4 add constant for developer data type 2026-03-24 00:14:38 +13:00
liamcottle
a06dbbebfd add ability to send and receive channel data 2026-03-24 00:11:52 +13:00
liamcottle
b4efd2b1c0 fix typo 2026-03-18 17:43:23 +13:00
liamcottle
fab7e05972 fix typo in file name 2026-03-09 23:37:21 +13:00
Rastislav Vysoky
6a23198ae3
Add ADV_TYPE_SENSOR to Advert class 2026-03-07 08:33:57 +01:00
liamcottle
7d3e25f13d export transport key util 2026-03-07 12:21:29 +13:00
liamcottle
60dfbf55cb add helper util to generate hashtag region keys 2026-03-07 12:20:40 +13:00
liamcottle
7450b880bb add connection commands to set and clear flood scope 2026-03-07 12:00:02 +13:00
liamcottle
bd0af9aecf add support for parsing multibyte paths and added helper methods 2026-03-07 11:52:25 +13:00
liamcottle
5fa39ceb37 add helper class to parse meshcore path info 2026-03-07 11:46:42 +13:00
liamcottle
f59b0f7ce4 parse feature flags if present in advert app data 2026-02-11 09:56:26 +13:00
liamcottle
7ba63d5f54 parse transport codes 2026-02-11 01:05:30 +13:00
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