Commit Graph
100 Commits
Author SHA1 Message Date
Scott Powell 3a920986ca * Tbeam fix: GPIO assignments wrong 2025-03-31 13:03:33 +11:00
Scott Powell 8740528d37 Merge commit '5493dbc12096f3f090cc48e70547a4491f5a06b1' into dev 2025-03-31 00:15:38 +11:00
Scott Powell 97b6a1874a Merge branch 'dev' 2025-03-30 19:18:35 +11:00
Scott Powell fc6aa0ed0f * ver bump to v1.4.2 2025-03-30 18:56:21 +11:00
Scott Powell 75eabd5c66 * minor refactor 2025-03-30 14:47:52 +11:00
Scott Powell 0d5c17f7ed * ESP-Now: long range mode 2025-03-29 13:27:17 +11:00
Scott Powell 022b43ef3d * isReceiving() now includes either preamble detect or header detect 2025-03-28 22:20:42 +11:00
Scott Powell 89bd6c3416 * Dispatcher: now impose a max time for CAD fail (ie. channel busy), defined by getCADFailMaxDuration(), default 4 seconds.
(an sx126x bug _might_ be making radio->isReceiving() return true indefinitely)
2025-03-28 20:50:42 +11:00
Scott Powell ba93867037 * companion: temp fix: logRxRaw() is blowing the MAX_FRAME_SIZE 2025-03-28 14:14:59 +11:00
Scott Powell c0cb57be5c * refactor: rtc_clock now defined by variants/*/target modules 2025-03-27 21:28:06 +11:00
Scott Powell 2224bddcb5 * new ESPNOWRadio driver
* refactored the examples/*/main.cpp modules, moving radio specifics to variants/*/target modules
* new Generic_ESPNOW_* target envs
2025-03-27 19:34:16 +11:00
Scott Powell 9c165add61 Merge branch 'dev' into esp-now 2025-03-27 17:24:56 +11:00
Scott Powell d5cc28b0c5 * room server: now support "log start/stop..." 2025-03-27 13:00:40 +11:00
Scott Powell 321a9425da * experiment: enabling forwarding in terminal chat 2025-03-26 03:57:36 +11:00
Scott Powell 88b88cbc90 * ver bump to 1.4.1 2025-03-25 22:02:37 +11:00
Scott Powell 753e6a69dc * flood_advert_interval" now defaults to 3 hours for upgrading nodes (not just fresh install)
* companion: "node_prefs" -> "new_prefs" migration
2025-03-25 20:20:03 +11:00
Scott Powell d32e641225 * fix for double radio.begin(). RNG seed from pressing ENTER 2025-03-25 17:40:36 +11:00
Scott Powell 1220c69aa9 * wifi power max 2025-03-25 15:13:07 +11:00
Scott Powell 8355543366 * more experiments 2025-03-25 01:26:46 +11:00
Scott Powell 7bd7bfb14a * ESP-NOW experiment with terminal-chat 2025-03-24 21:16:00 +11:00
Scott Powell f33e1b22b3 * build fixes 2025-03-24 13:11:08 +11:00
Scott Powell edb201ccbe * repeater & room server: "node_prefs" -> "com_prefs" migration 2025-03-24 00:50:28 +11:00
Scott Powell d07abc39b6 * room server: new config "allow.read.only" 2025-03-24 00:25:36 +11:00
Scott Powell 39a4476194 * repeater & room server: new config "flood.advert.interval" 2025-03-23 23:23:02 +11:00
Scott Powell 7010123619 * companion: CMD_SEND_TXT_MSG fix for attempt number 2025-03-23 20:25:03 +11:00
Scott Powell f861b68a09 * refactor: ESP32 OTA lib-deps now selectively added 2025-03-23 17:36:31 +11:00
Scott Powell a4bb3782a4 * OTA update for ESP32 targets 2025-03-22 23:51:44 +11:00
Scott Powell 30c6a0bc76 * workaround for > 3 retry attempts 2025-03-22 22:21:54 +11:00
Scott Powell 0163c4034b * faketec/promicro fix 2025-03-21 21:53:53 +11:00
Scott Powell 965e40eb9e * fix for Faketec/Promicro 2025-03-21 21:53:23 +11:00
Scott Powell bfb4b1c496 * BIG refactor: 'board' and 'radio' objects now defined in 'target.h/.cpp'
* mesh::RTCClock class moved to MeshCore.h
2025-03-21 18:57:12 +11:00
Scott Powell 182c6d479d * minor refactor, SNR from packet 2025-03-20 15:26:23 +11:00
Scott Powell a9dde51a9b * build.sh: .uf2 step also for Faketec/ProMicro targets 2025-03-19 20:22:46 +11:00
Scott Powell 6a093743d3 * ver bump to v1.4.0 2025-03-19 19:32:07 +11:00
Scott Powell fd55837eec * companion: CMD_SET_DEVICE_PIN now uint32 param, RESP_CODE_DEVICE_INFO now includes ble_pin 2025-03-19 18:21:35 +11:00
Scott Powell 4aeafbd034 * companion: added CMD_SET_DEVICE_PIN 2025-03-19 17:54:55 +11:00
Scott Powell 089ac96f2b * verify() fix moved to Identity class 2025-03-19 17:30:35 +11:00
Scott Powell 4943b388c0 * workaround for Identity::verify() bug. 2025-03-19 14:31:48 +11:00
Scott Powell 69a6d76b87 * experimental workaround for sig verify() bug 2025-03-19 13:54:43 +11:00
Scott Powell 38667dabb1 * refactored platformio.ini, breaking up into variants/*.ini files 2025-03-18 23:57:04 +11:00
Scott Powell d21274db41 * TBeam: minor refactor. 2025-03-18 21:34:32 +11:00
Scott Powell 50b62c9252 * room server: now handles REQ_TYPE_GET_STATUS, replies with ServerStats (same as RepeaterStats, with extra fields: n_posted, n_post_push) 2025-03-18 16:49:40 +11:00
Scott Powell f08a30cf24 * companion: RESP_CODE_ERR now has err_code byte 2025-03-18 15:27:55 +11:00
Scott Powell 13679f9ff1 * CMD_SEND_TRACE_PATH, now replies with RESP_CODE_SENT 2025-03-18 00:14:57 +11:00
Scott Powell 691c135c22 * workaround for TRACE packets so they can follow a return path 2025-03-17 19:35:08 +11:00
Scott Powell 807b9bdc19 * companion support for TRACE packets. (CMD_SEND_TRACE_PATH, PUSH_CODE_TRACE_DATA) 2025-03-17 18:15:38 +11:00
Scott Powell fe4fdeb236 * redesigned TRACE packet structure 2025-03-17 17:56:12 +11:00
Scott Powell 156741e563 Merge branch 'dev' into trace
# Conflicts:
#	examples/companion_radio/main.cpp
2025-03-17 12:18:27 +11:00
Scott Powell 25a68f5ca4 * build fix 2025-03-16 22:11:27 +11:00
Scott Powell 81bf4f0a08 * companion: SSD1306 display now dynamically detected at runtime. 2025-03-16 13:42:36 +11:00
Scott Powell 31f8576640 * CMD_SIGN_DATA null check 2025-03-15 22:06:57 +11:00
Scott Powell 6056c303c1 * companion: can now sign arbitrary data (up to 8K) 2025-03-15 21:41:44 +11:00
Scott Powell 9aa2edf9ba Merge branch 'dev' into trace
# Conflicts:
#	examples/companion_radio/main.cpp
#	src/Dispatcher.cpp
2025-03-15 15:12:50 +11:00
Scott Powell 27aa7a7bb0 * minor refactor for RAK_4631 SerialInterface 2025-03-15 14:55:52 +11:00
Scott Powell 6a4b7463ef * some fixes around the powerOff(). Tidy ups 2025-03-14 19:08:41 +11:00
Scott Powell 658094f654 * ver bump: 1.3.0 2025-03-13 13:46:01 +11:00
Scott Powell 38b9834261 * missing param 2025-03-13 13:32:46 +11:00
Scott Powell 04d85c687f Merge branch 'main' into dev 2025-03-11 20:09:59 +11:00
Scott Powell b94fed4e4e * companion: channel names 2025-03-11 17:58:12 +11:00
Scott Powell adf9b24867 * 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 8c68dbb6e9 * Companion: new CMD_GET_CHANNEL, CMD_SET_CHANNEL 2025-03-11 14:50:40 +11:00
Scott Powell f9b2428dcd * BLE_NAME_PREFIX refactor 2025-03-11 13:25:48 +11:00
Scott Powell 8d12cfc9af Merge branch 'main' into dev 2025-03-11 13:20:52 +11:00
Scott Powell 4175be87ab Merge branch 'main' into dev 2025-03-11 13:19:13 +11:00
Scott Powell 5c72969e2c * repeater & room server: new CLI config "flood.max" 2025-03-10 23:28:19 +11:00
Scott Powell 2cb742b100 ver bump to 1.2.2 2025-03-09 23:46:03 +11:00
Scott Powell 291b98cd56 updating RadioLib to ver 7.1.2 2025-03-09 23:44:34 +11:00
Scott Powell a259d27cfe * trying setCRC(1) 2025-03-09 22:15:58 +11:00
Scott Powell 3778c0a8ff * 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 f77a6944f9 * PUSH_CODE_LOG_RX_DATA: is now just: {snr*4},{rssi},{raw-lora-packet} 2025-03-09 17:04:22 +11:00
Scott Powell 8f609524bd * companion: added new PUSH_CODE_LOG_RX_DATA (0x88) for inspecting all received packets 2025-03-09 15:41:32 +11:00
Scott Powell c49e6ac37b Merge branch 'main' into dev
# Conflicts:
#	platformio.ini
2025-03-09 14:56:39 +11:00
Scott Powell 9b5a294695 * T1000e battery measure fix 2025-03-08 20:18:15 +11:00
Scott Powell 5acfe52417 * new build option: SX126X_RX_BOOSTED_GAIN 2025-03-08 19:59:07 +11:00
Scott Powell 2889867c4c * Dispatcher: added guard for packet payload size too large 2025-03-08 19:38:36 +11:00
Scott Powell 87d4285cf1 * doc updates 2025-03-08 13:40:39 +11:00
Scott Powell 808d3933c1 Version bump to v1.2.1 2025-03-07 22:01:30 +11:00
Scott Powell ae8fb5d9b1 * Heltec v3.2 VEXT fix
* Heltec T114 LED fix, (now flashes with LoRa TX)
2025-03-07 21:37:05 +11:00
Scott Powell cf17091588 * display.begin() delayed in setup().
* all firmwares now bumped to v1.2.0
2025-03-07 17:19:27 +11:00
Scott Powell 790898dbc5 * companion: better incoming ACK processing (match prev attempts) 2025-03-07 15:09:29 +11:00
Scott Powell e534e1b529 * companion: FIRMWARE_VER_CODE now bumped to 3.
* companion: new RESP_CODE_CONTACT_MSG_RECV_V3, and _CHANNEL_MSG_RECV_V3. (now with packet SNR included)
2025-03-07 14:17:37 +11:00
Scott Powell 544adec2b6 * refactor Packet::_snr to single byte 2025-03-07 12:32:23 +11:00
Scott Powell b2fcc692ea * TRACE packet logging fix 2025-03-07 12:24:18 +11:00
Scott Powell b03aac18c0 Merge branch 'dev' into trace
# Conflicts:
#	src/Dispatcher.cpp
#	src/Mesh.cpp
#	src/helpers/BaseChatMesh.cpp
2025-03-07 12:14:26 +11:00
Scott Powell 1f4a81360b * companion: new command: CMD_GET_CONTACT_BY_KEY (30) 2025-03-07 12:00:11 +11:00
Scott Powell 5c5b9aa2e3 * 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 284ac17009 * Room Server post ACK bug fix! 2025-03-06 18:16:48 +11:00
Scott Powell 45a88dca3d * .yml files, permissions: write 2025-03-05 19:48:52 +11:00
Scott Powell 7832548714 * now suppressing 'cp' errors 2025-03-05 19:20:28 +11:00
Scott Powell 78ee88c9ed * 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 01d84d5d3e * 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 86681364bd * 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 c2ae34314e * basic UITask added to repeater and room server (only HeltecV3 targets enable so far) 2025-03-05 12:52:29 +11:00
Scott Powell 372c228210 * 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 68770d7728 * 'last_snr' added to repeater stats. 2025-03-04 18:29:16 +11:00
Scott Powell 25a77af8c7 Merge branch 'main' into dev 2025-03-04 16:41:31 +11:00
Scott Powell 7b92e045a6 * build script change, for companion radio targets 2025-03-04 14:06:03 +11:00
Scott Powell 5c4ec1bc22 * SerialWifiInterface: misc tidy-ups 2025-03-04 14:04:47 +11:00
Scott Powell 72c7cebbbb * misc 2025-03-03 19:51:45 +11:00
Scott Powell ea9a4dcd3a * 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