Commit Graph
100 Commits
Author SHA1 Message Date
Scott Powell 6f79ddc025 * build fix 2025-03-16 22:11:27 +11:00
Scott Powell 968ccc47a3 * companion: SSD1306 display now dynamically detected at runtime. 2025-03-16 13:42:36 +11:00
Scott Powell 0e8fe7579b * CMD_SIGN_DATA null check 2025-03-15 22:06:57 +11:00
Scott Powell 0546edc51f * companion: can now sign arbitrary data (up to 8K) 2025-03-15 21:41:44 +11:00
Scott Powell 05e02babe6 * minor refactor for RAK_4631 SerialInterface 2025-03-15 14:55:52 +11:00
Scott Powell c00ee96d86 * some fixes around the powerOff(). Tidy ups 2025-03-14 19:08:41 +11:00
Scott Powell c3a3309f5e * ver bump: 1.3.0 2025-03-13 13:46:01 +11:00
Scott Powell cc3c2ba958 * missing param 2025-03-13 13:32:46 +11:00
Scott Powell 3dbe6bb11f Merge branch 'main' into dev 2025-03-11 20:09:59 +11:00
Scott Powell 60982b3821 * companion: channel names 2025-03-11 17:58:12 +11:00
Scott Powell c0379858b6 * companion: channels now persisted. RESP_CODE_DEVICE_INFO now includes MAX_CONTACTS (div 2) and MAX_GROUP_CHANNELS 2025-03-11 15:31:38 +11:00
Scott Powell 4863508e95 * Companion: new CMD_GET_CHANNEL, CMD_SET_CHANNEL 2025-03-11 14:50:40 +11:00
Scott Powell 6cb1be33d1 * BLE_NAME_PREFIX refactor 2025-03-11 13:25:48 +11:00
Scott Powell 8b586e1b66 Merge branch 'main' into dev 2025-03-11 13:20:52 +11:00
Scott Powell a38b0455f3 Merge branch 'main' into dev 2025-03-11 13:19:13 +11:00
Scott Powell a88a3401c4 * repeater & room server: new CLI config "flood.max" 2025-03-10 23:28:19 +11:00
Scott Powell c5011e8b74 ver bump to 1.2.2 2025-03-09 23:46:03 +11:00
Scott Powell 2a8d42791f updating RadioLib to ver 7.1.2 2025-03-09 23:44:34 +11:00
Scott Powell 2df1820424 * trying setCRC(1) 2025-03-09 22:15:58 +11:00
Scott Powell 31aca85109 * repeater and room server: MESH_PACKET_LOGGING, now dumps RAW: rx packet contents
* Dispatcher: MESH_PACKET_LOGGING,  added " hash={packet-hash}"
2025-03-09 20:36:49 +11:00
Scott Powell 82b53fb64d * PUSH_CODE_LOG_RX_DATA: is now just: {snr*4},{rssi},{raw-lora-packet} 2025-03-09 17:04:22 +11:00
Scott Powell 5b384a0122 * companion: added new PUSH_CODE_LOG_RX_DATA (0x88) for inspecting all received packets 2025-03-09 15:41:32 +11:00
Scott Powell bc4f4d0e66 Merge branch 'main' into dev
# Conflicts:
#	platformio.ini
2025-03-09 14:56:39 +11:00
Scott Powell f7523c0eb3 * T1000e battery measure fix 2025-03-08 20:18:15 +11:00
Scott Powell d8391a90ea * new build option: SX126X_RX_BOOSTED_GAIN 2025-03-08 19:59:07 +11:00
Scott Powell b6f9bd6a76 * Dispatcher: added guard for packet payload size too large 2025-03-08 19:38:36 +11:00
Scott Powell 211fa85c19 * doc updates 2025-03-08 13:40:39 +11:00
Scott Powell 39f286bdab Version bump to v1.2.1 2025-03-07 22:01:30 +11:00
Scott Powell e643722ef3 * Heltec v3.2 VEXT fix
* Heltec T114 LED fix, (now flashes with LoRa TX)
2025-03-07 21:37:05 +11:00
Scott Powell 04cc772a4f * display.begin() delayed in setup().
* all firmwares now bumped to v1.2.0
2025-03-07 17:19:27 +11:00
Scott Powell 4af80aa1d6 * companion: new command: CMD_GET_CONTACT_BY_KEY (30) 2025-03-07 12:00:11 +11:00
Scott Powell 4154632d63 * room server: version bump to v1.1.0. This is now NOT compatible with previous clients (TDeck and companion radio). 2025-03-06 18:36:43 +11:00
Scott Powell f4740815db * Room Server post ACK bug fix! 2025-03-06 18:16:48 +11:00
Scott Powell 4da58a8141 * .yml files, permissions: write 2025-03-05 19:48:52 +11:00
Scott Powell bbdf3eb2b9 * now suppressing 'cp' errors 2025-03-05 19:20:28 +11:00
Scott Powell f32a8093d4 * companion, HeltecV3: now picks random BLE pin for every session (from boot), unless a (non-zero) one stored in _prefs
* companion, WSL3: uses static BLE pin, per build BLE_PIN_CODE define
2025-03-05 19:14:34 +11:00
Scott Powell cb2211e1ca * repeater and room server: CommonCLI now handles load/save of Prefs. Now sanitise bad prefs values. 2025-03-05 16:39:45 +11:00
Scott Powell 2719e5195a * companion: UITask now shows BLE PIN (when no connection)
* companion, HeltecV3: new installs, now chooses random BLE PIN
* companion: prefs load/save improvements (sanitises bad values)
2025-03-05 15:47:29 +11:00
Scott Powell ea6f0bfaa5 * basic UITask added to repeater and room server (only HeltecV3 targets enable so far) 2025-03-05 12:52:29 +11:00
Scott Powell 6bc5946661 * new ui/DisplayDriver classes (just SSD1306Display impl for now)
* companion radio: now with optional UITask (enabled by DISPLAY_CLASS config in target/env)
2025-03-04 23:09:43 +11:00
Scott Powell 103fb04a7d * 'last_snr' added to repeater stats. 2025-03-04 18:29:16 +11:00
Scott Powell aa00004949 Merge branch 'main' into dev 2025-03-04 16:41:31 +11:00
Scott Powell bcb78e2c19 * build script change, for companion radio targets 2025-03-04 14:06:03 +11:00
Scott Powell 11179b6808 * SerialWifiInterface: misc tidy-ups 2025-03-04 14:04:47 +11:00
Scott Powell dba81f5b0c * misc 2025-03-03 19:51:45 +11:00
Scott Powell db5b44e546 * room server: adding post, was not sending Acks on retries.
* room server and repeater: now does NOT send Acks for TXT_TYPE_CLI_DATA commands
2025-03-03 15:30:50 +11:00
Scott Powell 5e463f6474 Merge branch 'dev' 2025-03-03 13:26:43 +11:00
Scott Powell e5b701a97b * Semantic versioning in repeater, room server. "ver" CLI command changed. 2025-03-03 13:22:49 +11:00
Scott Powell d26a201819 * HOTIFX: HeltecV3, SDA/SCL pin defines 2025-03-03 12:52:39 +11:00
Scott Powell fd882cbfd9 * companion: RESP_CODE_DEVICE_INFO format change. 2025-03-03 12:31:11 +11:00
Scott Powell 7f543df20c * new docs folder, FAQ added 2025-03-03 10:11:43 +11:00
Scott Powell 48ca4ab772 * companion radio: connection status now supported (Keep_alive pings, etc) 2025-03-02 20:15:13 +11:00
Scott Powell 19ad023fc5 * room server: login response, permission byte now returned 2025-03-02 14:19:19 +11:00
Scott Powell ee1fd75150 * companion radio: support for TXT_TYPE_SIGNED_PLAIN 2025-03-02 13:57:50 +11:00
Scott Powell bac3f1456e * prefs guard word added 2025-02-28 13:06:26 +11:00
Scott Powell 1058b5bca6 * misc 2025-02-28 12:50:14 +11:00
Scott Powell dfbc10f4ed * "set radio.." now with "OK" response 2025-02-28 12:49:36 +11:00
Scott Powell 9b887361d8 * CLI: get/set radio added 2025-02-28 12:24:45 +11:00
Scott Powell 7c063806d9 * repeater, room server: new prefs: sf, cr, bw. "set tx ..." now instant, no reboot needed. 2025-02-28 11:48:46 +11:00
Scott Powell a531537984 * CommonCLI: "get " commands 2025-02-27 18:02:47 +11:00
Scott Powell 3df3aac8ab * refactored handleCommand() to CommonCLI class 2025-02-27 17:00:44 +11:00
Scott Powell aab1326516 * various changes for CLI support via companion radio 2025-02-27 12:51:00 +11:00
Scott Powell 7c1c273255 * new Dispatcher::getCADFailRetryDelay() 2025-02-27 04:05:50 +11:00
Scott Powell fcb213bf4d * ESP32: SerialBLEInterface, delay(500) not needed 2025-02-26 21:08:54 +11:00
Scott Powell 0d33e2e70a * esp32 SerialBLEInterface: 1 second delay now applied before testing whether to re-start advertising 2025-02-26 20:53:31 +11:00
Scott Powell 6018775741 * build fixes for RAK targets 2025-02-26 18:19:38 +11:00
Scott Powell 9bb9e989fa * new helper: AutoDiscoverRTCClock, which detects: DS3231 (on i2c addr 0x68), or RV3028 (on i2c addr 0x52)
* repeater and room server: ver bump (v5), now use AutoDiscoverRTCClock
* various Board::begin() now should do Wire.begin(), with custom pin mappings if needed
* examples removed: ping client/server, and test_admin
2025-02-25 19:00:07 +11:00
Scott Powell b4b9705c7d * repeater and room server: login password now using strcmp(), new 'set direct.txdelay ..' config 2025-02-24 20:52:13 +11:00
Scott Powell 91bce664a5 * repeater: login now evicts oldest client table entry if full. New RESP_SERVER_LOGIN_OK login response format (with permissions byte)
* companion radio: PUSH_CODE_LOGIN_SUCCESS now returns 'permissions' byte (0 for legacy "OK" response)
2025-02-24 16:01:14 +11:00
Scott Powell 91d04dfdf1 * companion radio: new CMD_SEND_LOGIN, CMD_SEND_STATUS_REQ 2025-02-24 14:05:17 +11:00
Scott Powell 509964427a * new PAYLOAD_TYPE_RAW_CUSTOM 2025-02-23 15:35:33 +11:00
Scott Powell a896b9c5f7 * new StrHelper::strzcpy() 2025-02-22 20:10:31 +11:00
Scott Powell 395b026e6c * strncpy() refactor/fix 2025-02-22 19:41:24 +11:00
Scott Powell 4bf16344cd * added S3 WIO target for BLE companion radio 2025-02-22 10:44:45 +11:00
Scott Powell a8f2551c78 * tidy ups of PRIVATE_KEY_IMPORT/_EXPORT stuff 2025-02-21 13:51:26 +11:00
Scott Powell fa13ef1969 * room server: minor timing fix 2025-02-20 22:59:47 +11:00
Scott Powell 6af88ed02f * MESH_DEBUG_PRINTLN fixes 2025-02-20 18:04:35 +11:00
Scott Powell 159c4ce8c2 * Mesh/Dispatcher: MESH_DEBUG_ and MESH_PACKET_LOGGING now output date-time. (new getLogDateTime() virtual)
* MESH_PACKET_LOGGING now parity with dynamic/file logging (src/dest hashes)
2025-02-20 12:41:47 +11:00
Scott Powell c468459061 * companion radio: new CMD_DEVICE_QUERY -> RESP_CODE_DEVICE_INFO, airtime_factor added to CMD_SET_TUNING_PARAMS, CMD_REBOOT change 2025-02-19 18:59:43 +11:00
Scott Powell e32003f8a3 * added RTCClock::getCurrentTimeUnique(), for when timestamps need to be unique (if temp rapid-fire) 2025-02-19 17:24:25 +11:00
Scott Powell 73c4ae748e * repeater: added src/dest hashes to logging 2025-02-18 23:49:25 +11:00
Scott Powell 01e8096e66 * SimpleMeshTables: ACKs now handled separately
* Dispatcher: logging methods now with 'len' param
2025-02-18 22:59:03 +11:00
Scott Powell 88ac6b6ee8 * repeater: Get Stats new fields added: n_direct_dups, n_flood_dups 2025-02-18 17:47:00 +11:00
Scott Powell 4cccaf6d47 * repeater: new CLI commands: "log start", "log stop", "log erase", and "log" 2025-02-18 13:20:48 +11:00
Scott Powell ce20ec8f13 * repeater, room server and terminal chat: default to rxdelay off 2025-02-17 10:56:41 +11:00
Scott Powell 18b4e60bb0 * companion radio: "set af .." now applied, rxdelay now OFF by default. (can set though with new CMD_SET_TUNING_PARAMS) 2025-02-17 10:43:48 +11:00
Scott Powell e01ee62c72 * companion radio: new CMD_EXPORT_CONTACT, CMD_IMPORT_CONTACT 2025-02-15 15:57:02 +11:00
Scott Powell edf52ad4f3 * companion radio: new CMD_SHARE_CONTACT
* room server: push notify loop interval changed to 2 secs
2025-02-15 13:23:19 +11:00
Scott Powell 2081030449 * companion radio: BLE variants now set device name to "MeshCore-{advert-name}" 2025-02-14 10:46:40 +11:00
Scott Powell a06f5a8407 * ver bumps
* companion radio, USB: onSendTimeout() bug fix
2025-02-14 09:35:15 +11:00
Scott Powell 4048d1bd90 * BaseChatMesh: sendLogin(), onContactResponse()
* companion radio: contacts file, new 'sync_since' field
2025-02-14 07:52:43 +11:00
Scott Powell d350a7c341 * nrf52 BLE, increased MTU to 250 2025-02-13 20:22:56 +11:00
Scott Powell bf8b9a61b9 * BaseChatMesh::sendGroupMessage() added
* companion radio, RESP_CODE_CHANNEL_MSG_RECV, CMD_SEND_CHANNEL_TXT_MSG
2025-02-13 10:18:48 +11:00
Scott Powell fc075ecaa5 * companion radio for RAK (USB) now fixed. (thanks to Bernd Giesecke)
* experimental NRF52 impl of SerialBLEInterface, and experimental RAK BLE companion radio target
2025-02-12 18:40:00 +11:00
Scott Powell 2532210cdf * companion radio: _SELF_INFO frames now include current adv_lat, and adv_lon 2025-02-11 16:02:35 +11:00
Scott Powell 0ff94be3b3 * new target/envs: Heltec_v2_repeater, Heltec_v2_companion_radio_usb 2025-02-11 15:50:10 +11:00
Scott Powell fe9fa4766a * new target/env: Heltec_v2_terminal_chat 2025-02-11 12:36:26 +11:00
Scott Powell a2a8747be8 * companion radio: new command frames: CMD_SET_ADVERT_LATLON, CMD_REMOVE_CONTACT 2025-02-11 12:02:27 +11:00
Scott Powell 1762662419 Merge branch 'main' into rx_delay
# Conflicts:
#	examples/simple_repeater/main.cpp
#	examples/simple_room_server/main.cpp
2025-02-10 20:13:09 +11:00
Scott Powell 36a00175f4 * new "set guest.password .." CLI command 2025-02-10 16:36:14 +11:00