Commit Graph

283 Commits

Author SHA1 Message Date
anschrammh
0d74cf001c Renaming 2023-05-03 22:53:52 +02:00
anschrammh
dba1a5182d Did some renaming 2023-05-03 22:52:17 +02:00
anschrammh
fdc8eb4c99 Removed warning due to missing header files and unused variable 2023-05-03 22:50:36 +02:00
6f57d01242 Updated lvgl simulator and GadgetBridge parser code::block's layout files 2023-05-01 21:10:29 +02:00
b435687e33 Added the find my phone app/feature source files 2023-05-01 21:05:26 +02:00
a9c9e7688c Updated the lvgl simulator files to include the new find my phone app feature 2023-05-01 21:04:21 +02:00
6936eb2a0e Minor change : removed the capital letter at the front of some parameters 2023-05-01 21:02:26 +02:00
99263462ad Added the find my phone app/feature with it's related translation in english, french and german 2023-05-01 21:01:28 +02:00
8a636a238c Added a new icon used for the find my phone app 2023-05-01 21:00:30 +02:00
d4ad912239 Reworked the docking station size because the watch casing is slightly wider 2023-04-30 18:47:37 +02:00
2a67f76d70 Reworked the watch case as well as the back cover because I changed the vibration motor. I went from a 10 mm by 3 mm round motor to a 8 mm by 2 mm one. 2023-04-29 22:29:07 +02:00
4c310529b3 Mise à jour de 'README.md' 2023-04-29 13:27:58 +02:00
4d18b8b0fb Mise à jour de 'README.md' 2023-04-29 13:06:51 +02:00
f4edc2207e Mise à jour de 'README.md' 2023-04-29 12:50:54 +02:00
b58d9d9a3b Mise à jour de 'README.md' 2023-04-29 09:00:22 +02:00
392bc42f64 Mise à jour de 'README.md' 2023-04-29 08:45:09 +02:00
30a841227b Quickly calibrated the compass to check if it worked with the PCB in the casing and with the magnetic connector nearby, and it does 2023-04-23 21:02:27 +02:00
b45c5fdcbf Updated the Gadget Bridge parser to parse debug frames needed when implementing the notification manager 2023-04-23 20:27:29 +02:00
e3321d67ab Updated settings screen in the lvgl simulator 2023-04-22 22:52:49 +02:00
5bc20d03d7 Added two new messages to parse 2023-04-22 22:51:33 +02:00
10a98e3819 Reworked the space for the vibration motor 2023-04-22 22:46:04 +02:00
7a6810a56e Added BLE pairing security when this is the first time the watch is paired to a phone. Depending on the capabilities of the device, it might be required to enter a pass key for bonding. 2023-04-22 22:40:41 +02:00
41febe5fef Added missing include to get rid of the explicit declaration warning 2023-04-22 22:37:54 +02:00
ebf7f07789 Implemented a few new callbacks 2023-04-22 13:23:20 +02:00
e698dfb274 Now displaying the BLE device MAC address in the connectivity tab 2023-04-22 13:21:35 +02:00
3fe41b0971 Added new functions to the API 2023-04-22 13:20:44 +02:00
a550c52c39 Added a function to generate a random 6 digit number, this number could be used as the bluetooth pairing code 2023-04-22 13:20:15 +02:00
2206b6f2fb Added enum to string utility function for the IO action 2023-04-22 13:16:39 +02:00
anschrammh
1859f31275 Updated lvgl simulation files 2023-04-20 13:16:51 +02:00
anschrammh
13b3ecfacf Changed log write frequency 2023-04-20 13:16:03 +02:00
anschrammh
17d8c9949d Added new data to save to flash and new accessor functions, work is still in progress ! 2023-04-20 13:15:15 +02:00
anschrammh
ef0abe0ab7 Added new informations in the about section (raw magnetometer data, raw pressure and temperature and more). 2023-04-20 13:14:05 +02:00
anschrammh
fcc152f64d Changed some core logic, now sending the watch's battery information when connected every 5 minutes to the phone so that gadget bridge can draw and update the battery graph. Added annd implemented a few callbacks used by the watch_settings screen 2023-04-20 13:13:06 +02:00
anschrammh
552644a412 Minor date number placement rework 2023-04-20 13:09:51 +02:00
anschrammh
5ea4d8fb38 Re enabled the tick hook function in FreeRTOS used by the millis function 2023-04-20 13:09:28 +02:00
anschrammh
5f7ac5a1d1 Introduced a new event which can be passed to the calling application : BLE_SERVICE_MODE_UNSUBSCRIBED, added a function to the API allowing to set the battery service level (still need to check if a device is subscribed to the characteristic to send the new value ot it). 2023-04-20 13:08:23 +02:00
anschrammh
03f86ea483 Finished to implement the millis api? It uses the FreeRTOS tick hook function to keep track of running time. 2023-04-20 13:01:50 +02:00
anschrammh
2df2f332bf Exposed the magnetometer's internal temperature sensor reading. It is not precise and not accurate, but interesting 2023-04-20 12:57:44 +02:00
anschrammh
8ea47fb03c Added description comment 2023-04-20 12:56:05 +02:00
d78956f12b Changed C12 capacitor value from 100nf to 68nf 2023-04-16 21:26:09 +02:00
30392415b8 Designed the first version of the watch case, watch back cover and watch docking station with FreeCAD. 2023-04-16 20:09:12 +02:00
anschrammh
e2fb8b3822 Reworked the watch's sleep feature and internal workings, added a new sleep mode when BLE is enabled, now sending the watch's battery level, voltage and state to the GadgetBridge app when it connects to the watch 2023-04-13 13:41:42 +02:00
anschrammh
9f241454c6 Finally reworked the way date and time are set so that they have the expected value and behaviour 2023-04-13 13:40:00 +02:00
anschrammh
0789cc62ad Commented debug traces out so that they are not diplayed on the serial port anymore 2023-04-13 13:38:50 +02:00
anschrammh
82ad6d16ba Added a function in the lvgl input device binding file to be able to know if the touch screen was touched or not 2023-04-13 13:37:50 +02:00
anschrammh
c885568e34 Wrapped and added new functions to the watch_peripherals module to be able to prepare the watch for different sleep modes, and being able to detect different wakeup sources. Changed the function used for the BMA456 driver required micro seconds delay 2023-04-13 13:36:48 +02:00
anschrammh
92de986dba Added a new event to the ble_service_state_change event callback function to be able to detect when a BLE master device subscribed to a particular characteristic. Also reworked the allocated buffers for the BLE stack, because of a strage issue, where it is hard for the phone to reconnect to the watch. 2023-04-13 13:34:38 +02:00
anschrammh
cfc42779dd Added new app_utils module/lib containing miscellaneous utility functions like blocking delays and such. Still need to fully implement the elapsed_ms function. 2023-04-13 13:31:54 +02:00
anschrammh
4184be2763 Changed the way the lvgl tick is handled, it was previously called from
the FreeRTOS vApplicationTickHook function and is now called by a timer
interrupt every ms. This permits to stop the timer and thus lvgl when it
is not needed.
2023-04-13 13:27:07 +02:00
anschrammh
89c33cd7f7 Updated settings screen in the simulator 2023-04-11 01:04:58 +02:00