Commit Graph

426 Commits

Author SHA1 Message Date
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 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 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 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
liamcottle 0914056a09 tidy logic for devices with display 2025-07-06 14:16:43 +12:00
liamcottle 7ea6a98513 dont show cli data replies on display 2025-07-06 14:07:56 +12:00
Scott Powell 483b31665c * ver bump to v1.7.2 2025-07-02 21:11:07 +10:00
ripplebiz f8d277de83 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 165fb33d5c * ver bump to v1.7.1 2025-06-29 20:06:24 +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 12a2f34598 * companion serial protocol ver bump to 6 2025-06-22 21:03:30 +10:00
liamcottle 583cdd4980 fix indentation 2025-06-22 21:38:35 +12:00
liamcottle 37c20a348e add support for storage stats on nrf52 2025-06-22 21:35:21 +12: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
Rob Loranger f4463154cf 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 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
JQ e6ba025f77 add new quad press 2025-06-19 21:52:57 -07:00
JQ cdca6fa52a Merge branch 'dev' into analog-button 2025-06-19 21:50:16 -07:00
Scott Powell b865ac6c23 * refactored SensorManager::toggleGps() 2025-06-20 13:44:58 +10:00
JQ ee68401ad0 fixing button handling to allow both button types simultaneously 2025-06-19 16:47:31 -07:00
Florent de Lamotte 588a986976 t1000e: gps toggle not using board class 2025-06-19 17:26:58 +02:00
Florent de Lamotte 8765b3d040 Gps toggle on 4 clicks 2025-06-18 11:52:16 +02:00
Scott Powell e6ce3c896d * companion: new CMD_GET_ADVERT_PATH -> RESP_CODE_ADVERT_PATH 2025-06-18 16:02:09 +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 32ca3dc9d0 * repeater and room server: new CLI setting "agc.reset.interval" (seconds) 2025-06-13 14:15:21 +10:00
JQ 7c011324f2 feedback 2025-06-08 08:25:54 -07:00
JQ 42ef297241 set text width ahead of width calculation 2025-06-07 22:35:59 -07:00
JQ 1bc94c2ec3 minor companion ui fixes 2025-06-07 15:57:22 -07:00
Scott Powell af0c409cbb * ver bump to v1.7.0 2025-06-07 16:15:17 +10:00
ripplebiz c506aba30e Merge pull request #367 from 446564/companion-alerts
add basic alert system to companion UI
2025-06-07 16:09:09 +10:00
liamcottle 7f79d0c514 close roor dir after listing files 2025-06-07 17:56:20 +12:00
liamcottle 28edff43fd simplify serial print 2025-06-07 17:42:18 +12:00
liamcottle a50f89f16f ensure root path is usable 2025-06-07 17:38:22 +12:00