summaryrefslogtreecommitdiff
path: root/src/components/ble
AgeCommit message (Collapse)AuthorFilesLines
2023-01-09Format header filesFinlay Davidson14-0/+38
In my PR updating clang-format, I forgot to also format the headers.
2023-01-04Update clang-{format,tidy} to 14Finlay Davidson2-0/+2
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
2022-12-18Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski1-1/+1
Don't enable coding conventions from unrelated projects. Only enable generic checks.
2022-11-25BLE CTS: fixed signedness of timezoneuli1-2/+2
2022-11-25WeatherService daily min/max temperature fixes (#1455)kieranc1-6/+8
* Min/Max function fixes * Faster way to calculate day start
2022-11-11add CTS local time characteristic and use it to provide UTC in ↵uli4-55/+101
DateTimeController
2022-10-10Edit all occurences of "watchface" to "watch face"mashuptwice1-3/+3
2022-06-28Dismiss notifications by swiping rightSimon Willshire2-61/+115
Add a new interface `NotificationManager::Dismiss(id)` to delete a notification with the specified `id`. The animate the notification dismiss the `RightAnim` transition to a black screen is used. After the dismiss the new message is swiped in from below or above. If we dismiss the oldest message (when we are at 5/5, or 3/3), then the new message after a dismiss should appear to come from below. Otherwise (when we are at 2/3) the new message after a dismiss should appear to come from above. Rework the index code to show the index of the currently viewed notification. Instead of calculating the index relative to the oldest `id` introduce a new interface `NotificationManager::IndexOf(id)`. This is done because the `id` of the notifications in the buffer aren't continuous anymore (as some messages could have been dismissed). Rework notification ring buffer to have a beginIdx and a size internally to make the dismissal of notifications easier. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/176 Co-authored-by: Simon Willshire <me@simonwillshire.com> Co-authored-by: Reinhold Gschweicher <pyro4hell@gmail.com>
2022-06-05Fix various typosluz paz2-7/+7
Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
2022-06-05Apply clang-format to all C++ filesFinlay Davidson10-53/+84
2022-06-05Replace C-style casts with static_castFinlay Davidson1-8/+10
2022-04-25Make functions const againRiku Isokoski2-2/+2
2022-04-25Update track progress in MusicService. Fix #127Riku Isokoski2-2/+14
2022-04-19Merge branch 'develop' into remove-nm-referenceMax Friedrich9-37/+91
2022-03-21New changes according to the review : Priority 0 for display, 1 for system, ↵Jean-François Milants1-0/+1
timer and ble host, and 2 for ble LL
2022-03-21Music app : when title/track name are truncated, add an ellipsis at the end ↵Jean-François Milants1-5/+13
of the strings.
2022-03-21Add missing space in if expression.Jean-François Milants1-1/+1
2022-03-21Limit the size of the track and album name received by MusicService. This ↵Jean-François Milants1-0/+7
should work around this bug : https://github.com/InfiniTimeOrg/InfiniTime/issues/825 and prevent heap over-allocation.
2022-03-08Add missing nrf_log.h includes shadowed by SystemMonitor.hReinhold Gschweicher5-0/+5
Some components were missing a `nrf_log.h` include. This missing include was accidentally provided by the SystemMonitor.h header, which was included by Systemtask.h
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants4-41/+49
into evergreen22-airplane-mode Apply a few changes that were requested in the PR during the review. # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants4-32/+57
into evergreen22-airplane-mode # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-16remove unused referenceminacode2-2/+0
2022-02-12Fix biased BLE pass key generationZorvalt1-1/+22
2021-12-23Add airplane mode featureJames A. Jerkins4-32/+57
Implements 'Airplane mode' feature to disable and enable bluetooth/ble Adds airplaneMode as a non-persisted setting Adds a setting menu for switching airplane mode on and off Displays an airplane symbol on the Digital watch face and the PineTimeStyle watch face when airplane mode is enabled Always enables bluetooth/ble on boot (disable airplane mode) Alphabetizes the settings menu options Style cleanups Closes #632
2021-12-21Optional secure pairing with a passkeyJames A. Jerkins3-6/+4
Support passkey pairing when requested by the central Fix a comment and reorder warning
2021-12-10Fix Failed rebase.Tim Keller2-5/+3
2021-12-10Fix more initializersTim Keller1-12/+10
2021-12-10Fix large file support that broke due to a refactor.Tim Keller1-1/+1
2021-12-10Force variable cleanup because LFS makes assumptions about variable ↵Tim Keller1-7/+5
initialization state
2021-12-10Attempt at a more robust File handlerTim Keller1-8/+15
2021-12-10Change read to return LFS return values when reading a directory or ↵Tim Keller1-12/+12
nonexistant file
2021-12-10Fix string nullterminations,Tim Keller1-13/+23
Expand error codes.
2021-12-10Added move functionTim Keller2-3/+29
2021-12-10Fix lvgl_open to respect littlefs open errorsTim Keller1-4/+2
2021-12-10Write worksTim Keller2-15/+68
2021-12-10Reading Seems to work?Tim Keller1-39/+39
2021-12-10Actually fix memory corruption, seems stable nowTim Keller2-65/+43
ListDir MKDIR delete all seem to work Co-authored-by: Iambian <Iambian@users.noreply.github.com>
2021-12-10List Dir works?Tim Keller3-17/+34
2021-12-10Focus on getting flash access working properlyTim Keller2-5/+7
2021-12-10Start of read commandTim Keller2-19/+158
2021-12-10Added Delete fileTim Keller2-28/+88
Added FS Stat.
2021-12-10Fix folder count in outputTim Keller2-20/+40
2021-12-10More reliable FS listingTim Keller1-5/+12
2021-12-10direcetory listings maybe?Tim Keller2-6/+94
Added LISTDIR command and notify responses.
2021-12-10Added Blank FSService that exposes only version infoTim Keller4-3/+129
2021-12-09Merge branch 'develop' into patch-weatherAvamander4-47/+220
2021-12-09Adjust BLE/LL stacks, style, comments, refactoringJames A. Jerkins2-15/+27
Increase BLE task stack +200 and decrease LL task stack -200 more braces!
2021-12-09Persist bond between rebootsJames A. Jerkins2-9/+115
Save bond information in the FS after a disconnect or encryption change if the bond is not already stored. The bond is restored on boot enabling automatic reconnection to a previously bonded central. Two consecutive watch reboots with the central out of range (or BLE off) will remove the stored bond from the watch.
2021-12-09Connect and bond with a passkeyJames A. Jerkins3-32/+87
This commit adds the following: Passkey pairing - passkey is displayed on watch Swipe down to clear passkey screen Connection encryption Connection bonding Automatic reconnects to a bonded peripheral Trusted device on Android Note that persisting the bond between reboots is NOT included in this commit. Therefore, rebooting the watch will cause reconnect failures. You must delete the bond from the phone to reconnect/pair.
2021-12-04Updated docs and renamed functions for consistencyAvamander2-6/+9