anschrammh
ea79af772b
Halfed the BLE prefered MTU size changing it to 256 instead of 512
2023-03-30 13:26:28 +02:00
anschrammh
6a9639700b
Added new functions to the watch face API such as watch_face_set_step_count_indicator or watch_face_is_in_use
2023-03-30 13:24:48 +02:00
anschrammh
61f7e21cb3
Added more information in the about section of the settings screen : battery voltage, factory reset button and other things
2023-03-30 13:16:35 +02:00
anschrammh
47753131d6
Added BLE support to the app, fixed a graphical glitch happening when
...
waking up the watch by touching the screen where the second hand was
jumping from the old time to the new time
2023-03-30 13:14:35 +02:00
anschrammh
3156976f7a
Removed the BLE device name from this header file
2023-03-30 13:11:19 +02:00
anschrammh
b5cc52df81
Commented a trace statement in the ble service in order to keep the serial traces clean
2023-03-30 13:09:55 +02:00
anschrammh
e8583254e6
Wrapped the SDIO MMC IO busy wait statement in a function such that it can be called by any API needing it
2023-03-30 13:08:57 +02:00
anschrammh
2b79a31165
Fixed an issue when sending commands to the LCD screen while a DMA
...
transfer is in progress causing graphical issues
Detail :
A DMA transfer may be in progress when trying to send single byte commands to the LCD screen. This could badly configure the display as soon as the data/command select pin was set to command while the DMA was still sending data bytes.
The fix : doing a busy wait in the lcd_set_data function to be sure the bus is free to use.
2023-03-30 13:05:53 +02:00
anschrammh
a58c453f58
Added a define to easily set the BLE advertised name of the W800SmartWatch
2023-03-30 12:56:32 +02:00
anschrammh
1de2baa1eb
Added information about the OS used as well as the different stacks (BLE and TCP/IP)
2023-03-30 12:54:53 +02:00
anschrammh
d6882339fe
Minor change
2023-03-26 23:31:19 +02:00
anschrammh
160a2f88db
Added new watch face background image with the steps counter icon
2023-03-26 23:30:50 +02:00
anschrammh
ef6e9c3779
Added new firmware_version.h file which will list all the changes with their associated version number. It also containes the firmware build time and date
2023-03-26 23:25:35 +02:00
anschrammh
fe94e2b896
Pushing updates done to the LVGL emulator project files
2023-03-26 23:24:39 +02:00
anschrammh
beb7a86af1
Added a lot of settings handling callbacks, added the code to test the BMA456 step counter feature and it seems to work just fine
2023-03-26 23:22:45 +02:00
anschrammh
721db527ce
Added the ble modem and service source files (at last)
2023-03-26 23:21:27 +02:00
anschrammh
85e5fec2cd
Updated the watch face background image
2023-03-26 23:19:08 +02:00
anschrammh
622681128c
Reworked the vibration duration when touching the screen
2023-03-26 23:18:14 +02:00
anschrammh
214e174ffc
Implemented the logic to detect and read the charge controller status pins using two different policies :
...
- the first one (also used right now) is using interrupts on the two lines
- the second one was doing some polling using a timer interrupt to check the controller status
2023-03-26 23:17:20 +02:00
anschrammh
9f574f0486
Added new features and graphics to the watch face :
...
Added a battery icon which is blinking when the battery is low
Addes a charging and charged battery icon
Added a step count counter widget with icon and count
Added a bluetooth status icon showing when ble is enabled,disabled and when a device is connected
Added the possibility to hide the hour and minute hands with a long press on the screen, this enables to see information which might be hidden by the hands ...
2023-03-26 23:13:30 +02:00
anschrammh
8a9b805b95
Added new persistency methods, reworked some old ones and added every settings set functions
2023-03-26 23:09:36 +02:00
anschrammh
9458948f59
Added support for new settings with their callbacks, adjusted vibration motor duration, added a factory reset button and now saving the settings to flash memory when leaving the settings screen
2023-03-26 23:07:43 +02:00
anschrammh
22805a4e54
Added the I2C clock speed parameter to the app_config.h file. Max working clock speed seems to be 300kHz
2023-03-26 23:04:43 +02:00
7329d86437
Mise à jour de 'LICENSE'
2023-03-24 21:42:52 +01:00
2a8c21205b
Mise à jour de 'README.md'
2023-03-24 21:41:54 +01:00
anschrammh
e393c2c18a
Updated the README file by adding some pictures of the PCB + otherinformation
2023-03-24 21:37:57 +01:00
anschrammh
f1af0cd0d6
Adjusted rtc's year setting ...
2023-03-24 16:39:22 +01:00
anschrammh
e03c8d1585
Added the datasheet of an other display which might be used in version 2 of the watch to get rid of the big round black bezel
2023-03-24 16:38:49 +01:00
anschrammh
e18faba6a9
Did some cleanup and added more files/folders to the ignored pile
2023-03-24 15:27:52 +01:00
anschrammh
f1e71bba67
Turned off a lot of functionalities related to TCP IP and WiFi to free some RAM, might be turned on back again later if needed and if RAM space left :P
2023-03-24 15:26:11 +01:00
anschrammh
d05aa72135
Updated all the settings callbacks to be compatible with the new setting system
2023-03-24 15:23:17 +01:00
anschrammh
4c1f1e168a
Updated a log trace to be more meaningful
2023-03-24 15:22:15 +01:00
anschrammh
f8dace1dc1
Reduced the main's task stack size from 4k to 2k
2023-03-24 15:18:07 +01:00
anschrammh
2761a53a49
Reduced FreeRTOS available heap from 12k to 4k
2023-03-24 15:17:04 +01:00
anschrammh
2481699356
Vibration settings are now taken into account at lvgl input device driver layer
2023-03-24 15:15:19 +01:00
anschrammh
b65ab1ad4e
Reduced LVGL allocated RAM by 10K. This RAM will be useful when running the BLE stack ...
2023-03-24 15:10:17 +01:00
anschrammh
b31cc96c10
Added the tls_is_rtc_running function which is not part of the official SDK. This allows to start the RTC after a reset and to know when it stopped running.
2023-03-24 15:10:16 +01:00
anschrammh
061fdb729b
Updated the menu to now use the translation module to display the selected language
2023-03-24 15:06:14 +01:00
anschrammh
7e11913535
Added new watch settings in the persistency layer, added flash read and write functions, work still in progress
2023-03-24 15:06:14 +01:00
anschrammh
185b7a7efa
Major rework of the settings screen :
...
- reduced RAM footprint by 10K :-)
- Added the new about category displaying infos about the watch's firmware
- Now widgets are reloaded with current parameters's values
- Almost all settings are taken into account
2023-03-24 15:06:14 +01:00
anschrammh
728394ff22
Reworked the compass screen to work for both possible platforms (breadboard and PCB)
2023-03-24 15:06:14 +01:00
anschrammh
86be55b404
Reworked the common screen header to add scrolling when the title is too long and to be able to update it's title after is has been created
2023-03-24 15:06:14 +01:00
anschrammh
5d3b5b5285
Added new wrapper functions to interact more easily with the watch's peripherals
2023-03-24 15:06:14 +01:00
anschrammh
beec1570c0
Reworked the orientation of the screen depending on the defined platform in app_config.h
2023-03-24 15:06:14 +01:00
anschrammh
f770a8e436
Added new parameter to be able to build the firmware for the breadboard platform or the PCB (latest) platform
2023-03-24 15:06:14 +01:00
anschrammh
ccad2b7494
Corrected a typo, added some precision about the BMA456 IRQ line used for wakeup
2023-03-24 14:49:11 +01:00
anschrammh
6c4a186a19
Added the new translation module to the project by updating the include paths + makefile
2023-03-24 14:48:20 +01:00
anschrammh
323f1f2996
Added a translation module to implement multilanguage support
2023-03-24 14:45:55 +01:00
anschrammh
0874a24cb9
Added a new header file to track the version history of the firmware and to display the running version
2023-03-24 14:44:30 +01:00
anschrammh
099fe8cea7
Added an other charging state which wasn't an error : when both lines are high, this indicates that no charger is currently plugged to the watch
2023-03-22 08:24:20 +01:00