Commit Graph
206 Commits
Author SHA1 Message Date
hank f58a34f5f4 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
JQ 4ec3675091 update sound 2025-05-30 22:58:30 -07:00
JQ cf171af72c add ack for quiet mode 2025-05-30 22:55:53 -07:00
JQ f69efaf027 removing pinmode 2025-05-30 22:26:29 -07:00
JQ c445bbeaf2 simplify logic 2025-05-30 22:14:37 -07:00
JQ db8e72791c usability fixes, fix t114 build src filter 2025-05-30 20:32:49 -07:00
JQ ce87156a43 cleanup 2025-05-28 16:45:41 -07:00
JQ e7761dc9dc initial button manager 2025-05-27 19:10:56 -07:00
Scott Powell fec064c1a2 * companion: interference threshold default (14) 2025-05-27 22:48:28 +10:00
ripplebizandGitHub 9ba1d8262f Merge pull request #335 from seagull9000/RTTTL-tone-for-shutdown
Connect RTTTL  shutdown melody to shutdown procedure
2025-05-27 20:34:07 +10:00
Scott Powell b3fc6bedf9 * companion: saveContacts() now deferred for 5 secs (lazy writes) 2025-05-27 18:45:06 +10:00
seagull9000 049909dde5 Merge branch 'dev' into RTTTL-tone-for-shutdown 2025-05-27 14:21:14 +12:00
seagull9000 30488e6f67 Connect RTTTL shutdown melody to shutdown procedure
Added a new UITask shutdown method to run non-board specific shutdown code.  This avoids having to update all the board files for different hardware.

UITask::shutdown(bool restart = false);

Where the buzzer is available and defined, the RTTTL shutdown melody is played when the button is held down for >5s.
2025-05-27 11:07:51 +12:00
Scott Powell 0e90b73110 * companion: PUSH_CODE_LOGIN_SUCCESS frame, now includes server clock timestamp 2025-05-26 19:52:32 +10:00
Scott Powell 0bad7ee106 * ver bump to 1.6.2 2025-05-24 16:19:19 +10:00
ripplebizandGitHub 72d2b05664 Merge pull request #327 from seagull9000/RTTTL-tone-for-Channel-Message
RTTTL-tone-for-Channel-Message
2025-05-24 14:16:30 +10:00
seagull9000 5630533d22 RTTTL-tone-for-Channel-Message
I was a bit remiss in removing the tone for channel message event - this puts one in.

So: DM event - plays a tone (per current)
      Channel Message - new shorter tone

All others aren't defined at present.  Need muting function before we get too carried away.
2025-05-23 20:32:52 +12:00
ripplebizandGitHub 22b80a9be7 Merge pull request #289 from adam2872/RAK4631-user-button
Implement user button on RAK4631 using analogue pin 31 (same as MT)
2025-05-23 13:19:32 +10:00
Scott Powell 02b6f4a285 * Companion: telemetry_mode_env added to prefs 2025-05-22 15:26:30 +10:00
adam2872andGitHub 726273f548 Merge branch 'Dev' into RAK4631-user-button 2025-05-20 14:25:01 +01:00
Adam Mealings 9a0b6e5326 Updated to use #if defined... instead of #ifdef 2025-05-20 13:54:31 +01:00
liamcottle d9c1cffac2 allow setting default node name for companion via build flag 2025-05-20 20:51:46 +12:00
ripplebizandGitHub ecfeb2ff63 Merge pull request #314 from seagull9000/RTTTL-tweaks1
RTTTL on message types
2025-05-20 17:44:19 +10:00
seagull9000 7507f889a5 fix location and naming of enum 2025-05-20 19:33:21 +12:00
seagull9000 f82844f43f RTTTL on message types 2025-05-20 19:09:49 +12:00
Scott Powell 56b84408e4 * workaround for nRF + LittleFS glitch with seek/truncate 2025-05-20 16:29:09 +10:00
Scott Powell 7e90d386e2 * refactored buzzer concept to UITask
* moved buzzer.h/cpp to helpers/ui
2025-05-20 11:52:55 +10:00
seagull9000 be88bea42d initial support for generic RTTTL notifier 2025-05-20 13:26:40 +12:00
ripplebizandGitHub fa0456549a Merge pull request #290 from adam2872/Modern-battery-icon
Slightly better battery icon
2025-05-19 14:30:16 +10:00
Scott Powell a73eb9823d * big refactor of the 'display' object. Now defined in variants/*/target modules. 2025-05-19 14:16:55 +10:00
ripplebizandGitHub 885cfe9667 Merge pull request #294 from 446564/SH1106-display
Sh1106 display
2025-05-17 23:32:14 +10:00
Scott Powell 65d398fcbc * ver bump to v1.6.1 2025-05-17 20:04:55 +10:00
Rob Loranger 25b534a29d add support for SH1106 OLED display 2025-05-16 08:45:55 -07:00
Adam Mealings 22ee164ff6 Make the battery fill based on the percentage slightly smaller to give it a more modern look 2025-05-14 22:17:54 +01:00
Adam Mealings faf043327d RAK4631 analogue user button on input 31 2025-05-14 21:46:39 +01:00
Florent 35e1901d0e wio-e5 : initial port 2025-05-11 09:28:15 +02:00
Scott Powell d072e7b575 * ver bump to v1.6.0 2025-05-09 18:12:42 +10:00
Scott Powell 810fc8b8f0 * Heltec tracker: new 'periph_power' shared pin (between Display & GPS) 2025-05-08 15:50:53 +10:00
ripplebizandGitHub 0e208f01cd Merge pull request #258 from seagull9000/Heltec-Wireless-Tracker-support
Heltec Wireless Tracker support
2025-05-08 12:29:02 +10:00
seagull9000 e076e797e6 Heltec Wireless Tracker support 2025-05-07 21:40:27 +12:00
liamcottle f18a3b78ad ble pin must be zero or a valid 6 digit pin 2025-05-07 20:53:59 +12:00
ripplebizandGitHub 6dd85880e4 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 a39c000f5d fix for set_custom_var 2025-05-05 16:40:00 +02:00
ripplebizandGitHub 1f06d22bde Merge pull request #247 from jquatier/ui-text-width
UI Text Width - minor improvement
2025-05-05 11:53:47 +10:00
Scott Powell bcb64d8a4c * companion: fix for _GET_STATUS response 2025-05-05 11:49:17 +10:00
Scott Powell cb80ceee47 * 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
JQ 678f36a57b Implement getTextWidth for display classes
- Added getTextWidth method to DisplayDriver interface
- Implemented getTextWidth in all display classes
- Updated examples to use getTextWidth directly
2025-05-04 18:17:18 -07:00
liamcottle 8f32ee61ce no need for prefs check before prefs are loaded 2025-05-05 11:34:02 +12:00
liamcottle 0bccf29f64 use hex of first 4 bytes of identity public key as default node name 2025-05-05 11:21:31 +12:00
Scott Powell e442e94e3d * 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