Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Instead of casting the UUID object to the ble_uuid_t* used throughout
the NimBLE API just pass the address of the ble_uuid_t member that's at
the start of each of the UUID structs.
|
|
|
|
Avoids the need to copy the same ID into every characteristic UUID
genereated from it.
|
|
Fixed mismatch between the service and characteristic IDs in the
navigation service comments and documentation. They had old values not
reflecting the current code and changes in doc/ble.md
|
|
|
|
* Make firmware updating more foolproof and fix bugs
* No need to manually handle overflow
* Make startTime TickType_t
* Don't process TouchEvents::None
* Fix sleep getting re-enabled issue more directly
|
|
|
|
* Allow multiple wakeup modes at the same time.
This commit adds multiple wakeup modes support.
It does so by storing them as a uint8_t bitfield enum.
It changes the following functions:
Since multiple modes can be on now, older version would not cut it:
WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes()
Where each bit corresponds to a WakeUpMode
We still need a way to check whether a specific wakeup mode is on, so:
bool isWakeUpModeOn(const WakeUpMode mode)
This function was changed to work correctly with the new implementation.
setWakeUpMode(WakeupMode mode, bool enable)
Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake
up mode was None or RaiseWrist, to prevent waking up when a touch was
received. However, after enabling using multiple WakeUpModes, this
caused a bug where when RaiseWrist was checked with SingleTap or
DoubleTap, the tap detection wouldn't work.
This commit fixes that bug.
Next commit will update the settings WakeUpMode select UI to reflect these changes.
Signed-off-by: Kozova1 <mug66kk@gmail.com>
* Updated UI to reflect multiple WakeUp sources being available.
Signed-off-by: Kozova1 <mug66kk@gmail.com>
|
|
|
|
|
|
|
|
Refactor battery percent : only use uint8_t to store the battery % remaining.
|
|
* add submodule littlefs
* base fs
* Save settings using littlefs
* Small fixes and suggestions from PR
* More small fixes from PR suggestions
* Code clean up
* Change SpiNorFlash functions to be private in FS
|
|
Added static methods to return the text of a given month
or dayOfWeek.
|
|
* Brace style and whitespace fixes
* Additional whitespace fixes
|
|
Also added initializers for previously unintialized members.
|
|
|
|
|
|
|
|
* Change voltage float to millivolt integer
* Explain the ADC to milliVolts conversion
|
|
|
|
|
|
* Retrieve and display bootloader version
- Display bootloader version on System Info screen
- Enable SPI flash sleep mode if bootloader version >= 1.0.0
* Wait for SPI flash to wakeup before starting OTA DFU
|
|
|
|
* Add support for BMA425 acceleration sensor.
|
|
Changed type of encodedBufferIndex to size_t to eliminate warning. It is
fine as a size_t as its only ever compared to another size_t and used as
an array index.
|
|
Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
|
|
variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
|
|
* built timer app
* Style improvements
* making sure buttons stay hidden when the app is reopened and reappear after the timer runs out
* more sensible calculations of time deltas. eliminated that mysterious scaling factor
* changing the timer icon
|
|
|
|
reinterpret_cast, renamed callback
|
|
* Emit event on power-present toggle
* clang-format on changes
* also update battery status on any event
* update comments; remove double battery update
* Fix formatting
* Vibrate shortly on charging event
* debounce charge event
|
|
additional whitespaces
|
|
|
|
New Steps app
|
|
|
|
https://github.com/JF002/InfiniTime into StepsApp
|
|
|
|
|
|
|
|
Settings to set the steps goal
More detail in Motion app
New 42px Font
|
|
I modified the process to make 5 consecutive readings,
as the process is asynchronous,
there is no interference in the main process.
|
|
# Conflicts:
# src/CMakeLists.txt
# src/displayapp/Apps.h
# src/displayapp/DisplayApp.cpp
# src/displayapp/DisplayApp.h
# src/displayapp/lv_pinetime_theme.c
# src/displayapp/screens/ApplicationList.cpp
# src/drivers/TwiMaster.cpp
# src/systemtask/SystemTask.h
|
|
# Conflicts:
# src/displayapp/screens/Notifications.cpp
|
|
Fix music app
|
|
|
|
optimize battery code
|
|
- Enable LVGL animation (and disable groups, which were not used), and set the speed.
- Fix disc animation and progress display by initializing lastIncrement at 0 (a random value will be used otherwise, in release build)
|