Commit Graph

417 Commits

Author SHA1 Message Date
Anatole SCHRAMM
ed930d1eae Minor miscellaneous changes 2024-01-11 13:43:14 +01:00
Anatole SCHRAMM
e47498b8bd Improved pressure computation function by reading the pressure and temperature registers in one shot 2024-01-11 13:41:43 +01:00
anschrammh
2098121ae0 Fixed typo which could lead to a hard to find bug... 2024-01-05 22:10:28 +01:00
anschrammh
b11810decf Reworked the BMA456's initialization routine 2024-01-05 21:28:52 +01:00
anschrammh
be90d23eeb Also resetting the bma456 internal setp counts when resetting the watch to its factory settings, this is nedeed because if the watch crashes or resets on its own, the bma456 is not reset anymore allowing to save the current step counter count and saving time by not reloading the config file. 2024-01-05 21:28:29 +01:00
anschrammh
b554e55e6e Added BMA456 helper functions with their own files 2024-01-05 21:25:13 +01:00
6b24947f04 Started to add the RTC calibration trigger function - WIP. 2024-01-01 21:46:20 +01:00
8745170092 Added experimental functions allowing to set the BLE modem to sleep to save power. Does not work as intended (bug in the SDK probably). 2024-01-01 21:45:20 +01:00
580c9f4e68 Updated a comment 2023-12-23 11:26:55 +01:00
anschrammh
0057737ffa Minor update 2023-12-19 00:08:34 +01:00
anschrammh
be27501e08 Updated GadgetBridge parser standalone project 2023-12-18 23:38:59 +01:00
anschrammh
4d8b0d359d Updated lvgl simulator 2023-12-18 23:36:46 +01:00
anschrammh
8de0a7a59c Corrected bad 24h dial numbering ... 2023-12-18 23:33:46 +01:00
anschrammh
53519391ef Refactored the watch faces to only have one source file, added the possibility to choose which watch face to use when compiling 2023-12-18 23:11:56 +01:00
anschrammh
f78a1f3a1a Updated the notification callback logic 2023-12-18 21:20:57 +01:00
anschrammh
0787496aa4 Updated the notification state callback to pass the handle to the registered callback function 2023-12-18 21:19:52 +01:00
anschrammh
83b1571067 Updated the GadgetBridge parser api to be able to interact with received notifications (DISMISS, OPEN, REPLY etc) 2023-12-18 21:16:48 +01:00
anschrammh
c0a6b2c93f Changed the random number generator static seed by using the current elapsed time in ms 2023-12-18 21:12:08 +01:00
anschrammh
bdd89aae41 merge 2023-12-18 21:00:15 +01:00
anschrammh
1f20f148fd Added a todo and done list to gather new ideas. A lot of work to do still 2023-12-18 20:56:50 +01:00
anschrammh
ea9f987556 Added a todo and done list to gather new ideas. A lot of work to do still 2023-12-04 19:45:29 +01:00
anschrammh
1e49325271 Added a todo and done list to gather new ideas. A lot of work to do still 2023-12-04 19:38:13 +01:00
0521ea37a9 Now setting some BLE connection parameters to try improving the watch's power consumption, shaved two mA off :( 2023-12-02 22:31:01 +01:00
65d41833fe Updated power consumption values of the watch 2023-12-02 22:29:28 +01:00
anschrammh
c0484e3760 Updated the lvgl simulator project 2023-11-29 08:46:10 +01:00
anschrammh
9e16ed302d Added a new watchface which replaces the old one for now. Will add a way
to choose which watchface to select in the application configuration file
(app_config.h).
2023-11-29 08:39:35 +01:00
anschrammh
fd0f44e888 Reworked and added the user feedback callback function to make the API consistent, implemented it on some screens/app already 2023-11-27 08:40:25 +01:00
anschrammh
8b16cf98aa It is now possible to swipe from right to left on the menu screen to open back the previously used application 2023-11-27 08:38:12 +01:00
anschrammh
68e1accde7 Added the possibility to enable the watchdog timer in case something goes sideways using the app_config.h file (enabled by default) 2023-11-27 08:37:08 +01:00
598feba07a Menu screen items are now displayed in a circular pattern and not as a straight list anymore 2023-11-04 16:28:26 +01:00
967913d8df Updated code::blocks lvgl simulator (font updated among other things) 2023-11-04 12:32:09 +01:00
da65442ad5 Started to implement some functions of the watch power management system (dynamically change CPU clock), more to be done. 2023-11-04 12:27:33 +01:00
b5efc4f3a2 Cleaned up some code, calling vibrate functions where needed. 2023-11-04 12:11:40 +01:00
518c78f879 Added two new helper function to vibrate the watch on item click and vibrate the watch on received message notifications. 2023-11-04 12:10:42 +01:00
54c35bcde8 Regenerated used fonts (14, 16, 24, 28 and 30) to add accented characters used in the french and german languages. Added parentheses around macro value in app_config.h, Updated the firmware_version.h file. 2023-11-04 12:09:02 +01:00
0580425401 Reworked the menu_screen internal working to be able to register an item clicked callback used to vibrate the watch as a configurable feedback to the user. 2023-11-03 14:42:20 +01:00
8ee9f96de2 Moved helper function used to vibrate the watch when an item was clicked to an other source file to clean things up 2023-11-03 14:40:12 +01:00
a5527b583c Added bma456 wearables feature set datasheet 2023-11-03 14:27:34 +01:00
Anatole SCHRAMM
06c02f76ba Added the possibility to set the notification's displayed hour format (12H/24H) 2023-10-25 13:39:06 +02:00
Anatole SCHRAMM
6b06e28394 Enabling the settings save feature (called when leaving the settings screen) only when the HARDWARE_PLATFORM is set to SMART_WATCH_PCB_RELEASE 2023-10-25 12:46:43 +02:00
Anatole SCHRAMM
01ba704adc Taking into account the newly available HARDWARE_PLATFORM for various file configurations 2023-10-25 12:44:48 +02:00
Anatole SCHRAMM
627754a5e6 Cleaned and added and new HARDWARE_PLATFORM to set the BLE name of the device as well as enable specific features if it is the release firmware ie the watch that is used daily 2023-10-25 12:43:41 +02:00
anschrammh
f31b3a2896 Corrected received notification time formatting, changed a lv_label_set_text to lv_label_set_text_static 2023-10-25 08:23:52 +02:00
3c36ec92ad Added the watch_power_management folder to the header include list 2023-10-22 09:03:46 +02:00
0fcfae7d1c Reworked the RTC driver to internally track the years from 2000 and not 1900 as there are only 7 bits for storing the years and this would overflow in 2028 ... 2023-10-22 09:02:38 +02:00
111ebd65c5 Did more code cleaning, integrated notification logic, a few things still needed to be fully functional 2023-10-22 09:00:33 +02:00
4107a5461f Added new settings to the notification section of the settings (Vibrations duration and strength for the message notifications and for the call notifications), added switches to enable or disable notifications 2023-10-22 08:59:28 +02:00
77a87d401e Added new functions to the API, work is almost done for the popup part of the notification, still need to design the notification history app 2023-10-22 08:57:23 +02:00
5b74ae2676 Added missing (void *) cast 2023-10-22 08:55:26 +02:00
ab08d61ee2 Fixed badly computed vibration strength, which could'nt reach 255... 2023-10-22 08:54:13 +02:00