Commit Graph
192 Commits
Author SHA1 Message Date
Alejandro Ramirez 166a34b30a fix: apply persisted GPS enabled setting on boot for companion radio
The companion_radio example was not restoring the GPS enabled/disabled
preference from flash after reboot. The preference was being saved
correctly when toggled via the mobile app, but on boot,
sensors.begin() -> initBasicGPS() unconditionally sets gps_active=false
and nothing subsequently restored the persisted state.

Added applyGpsPrefs() (matching the pattern in simple_repeater,
simple_sensor, and simple_room_server) and call it from main.cpp
after sensors.begin() to ensure the GPS hardware is initialized
before the saved preference is applied.
2026-03-24 09:10:09 -05:00
taco e36ca64f00 fix: remove esp_wifi.h from esp32board.h
saves ~500 bytes of dram and allows Tbeam to compile again
2026-01-30 15:07:40 +11:00
Scott Powell bce64a57f9 * T1000e BLE - default node name is now the MAC address 2026-01-23 15:53:58 +11:00
Scott Powell 7ff483ab74 * Fix for VolatileRTCClock wrapping around to initial synced time every 49 days 2025-10-30 16:45:50 +11:00
taco 7a6ed7fe98 nrf52 targets: increase limits for contacts and channels 2025-09-06 14:15:40 +10:00
taco 5e2a9766dc support dual filsystems on nrf52
store identity and prefs in UserData and contacts, channels and adv_blobs in ExtraData
2025-09-06 14:15:40 +10:00
taco 5e69fb1c5a switch to using QSPI bus for external flash 2025-09-06 14:15:40 +10:00
taco 5b68f85506 initial commit: CustomLFS 2025-09-06 14:15:40 +10:00
Scott Powell 264b786da8 * Refactor of UITask, moved to /ui-new 2025-08-16 20:04:54 +10:00
Scott Powell e9ba5be910 * UI revamp for companion radios 2025-08-08 20:01:31 +10:00
Scott Powell 9741009af3 * companion: minor refactor of who should invoke UITask::loop() 2025-06-21 20:48:28 +10:00
Florent de Lamotte e34d38d2d9 t1000e: gps toggle not using board class 2025-06-19 17:26:58 +02:00
Scott Powell 8f34021826 * DataStore, advert blob record format change 2025-06-06 21:35:54 +10:00
Scott Powell 6c75d64133 * companion: refactor of all filesystem access to new DataStore module 2025-06-06 15:30:35 +10:00
Scott Powell c9a46799b9 * companion: some further refactors after the MyMesh refactor 2025-06-02 15:25:55 +10:00
Florent 1b86b4c0a2 gps : sync time on fix 2025-06-01 20:02:35 -07:00
hank 81a39f04d9 Refactored MyMesh, advert on doublepress
Pulled the class out of main.cpp, made a header to go along with it, externed globals in headers to make them accessible to button code. Added button code to send an advert on double press. Refactored ini files to prevent linker errors.
2025-05-31 19:11:28 -07:00
Scott Powell ddbf0cf5aa * companion: interference threshold default (14) 2025-05-27 22:48:28 +10:00
Scott Powell b74fff745f * companion: saveContacts() now deferred for 5 secs (lazy writes) 2025-05-27 18:45:06 +10:00
Scott Powell 1b9352d967 * companion: PUSH_CODE_LOGIN_SUCCESS frame, now includes server clock timestamp 2025-05-26 19:52:32 +10:00
Scott Powell f8eb6afdb0 * ver bump to 1.6.2 2025-05-24 16:19:19 +10:00
Scott Powell ccc5ec1aa9 * Companion: telemetry_mode_env added to prefs 2025-05-22 15:26:30 +10:00
liamcottle 4f35c84c7c allow setting default node name for companion via build flag 2025-05-20 20:51:46 +12:00
ripplebiz 51e4a89677 Merge pull request #314 from seagull9000/RTTTL-tweaks1
RTTTL on message types
2025-05-20 17:44:19 +10:00
seagull9000 2042033bf6 fix location and naming of enum 2025-05-20 19:33:21 +12:00
seagull9000 a719466871 RTTTL on message types 2025-05-20 19:09:49 +12:00
Scott Powell 9ea6f91c09 * workaround for nRF + LittleFS glitch with seek/truncate 2025-05-20 16:29:09 +10:00
Scott Powell 30a6b12196 * refactored buzzer concept to UITask
* moved buzzer.h/cpp to helpers/ui
2025-05-20 11:52:55 +10:00
seagull9000 ebf57ecf3c initial support for generic RTTTL notifier 2025-05-20 13:26:40 +12:00
Scott Powell 19d506f4b3 * big refactor of the 'display' object. Now defined in variants/*/target modules. 2025-05-19 14:16:55 +10:00
ripplebiz 2fbb1b41bb Merge pull request #294 from 446564/SH1106-display
Sh1106 display
2025-05-17 23:32:14 +10:00
Scott Powell ed205e403b * ver bump to v1.6.1 2025-05-17 20:04:55 +10:00
Rob Loranger 80101684d5 add support for SH1106 OLED display 2025-05-16 08:45:55 -07:00
Florent a350d715a3 wio-e5 : initial port 2025-05-11 09:28:15 +02:00
Scott Powell af7731a663 * ver bump to v1.6.0 2025-05-09 18:12:42 +10:00
Scott Powell 919a465c21 * Heltec tracker: new 'periph_power' shared pin (between Display & GPS) 2025-05-08 15:50:53 +10:00
ripplebiz 983e729396 Merge pull request #258 from seagull9000/Heltec-Wireless-Tracker-support
Heltec Wireless Tracker support
2025-05-08 12:29:02 +10:00
seagull9000 97b2b3e9a8 Heltec Wireless Tracker support 2025-05-07 21:40:27 +12:00
liamcottle b914e3c915 ble pin must be zero or a valid 6 digit pin 2025-05-07 20:53:59 +12:00
ripplebiz 2b1e6456a0 Merge pull request #246 from liamcottle/dev
Use identity key as default node name
2025-05-06 10:39:58 +10:00
Florent de Lamotte d7fb7aa630 fix for set_custom_var 2025-05-05 16:40:00 +02:00
Scott Powell e6764934c6 * companion: fix for _GET_STATUS response 2025-05-05 11:49:17 +10:00
Scott Powell fd5ac156bf * companion: protocol ver bump to 5
* companion: new prefs: telemetry_mode_base, telemetry_mode_loc
* companion: CMD_SET_OTHER_PARAMS, now optionally can set telemetry_modes
2025-05-05 11:21:55 +10:00
liamcottle 51c110923d no need for prefs check before prefs are loaded 2025-05-05 11:34:02 +12:00
liamcottle d319fd3eab use hex of first 4 bytes of identity public key as default node name 2025-05-05 11:21:31 +12:00
Scott Powell f4d8b559b5 * SensorManager: now can influence advert lat/lon, new custom name:value pairs for custom settings (eg, gps on/off)
* companion: new CMD_GET_CUSTOM_VARS, CMD_SET_CUSTOM_VAR
* T1000e: now supports "gps" custom setting (value "0" or "1")
2025-05-05 00:15:35 +10:00
Scott Powell 314727537c * companion: new CMD_SEND_TELEMETRY_REQ, PUSH_CODE_TELEMETRY_RESPONSE 2025-05-03 20:08:44 +10:00
Scott Powell 2745f73f50 * new: SensorManager
* BasChatMesh: new onContactRequest(), for PAYLOAD_TYPE_REQ handling.
* companion, repeater and room_server: now with basic 'plumbing' to handle REQ_TYPE_GET_TELEMETRY_DATA (0x03).
* dependency: added CayenneLPP to libdeps
* all target.* modules now with a stub 'sensors' object.
2025-05-03 13:14:03 +10:00
JQ 1c2d3ce786 merge from dev 2025-05-01 18:10:03 -07:00
Jacob Quatier b9d9a703ea Merge branch 'ripplebiz:main' into ui-enhancements 2025-04-27 20:37:49 -07:00