1
0
forked from me/IronOS
Commit Graph

658 Commits

Author SHA1 Message Date
Neil Hanlon
2a244df7b1 Fix typo in BLE settings mapping 2023-02-22 01:28:04 -05:00
Neil Hanlon
a76049acde Fix bug in setSettingsValue for values constrained between 0 and 1
Fixed a bug in the `setSettingValue` function that caused valid values
within the allowed range to be incorrectly constrained to the minimum
value, when the default value of the option was zero and the allowed
range was from zero to one. The bug was fixed by updating the order of
the `if` statements in the function to ensure that the range check is
done before the value is set. This ensures that valid values within the
range are correctly retained, while out-of-range values are still
constrained to the allowed range.
2023-02-22 01:26:06 -05:00
Neil Hanlon
b1658ec6ee Handle updating certain settings updates over BLE - Fixes #1560 2023-02-22 01:25:49 -05:00
Ben V. Brown
f29ec5cd99 Merge pull request #1582 from Samuelrmlink/PPSctrl
Added VPDO option for disabling PPS/EPR PDOs.
2023-02-20 11:53:15 +11:00
Samuelrmlink
669e3819e8 Add BLE characteristic - PD VPDOs Enabled 2023-02-19 16:59:26 -06:00
Samuel Hedrick
cd21b49e8c Added BLE characteristic - PD VPDOs Enabled 2023-02-19 16:22:46 -06:00
Samuel Hedrick
9892dd0423 Added VPDO option for disabling PPS/EPR PDOs. 2023-02-19 14:13:50 -06:00
Ben V. Brown
eb5d6ea9fd Make BLE name more unique 2023-02-18 18:16:44 +11:00
Samuel Hedrick
5265d7b1ac Fixed USB-PD policy bug.
Some PPS chargers that advertise 7 PDOs are affected.
This includes the Samsung EP-TA845 - likely others as well.
2023-02-15 20:50:23 -06:00
Ben V. Brown
4a2d59b01c Added 37th option 2023-02-11 22:16:17 +11:00
Ben V. Brown
07cad37bcc Move extras to end of settings 2023-02-11 22:14:49 +11:00
Ben V. Brown
39148d11ed Shift settings to be 0 based; and add reset command 2023-02-11 22:09:26 +11:00
Ben V. Brown
5aacbeaecc Add unqiue id to BLE name 2023-02-11 20:39:41 +11:00
Ben V. Brown
c384194b7f Silence warnings 2023-02-11 19:54:30 +11:00
Ben V. Brown
ac1934f8de Fixup some of the includes for the ble lib 2023-02-11 19:47:58 +11:00
Ciarán Ó hAoláin
b5f78bbeda Use the scan response to advertise some of the available service UUIDs rather than just repeating the device name 2023-02-05 00:41:57 +00:00
Thomas White
8e7e58018a expand bulk data to match individual value data (#1555)
* track and return Operating mode with BLE

* move global variable to fix build on other platforms

* formatting

* expand bulk data to match individual value data

* formatting

* fix accidental single line if

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-02-05 00:04:51 +11:00
Thomas White
9802a622d5 Track and return Operating Mode with BLE (#1553)
Track and return Operating Mode with BLE
2023-02-04 09:33:43 +11:00
Ben V. Brown
4ddc9a28f9 Merge branch 'dev' into testing-fix-for-timer-slot-miss 2023-01-30 17:28:03 +11:00
discip
fc10a24a89 simplification 2023-01-24 18:22:50 +01:00
Ben V. Brown
939efbbf4f Merge branch 'testing-fix-for-timer-slot-miss' of ssh://github.com/Ralim/IronOS into testing-fix-for-timer-slot-miss 2023-01-24 18:57:00 +11:00
Ben V. Brown
7e103ccf2d Wait for full ADC Burst 2023-01-24 18:56:49 +11:00
Ben V. Brown
a84df7b94e Merge branch 'dev' into testing-fix-for-timer-slot-miss 2023-01-24 18:15:45 +11:00
Ben V. Brown
f3b4abf434 Update IRQ.cpp 2023-01-24 18:11:44 +11:00
Ben V. Brown
786d20284e Merge branch 'dev' into wattage-estimator-rollover 2023-01-24 11:10:21 +11:00
Ben V. Brown
26f71b2c2f Add BLE Enabled to advanced menu 2023-01-23 18:05:59 +11:00
Ben V. Brown
82499f4e83 Setting setup for BLEEnabled 2023-01-23 18:01:35 +11:00
Ben V. Brown
14948255e3 Create setting entry for BLE 2023-01-23 17:54:57 +11:00
Ben V. Brown
c2d69f91a6 Drop decimal when > 99.9W 2023-01-23 17:49:40 +11:00
Ben V. Brown
5fe019f40b Change timing scheduler to only run main timer once ADC is done 2023-01-23 17:40:06 +11:00
Ben V. Brown
4e37c7bea7 Merge branch 'dev' into BLE 2023-01-23 17:22:06 +11:00
Ben V. Brown
c5d92efa60 Merge branch 'dev' into BLE 2023-01-22 22:35:51 +11:00
Ben V. Brown
1c8a614100 Import all upgraded translations 2023-01-22 22:20:17 +11:00
Ben V. Brown
05628daba2 Merge branch 'dev' into new-translations-format 2023-01-22 22:05:13 +11:00
Purdea Andrei
b96dbb2377 Miniware+Pinecil: fix number of items in uVtoDegC array. This only af… (#1531)
Miniware+Pinecil: fix number of items in uVtoDegC array. This only affects us in case we go above 500degC, in which case we'll be reading invalid memory
2023-01-16 19:30:37 +11:00
Purdea Andrei
e9f63cdfd8 Fix the calibrate voltage screen, when it exits, it used to overlay t… (#1530)
Fix the calibrate voltage screen, when it exits, it used to overlay the calibrated divider over the previous displayed image, causing confusion. Now it clears the screen before printing the calibrated value
2023-01-16 13:54:34 +11:00
discip
7f43562a4f Reboot after reset (#1513) 2023-01-06 15:06:03 +11:00
Ben V. Brown
706b3246a1 Test better reboots 2023-01-03 18:46:26 +11:00
Ben V. Brown
77f213e63c Decompress both fonts correctly 2023-01-03 17:26:50 +11:00
discip
1b84097e07 fixes cooldown flashing (#1515)
* unify rate of cooldown flashing

* adjusted flashing threshold

* revert adjusted flashing threshold

* revert follow-up
2022-12-31 22:41:00 +11:00
discip
02a495d44b Update Settings.cpp 2022-12-29 02:36:43 +01:00
Ben V. Brown
7c8664fb22 Merge branch 'dev' into BLE 2022-12-28 14:24:49 +11:00
discip
325ac498e8 removed some unused lines 6 reordered others 2022-12-16 23:14:38 +01:00
Ben V. Brown
afb7628983 FIXUP! Bugfix auto fontstyle 2022-12-11 13:52:43 +11:00
discip
8a6b00fa58 reverting (go to home screen did not work) 2022-12-10 23:30:26 +01:00
discip
74339a997c after reset go to home screen_VI 2022-12-10 23:24:10 +01:00
discip
b934cacdfa after reset go to home screen_V 2022-12-10 23:17:24 +01:00
discip
c08b06bb16 after reset go to home screen_IV 2022-12-10 23:07:09 +01:00
discip
863f091ffd after reset go to home screen_III 2022-12-10 22:54:08 +01:00
discip
110af42e3e after reset go to home screen_II 2022-12-10 22:47:49 +01:00