|
cf7c52c1eb
|
Commented the API
|
2023-05-14 22:13:26 +02:00 |
|
|
df4ab1f790
|
Proper comments format
|
2023-05-14 22:12:26 +02:00 |
|
|
6df9ab5aad
|
Added the music player icon + saving the menu list scroll position when leaving an app
|
2023-05-14 22:11:47 +02:00 |
|
|
edb127e626
|
Updated the gadget bridge parser
|
2023-05-14 22:10:13 +02:00 |
|
|
23f592bcc1
|
Finally added the music player used to control the music playback of the phone through the BLE connection. It works great, some minor adjustements to do though.
|
2023-05-14 22:09:43 +02:00 |
|
|
2f50aa50c6
|
With the current driver state, it is possible to detect heart beats and thus compute the current heart rate. More things to come.
|
2023-05-12 15:24:59 +02:00 |
|
|
880dd9cb0e
|
MAX3010X driver continued and to be continued ...
|
2023-05-12 12:31:01 +02:00 |
|
|
61d8f80551
|
Renamed MAX3010X.h/c driver files
|
2023-05-11 21:57:20 +02:00 |
|
anschrammh
|
dc2f1dcecc
|
Replaced lv_color_make(0xFF, 0xFF,0xFF) with lv_color_white().
|
2023-05-11 07:22:56 +02:00 |
|
anschrammh
|
42c01e1d08
|
Continued to work on the MAX3010X driver, setup function is complete, still a lot to port/implement
|
2023-05-11 07:18:11 +02:00 |
|
|
3ae5bb9bdf
|
Continued to implement/port the MAX30102 using the sparkfun library. Still work to be done !
|
2023-05-08 21:30:58 +02:00 |
|
|
ee5a466666
|
Renamed register name define to be easier to understand
|
2023-05-08 21:29:15 +02:00 |
|
|
3cfbfdc843
|
Moved registers defines of the various I2C drivers I wrote from the header file to the source file because they do not need to be exposed. Started to write/port the Heart Rate Sensor (MAX30102) driver
|
2023-05-07 08:50:23 +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 |
|
|
b435687e33
|
Added the find my phone app/feature source files
|
2023-05-01 21:05:26 +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 |
|
|
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 |
|
|
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 |
|
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
|
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 |
|
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
|
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 |
|
|
8c1627b9b2
|
Officially added the gadget bridge parser I developed to the W800_Smart_Watch firmware
|
2023-04-10 21:26:25 +02:00 |
|
|
dea34c70e8
|
Added a persistency setting : the Activity one, which will be used to save the step counter feature (Enabled or not) as well as other activity related parameters
|
2023-04-10 21:21:59 +02:00 |
|
|
288a64d1ce
|
Did some cleanup by removing direct access to the watch sensor for initialization, added the gadget bridge parser I coded, and other minor stuff
|
2023-04-10 21:20:38 +02:00 |
|
|
22621219f3
|
Corrected a potential bug, made the date and time rollers disabled when set automatic time and date is enabled. Added the set automatic time and date feature which time and dates, if enabled, are sent by the Gadget Bridge Android Application
|
2023-04-10 21:19:19 +02:00 |
|
|
1c39e02f11
|
Added new line at the end of the file
|
2023-04-10 21:17:01 +02:00 |
|
|
da59200c77
|
Minor changes, nothing major
|
2023-04-10 21:16:27 +02:00 |
|
|
92d3279eb9
|
Big refactoring and cleanup by removing sensors initialization code from the gfx_task.c file and moving it to the watch_peripherals.c source file. This is way more logical IMO. This change also allows to enable or disable the wrist tilt wakeup with a function call
|
2023-04-10 21:15:47 +02:00 |
|
|
b8a11a8a79
|
Renamed QMC5883L_Mode_Control enumeration values to make it clear they are to be used in the magnetometer API
|
2023-04-10 21:13:18 +02:00 |
|
|
efae9a917e
|
Added a function to the pressure sensor API to be able to know if a measurement is currently being made
|
2023-04-10 21:12:01 +02:00 |
|
|
3bd772837c
|
Minor change
|
2023-04-10 10:02:22 +02:00 |
|