Commit Graph
421 Commits
Author SHA1 Message Date
Scott Powell 8c49467b6d * simple_sensor: new REQ_TYPE_GET_ACCESS_LIST 2025-07-13 18:50:52 +10:00
Scott Powell 11b15d925e * simple_sensor: handleCustomCommand() hook 2025-07-13 15:30:49 +10:00
Scott Powell c4f0f1eede * 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 41d285535a * companion: added CMD_GET_TUNING_PARAMS -> RESP_CODE_TUNING_PARAMS 2025-07-09 23:10:33 +10:00
Scott Powell fa06dee97c * sensor node: now have two alert priorities, LO, HI 2025-07-09 15:50:36 +10:00
Scott Powell 7954e8fb1b * misc 2025-07-08 23:19:35 +10:00
Scott Powell 44ae1d42b5 * misc fixes 2025-07-08 23:19:35 +10:00
Scott Powell 5ac7b9e03d * implemented encoding responses to REQ_TYPE_GET_AVG_MIN_MAX 2025-07-08 23:19:35 +10:00
Scott Powell 25bde77afb * implemented getter methods for telemetry value types 2025-07-08 23:19:35 +10:00
Scott Powell 8c56e9901f * 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 3bb33a8017 * simplified alertIf()
* refactored TimeSeriesData to top-level class
2025-07-08 23:19:35 +10:00
Scott Powell a7f8ac6b9d * added REQ_TYPE_GET_AVG_MIN_MAX
* TimeSeriesData
* very basic SensorMesh::sendAlert()
2025-07-08 23:19:35 +10:00
Scott Powell 1c9194181a * 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 2df34a67b1 * first cut of new simple_sensor sketch 2025-07-08 23:19:34 +10:00
liamcottle 70881f56ce tidy logic for devices with display 2025-07-06 14:16:43 +12:00
liamcottle c40563ff53 dont show cli data replies on display 2025-07-06 14:07:56 +12:00
Scott Powell 0f9535d15b * ver bump to v1.7.2 2025-07-02 21:11:07 +10:00
ripplebiz cb646dd2dd Merge pull request #426 from 446564/feat-GH109
allows manual BLE pin even when device has display
2025-07-01 15:09:43 +10:00
Scott Powell 827d2771d1 * ver bump to v1.7.1 2025-06-29 20:06:24 +10:00
Scott Powell e7df8c283f * room server: new posts now delayed by 6 seconds before syncing to clients 2025-06-23 15:56:19 +10:00
Scott Powell 2d89195de7 * companion serial protocol ver bump to 6 2025-06-22 21:03:30 +10:00
liamcottle 84484853ca fix indentation 2025-06-22 21:38:35 +12:00
liamcottle f869862b9a add support for storage stats on nrf52 2025-06-22 21:35:21 +12:00
Scott Powell 9d3ef66e10 * 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 9741009af3 * companion: minor refactor of who should invoke UITask::loop() 2025-06-21 20:48:28 +10:00
Rob Loranger 6f9e76960a allows manual BLE pin even when device has display
also updates remaining variants to use default of
123456 instead of 0 for random pin
2025-06-20 14:20:42 -07:00
Scott Powell fb5b3b7c6c * 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
JQ 65d4c44031 add new quad press 2025-06-19 21:52:57 -07:00
JQ e9c0f54a20 Merge branch 'dev' into analog-button 2025-06-19 21:50:16 -07:00
Scott Powell 8c00fa1f08 * refactored SensorManager::toggleGps() 2025-06-20 13:44:58 +10:00
JQ 427051eb39 fixing button handling to allow both button types simultaneously 2025-06-19 16:47:31 -07:00
Florent de Lamotte e34d38d2d9 t1000e: gps toggle not using board class 2025-06-19 17:26:58 +02:00
Florent de Lamotte 568e4332b2 Gps toggle on 4 clicks 2025-06-18 11:52:16 +02:00
Scott Powell 28c0be48eb * companion: new CMD_GET_ADVERT_PATH -> RESP_CODE_ADVERT_PATH 2025-06-18 16:02:09 +10:00
Scott Powell 01b246b3ff * room server: suggested keep_alive interval now disabled 2025-06-16 17:02:44 +10:00
Scott Powell 18fcc93475 * interference threshold now disabled by default 2025-06-13 17:24:47 +10:00
Scott Powell b7be7f7966 * repeater and room server: new CLI setting "agc.reset.interval" (seconds) 2025-06-13 14:15:21 +10:00
JQ 8fb8e09e12 feedback 2025-06-08 08:25:54 -07:00
JQ b910159213 set text width ahead of width calculation 2025-06-07 22:35:59 -07:00
JQ a3530b4ee2 minor companion ui fixes 2025-06-07 15:57:22 -07:00
Scott Powell 7a03292709 * ver bump to v1.7.0 2025-06-07 16:15:17 +10:00
ripplebiz 222df82924 Merge pull request #367 from 446564/companion-alerts
add basic alert system to companion UI
2025-06-07 16:09:09 +10:00
liamcottle 3ddc507732 close roor dir after listing files 2025-06-07 17:56:20 +12:00
liamcottle 16d2ffcf46 simplify serial print 2025-06-07 17:42:18 +12:00
liamcottle 433d3b7942 ensure root path is usable 2025-06-07 17:38:22 +12:00
liamcottle 78012ae9ab don't create file when trying to open for read 2025-06-07 16:17:45 +12:00
liamcottle fcf68d3a16 ensure user isn't removing invalid path 2025-06-07 16:03:04 +12:00
liamcottle 497c61f507 add rm command to remove file 2025-06-07 15:44:36 +12:00
liamcottle dc26989499 implement ls and cat commands for rescue mode 2025-06-07 15:23:55 +12:00
Rob Loranger 173aea2bbc add basic alert system to companion UI
Adds `_alert[80]` which can be set along with `_needs_refresh`
to trigger a simple on screen alert that lasts 1s at this time.

Implements POC with double press to advert action
2025-06-06 09:11:47 -07:00