Commit Graph
100 Commits
Author SHA1 Message Date
Scott Powell b0946b3f6b Revert "disable led light on t-echo device"
This reverts commit 55453e1136.
2025-07-27 20:38:20 +10:00
Scott Powell c1041af5a1 Merge branch 'dev' 2025-07-24 20:31:13 +10:00
Scott Powell 365cb89634 * ver bump to 1.7.4 2025-07-24 20:30:35 +10:00
Scott Powell 4689f9b425 * CommonCLI: reverted "set radio ..." command, added new "tempradio ..." command 2025-07-23 22:04:47 +10:00
Scott Powell ea4aa93594 * CommonCLI: "set radio " now with optional 5th param timeout_mins, for applying temporary radio params for that many mins
* "advert" command now with longer delay, so that CLI reply is sent first
2025-07-23 21:40:37 +10:00
Scott Powell 855e4831f5 * updates to packet/payload structure docs 2025-07-18 12:56:31 +10:00
Scott Powell 3358783039 * sensor: "setperm {pubkey-hex} 0" command can now remove by partial pubkey
* sensor: login with blank password now just checks if sender is in ACL, and returns permissions (if so)
2025-07-16 21:16:05 +10:00
Scott Powell 5881b04a31 * companion: optional double ACKs, new prefs.multi_acks 2025-07-16 19:25:28 +10:00
Scott Powell 6bc8dd28d4 * CommonCLI: new "multi.acks" config setting 2025-07-16 18:51:18 +10:00
Scott Powell 3a0dfc1bf3 Merge branch 'dev' into double-acks 2025-07-16 18:02:41 +10:00
Scott Powell d15b374c29 * Sensor permission levels renamed. Misc sensor fixes. 2025-07-16 14:18:05 +10:00
Scott Powell c26418016b Merge branch 'dev' into double-acks 2025-07-15 17:02:20 +10:00
Scott Powell c6b469fa47 Merge branch 'dev' 2025-07-15 16:00:11 +10:00
Scott Powell f74819f8db * ver bump 2025-07-15 15:59:10 +10:00
Scott Powell fccb3b6c39 * companion: added CMD_FACTORY_RESET (51) 2025-07-15 15:56:59 +10:00
Scott Powell 7947e8a2d8 * simple_sensor: redesigned permissions
* companion:  PUSH_CODE_LOGIN_SUCCESS now has extra byte in frame for ACL permissions
2025-07-15 15:05:38 +10:00
Scott Powell da8bd717a4 * companion: serial protocol ver bump (FIRMWARE_VER_CODE) now 7 2025-07-14 13:09:22 +10:00
Scott Powell 1930dc347e * companion: reverted PUSH_CODE_TELEMETRY_RESPONSE, added new PUSH_CODE_BINARY_RESPONSE 2025-07-14 12:46:51 +10:00
Scott Powell df33321bdc * companion: added CMD_SEND_BINARY_REQ (50) 2025-07-14 12:25:34 +10:00
Scott Powell 8c104b8a8f Merge commit '9117798a41ce1538dae824e18a54a1fa3a735126' into dev 2025-07-14 10:50:23 +10:00
Scott Powell 4a2978736e * Sensor: "get acl" command 2025-07-14 10:12:27 +10:00
Scott Powell be68aaed20 * simple_sensor: new REQ_TYPE_GET_ACCESS_LIST 2025-07-13 18:50:52 +10:00
Scott Powell 339ee035aa * simple_sensor: handleCustomCommand() hook 2025-07-13 15:30:49 +10:00
Scott Powell 0d1b5b17d3 * simple_sensor: added alert send queue, with retries, checks for ACKs, etc. Low pri alerts only 1 send attempt, otherwise 4 attempts 2025-07-12 12:26:16 +10:00
Scott Powell d84feacc60 Merge branch 'dev' into double-acks 2025-07-12 10:36:03 +10:00
Scott Powell 781f7e99f6 * companion: added CMD_GET_TUNING_PARAMS -> RESP_CODE_TUNING_PARAMS 2025-07-09 23:10:33 +10:00
Scott Powell 797ab85283 * sensor node: now have two alert priorities, LO, HI 2025-07-09 15:50:36 +10:00
Scott Powell 1f23632751 Merge branch 'dev' into double-acks 2025-07-09 14:59:25 +10:00
Scott Powell 541cd8cfd9 * misc 2025-07-08 23:19:35 +10:00
Scott Powell 2715058eb2 * misc fixes 2025-07-08 23:19:35 +10:00
Scott Powell 112b360ef4 * implemented encoding responses to REQ_TYPE_GET_AVG_MIN_MAX 2025-07-08 23:19:35 +10:00
Scott Powell 29435342b0 * implemented getter methods for telemetry value types 2025-07-08 23:19:35 +10:00
Scott Powell 9cecbad2a7 * refactor: CommonCLI, processing of optional command prefix moved to handleCommand() call sites
* Sensor, anon_req now just for admin login (guest password now unused)
* special CLI command, "setperm {pubkey-hex} {permissions-int16}" for admin(s) to manage user access (permissions 0 = remove)
2025-07-08 23:19:35 +10:00
Scott Powell ac834922de * simplified alertIf()
* refactored TimeSeriesData to top-level class
2025-07-08 23:19:35 +10:00
Scott Powell de3e4bc27c * added REQ_TYPE_GET_AVG_MIN_MAX
* TimeSeriesData
* very basic SensorMesh::sendAlert()
2025-07-08 23:19:35 +10:00
Scott Powell 810b1f8fe7 * Mesh::onAnonDataRecv() slight optimisation, so that shared-secret calc doesn't need to be repeated
* SensporMesh: req_type now optionally encoded in anon_req payload (so can send various requests without a prior login)
2025-07-08 23:19:35 +10:00
Scott Powell 7fb7b69bbc * first cut of new simple_sensor sketch 2025-07-08 23:19:34 +10:00
Scott Powell d3831821c7 * XiaoC3 custom, .ini fixes 2025-07-08 22:59:07 +10:00
Scott Powell 7bec45b3dd Merge branch 'dev' into double-acks 2025-07-08 22:14:48 +10:00
Scott Powell 3d70a0d02c * added RADIOLIB_EXLUDE_'s for faster builds 2025-07-04 21:33:07 +10:00
Scott Powell eb978f1b50 Merge branch 'LR1110-workaround' into dev 2025-07-03 19:38:20 +10:00
Scott Powell 0963341f79 Merge branch 'dev' 2025-07-02 21:11:38 +10:00
Scott Powell 483b31665c * ver bump to v1.7.2 2025-07-02 21:11:07 +10:00
Scott Powell 3dc4607d89 * PAYLOAD_TYPE_PATH: reserving upper 4 bits if 'extra_type' field, for future use 2025-06-30 23:18:16 +10:00
Scott Powell 8c80c10d2a * CustomLR1110::getTimeOnAir(), copied from sx1262 2025-06-30 18:57:24 +10:00
Scott Powell a72fafcbf1 Merge branch 'main' into dev 2025-06-30 17:07:01 +10:00
Scott Powell f7920114c5 Merge branch 'dev' into double-acks 2025-06-29 21:10:43 +10:00
Scott Powell 165fb33d5c * ver bump to v1.7.1 2025-06-29 20:06:24 +10:00
Scott Powell e31017be1a Merge branch 'main' into dev 2025-06-29 20:04:03 +10:00
Scott Powell 187eea1b18 * Preamble now 16 (for most variants) 2025-06-29 20:03:10 +10:00
Scott Powell 3bd1dc3ffa * minor tidy ups 2025-06-28 16:10:53 +10:00
Scott Powell 55ff69bd25 * RAK: 'start ota' returned MAC address was reversed 2025-06-25 19:02:16 +10:00
Scott Powell 556051955d * ESP32Board: added support for Neopixel TX led 2025-06-25 14:54:13 +10:00
Scott Powell 8191c0901b * new variant board: Tenstar C3 2025-06-25 14:34:27 +10:00
Scott Powell b37c8017d9 * Fix: /helpers/esp32/TBeamBoard was breaking non-TBeam builds 2025-06-25 14:04:29 +10:00
Scott Powell 127f3a7640 Merge branch 'dev' into double-acks 2025-06-25 13:52:11 +10:00
Scott Powell 70252b010c Merge branch 'dev' into double-acks 2025-06-24 13:07:36 +10:00
Scott Powell 6d8fae26da Merge commit '299e85b830f4bf51c2e4d90e3e1bbb59025f608d' into dev 2025-06-24 12:05:00 +10:00
Scott Powell bd020c6167 * removed deprecated tbeam variant 2025-06-24 12:03:51 +10:00
Scott Powell 60d0064080 * room server: new posts now delayed by 6 seconds before syncing to clients 2025-06-23 15:56:19 +10:00
Scott Powell b1ca3d1eb1 * new PAYLOAD_TYPE_MULTIPART
* experimental double ACK's (at each hop), sent 300ms apart (direct mode only)
2025-06-23 01:14:08 +10:00
Scott Powell 478a57a6bd * AdvertDataParser: lat/lon can now be zeroes 2025-06-22 21:07:43 +10:00
Scott Powell 12a2f34598 * companion serial protocol ver bump to 6 2025-06-22 21:03:30 +10:00
Scott Powell 9df3c8c663 * companion: new 'advert_loc_policy' pref. Defaults to ADVERT_LOC_NONE (ie. do Not share location in adverts) 2025-06-22 16:21:04 +10:00
Scott Powell 1295c4633b * companion: minor refactor of who should invoke UITask::loop() 2025-06-21 20:48:28 +10:00
Scott Powell 205624824a * added std_init() to CustomSX1268 2025-06-21 15:27:58 +10:00
Scott Powell a7c959631f * companion: added Datastore methods: getStorageUsedKb(), getStorageTotalKb()
* companion: CMD_GET_BATTERY now changed to CMD_GET_BATT_AND_STORAGE
2025-06-20 16:47:59 +10:00
Scott Powell 85b164bcf1 * PicoW refactor, now using radio.std_init() 2025-06-20 16:42:49 +10:00
Scott Powell b865ac6c23 * refactored SensorManager::toggleGps() 2025-06-20 13:44:58 +10:00
Scott Powell 587d9d8818 * added CustomSX1262::std_init()
* refactored variants to use std_init(): heltec_v3, t114, xiao_c3
2025-06-19 10:58:10 +10:00
Scott Powell b3184eb94c * T114 repeater build fix 2025-06-18 17:20:38 +10:00
Scott Powell e6ce3c896d * companion: new CMD_GET_ADVERT_PATH -> RESP_CODE_ADVERT_PATH 2025-06-18 16:02:09 +10:00
Scott Powell 2a4b55a555 Merge commit 'e30eef73f7603bbc96e44ed5bae7a4588065c9a7' into dev 2025-06-18 14:59:19 +10:00
Scott Powell 9363478d6f * noise floor can now be queried even when int.thresh = 0 2025-06-18 01:27:53 +10:00
Scott Powell 0f9efa2ee8 * room server: suggested keep_alive interval now disabled 2025-06-16 17:02:44 +10:00
Scott Powell 8a7ec9d7fe * interference threshold now disabled by default 2025-06-13 17:24:47 +10:00
Scott Powell 466bd6d596 * fix for when AGC reset is disabled (interval = 0) 2025-06-13 14:25:09 +10:00
Scott Powell 32ca3dc9d0 * repeater and room server: new CLI setting "agc.reset.interval" (seconds) 2025-06-13 14:15:21 +10:00
Scott Powell c6f6e088fc * some HT-CT62 fixes 2025-06-09 17:34:04 +10:00
Scott Powell fd4885e9aa * HT-CT62 SPI fixes 2025-06-08 20:11:35 +10:00
Scott Powell dafb5d3e98 * added repeater target for Heltec-CT62 2025-06-08 18:41:29 +10:00
Scott Powell 3f1b2c5fc5 Merge branch 'dev' 2025-06-07 16:15:58 +10:00
Scott Powell af0c409cbb * ver bump to v1.7.0 2025-06-07 16:15:17 +10:00
Scott Powell 79eff3499c Merge branch 'datastore' into dev 2025-06-07 16:04:35 +10:00
Scott Powell 7dd7b715cd * enabling _PRIVATE_KEY import/export for ALL companions. 2025-06-07 14:20:59 +10:00
Scott Powell 9c833486bf * DataStore, advert blob record format change 2025-06-06 21:35:54 +10:00
Scott Powell dd808ee6c7 * new nRF52 impl for advert blobs 2025-06-06 19:50:51 +10:00
Scott Powell 6e0b505a2a * companion: refactor of all filesystem access to new DataStore module 2025-06-06 15:30:35 +10:00
Scott Powell 93e584f758 Merge branch 'main' into dev 2025-06-06 12:39:01 +10:00
Scott Powell 7b49ed4a67 Merge branch 'main' into dev 2025-06-05 19:15:30 +10:00
Scott Powell 9bcab0949e * noise floor lower bound now clamped to -120 2025-06-05 14:04:33 +10:00
Scott Powell 647d712ae8 * Companion: long-press in first 8 seconds now enters CLI Rescue mode 2025-06-04 21:33:48 +10:00
Scott Powell 5d15a68d0d * SERVER_RESPONSE_DELAY now applied to: login responses, companion telemetry responses 2025-06-04 18:10:47 +10:00
Scott Powell 0535919d63 * Mesh: reciprocal path send now with slightly less priority and 500ms delay 2025-06-03 20:28:05 +10:00
Scott Powell 75503ed52a * Companion now can be configured with TXT_ACK_DELAY (default is 200ms) 2025-06-03 20:27:09 +10:00
Scott Powell 6e2a0f3a9c * ESP32-C3 targets, now 80Mhz cpu 2025-06-03 19:01:45 +10:00
Scott Powell bdc369be67 * repeater & room server: new SERVER_RESPONSE_DELAY and TXT_ACK_DELAY defines. 2025-06-03 19:01:03 +10:00
Scott Powell 8cf20c7c24 * Room server fix: re-tries for pushPostToClient() used to have same packet hash 2025-06-02 22:19:46 +10:00
Scott Powell 1ba69f3b8d * self telemetry response simpler now 2025-06-02 20:44:05 +10:00
Scott Powell 870b5d2b70 * companion: 'self telemetry' request with CMD_SEND_TELEMETRY_REQ (with no pubkey param) 2025-06-02 20:28:00 +10:00