Commit Graph
133 Commits
Author SHA1 Message Date
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 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
liamcottle 4027bef7b9 add build flags to enable and disable private key import and export 2025-02-21 14:54:59 +13:00
liamcottle 5cd282b15b add new commands to companion firmware to import and export identity private key 2025-02-21 12:34:15 +13:00
Scott Powell fa13ef1969 * room server: minor timing fix 2025-02-20 22:59:47 +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
ripplebiz 706bc0cf48 Merge pull request #23 from fdlamotte/t1000e_code
T1000e code
2025-02-19 17:49:36 +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
liamcottle 4a6f669aa3 added CMD_GET_BATTERY_VOLTAGE to companion radio 2025-02-16 16:51:10 +13:00
liamcottle 62703330ac added CMD_REBOOT to companion radio 2025-02-16 15:24:46 +13: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
Florent 04553004af add T1000e conditionals to examples 2025-02-14 07:17:46 +01: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 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
Scott Powell afd6889557 Merge branch 'main' into rx_delay
# Conflicts:
#	examples/companion_radio/main.cpp
#	examples/simple_secure_chat/main.cpp
2025-02-09 13:06:01 +11:00
Scott Powell 79399eb766 * companion radio: removed need for reboot after setting radio params or tx power 2025-02-09 09:58:56 +11:00
Scott Powell 5d62c1c247 * TIMEOUT estimate adjusted
* companion radio: new CMD_RESET_PATH
2025-02-08 20:57:35 +11:00
Scott Powell 759e50bd5d * repeater: min/max advert.interval changes 2025-02-08 19:57:10 +11:00
Scott Powell f5cd4333fd Merge branch 'main' into rx_delay
# Conflicts:
#	examples/simple_repeater/main.cpp
#	examples/simple_room_server/main.cpp
2025-02-08 12:04:17 +11:00
Scott Powell e05aa5da67 * repeater and room server: new CLI command: "set advert.interval {mins}" 2025-02-08 11:44:09 +11:00
Scott Powell 5a762aa511 Merge branch 'main' into rx_delay 2025-02-06 22:57:07 +11:00
Scott Powell 9699cf3ae4 * companion radio: new RESP_CODE_NO_MORE_MESSAGES response 2025-02-06 22:39:33 +11:00
Scott Powell e140649e4d * bug fix for rxdelay 0 2025-02-06 11:16:17 +11:00