aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Fix race condition, connect->disconnect->discoveryJames A. Jerkins2021-09-011-1/+3
| | | |
| | * | Completely reset connection state on failJames A. Jerkins2021-08-301-0/+3
| | | |
| | * | WIP Refactor ble advertisingJames A. Jerkins2021-08-292-40/+60
| | |/ | | | | | | | | | | | | Refactor ble advertising based on ble standards and conventions. Changes are based on the bleprph example code, bluetooth docs, and nimble docs.
* | | Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-131-1/+1
|\| |
| * | docs: Fix a few typos (#606)Tim Gates2021-09-131-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs: Fix a few typos There are small typos in: - doc/versioning.md - src/components/ble/NimbleController.cpp - src/libs/mynewt-nimble/CODING_STANDARDS.md - src/libs/mynewt-nimble/docs/btshell/btshell_GAP.rst - src/systemtask/SystemTask.cpp Fixes: - Should read `milliseconds` rather than `miliseconds`. - Should read `unnecessary` rather than `uncesseray`. - Should read `target` rather than `tharget`. - Should read `project` rather than `projct`. - Should read `preferred` rather than `prefered`. - Should read `functioning` rather than `functionning`. - Should read `forever` rather than `forver`. - Should read `existing` rather than `exisiting`.
* / Toggle notifications only, keep vibrations.Riku Isokoski2021-09-122-12/+1
|/
* Make firmware updating more foolproof (#469)Riku Isokoski2021-07-221-5/+4
| | | | | | | * 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
* Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-114-4/+15
| | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* Inititialize members in class declarationJonathan Vander Mey2021-07-022-22/+12
| | | | Also added initializers for previously unintialized members.
* Move local-only function into anonymous namespaceJonathan Vander Mey2021-07-021-4/+3
|
* Make MusicService UUID objects static constexprJonathan Vander Mey2021-07-022-22/+31
|
* Eliminate reinterpret_castingJonathan Vander Mey2021-07-021-26/+26
|
* SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix2021-06-261-0/+5
| | | | | | * 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
* Merge pull request #359 from Avamander/patch-2JF0022021-06-122-157/+95
|\ | | | | Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
| * Updated license header yearAvamander2021-05-172-2/+2
| |
| * Used a macro for UUID generation, switched from C-style casts to ↵Avamander2021-05-172-155/+93
| | | | | | | | reinterpret_cast, renamed callback
* | Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-065-7/+7
|/ | | | 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.
* Changed access modified indentationAvamander2021-04-2416-36/+36
|
* Reformatted all the files according to clang-format styleAvamander2021-04-2431-1315/+1051
|
* Merge branch 'develop' into notification-titleJean-François Milants2021-04-091-1/+1
|\ | | | | | | | | # Conflicts: # src/displayapp/screens/Notifications.cpp
| * Fix music app :Jean-François Milants2021-04-041-1/+1
| | | | | | | | | | - 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)
* | Ignore notification with empty message.Jean-François Milants2021-04-042-4/+10
| |
* | Add support for notification title. The notification buffer must contain the ↵Jean-François Milants2021-04-046-2/+22
|/ | | | | | title and the message separated by a '\0' character. If the buffer does not contain any \0, the whole buffer is considered to be the message of the notification. A default title will be displayed in the notification app.
* Merge pull request #182 from petterhs/warningsJF0022021-02-142-5/+3
|\ | | | | Fix build warnings coming from HR implementation
| * fix build warnings in HR implementationpetter2021-01-252-5/+3
| |
* | Fix merge conflict.Jean-François Milants2021-02-142-0/+11
|\ \
| * | add vibration togglepetter2021-02-072-0/+11
| |/
* | Merge pull request #161 from petterhs/callsJF0022021-02-144-5/+98
|\ \ | | | | | | Call functionality with changed UUID for notification event characteristic
| * | add mute button and functionality for call notification + new button iconspetter2021-01-272-1/+16
| | |
| * | Handle call notification the same way than other notifications.Jean-François Milants2021-01-242-26/+46
| | | | | | | | | | | | Display the call notifications in the Notification app, with buttons to accept/reject the call.
| * | change Notification Event base UUIDpetter2021-01-212-14/+14
| | |
| * | change Notification Event UUIDpetter2021-01-212-6/+8
| | |
| * | Add incoming call functionalityRasmus Schenstrom2021-01-214-4/+60
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Add categories to AlertNotification Add new alert notification screens bases Add Incoming Call Add Modal Add event to AlertNotification Co-authored-by: Robin Karlsson <robin.karlsson@protonmail.com>
* / Update to nimble 1.3 master branch commit ↵Jean-François Milants2021-02-023-0/+3
|/ | | | | | 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled!
* Merge branch piggz/nav into develop:Jean-François Milants2021-01-204-0/+238
| | | | | - fix conflict - add a icon for the navigation app.
* Merge pull request #169 from JF002/heartRateSensorJF0022021-01-204-3/+135
|\ | | | | Heart rate sensor
| * Add heart rate BLE service.Jean-François Milants2021-01-174-3/+135
| |
* | Music UUID must start with 00000000 instead of 00010000 (copy/paste error)Jean-François Milants2021-01-191-1/+1
| |
* | Adapt the UUID of Music service according to new guidelines.Jean-François Milants2021-01-192-41/+77
| |
* | fix MusicService UUID typo in commentpetter2021-01-081-1/+1
|/
* Include cleanup: componentsokaestne2020-11-1623-57/+115
|
* Refactoring of BLE service discovery : it is now implemented into the ↵JF2020-10-299-227/+251
| | | | classes of the services.
* Reset BLE services on disconnect, do not start advertising if a connection ↵JF2020-10-285-23/+54
| | | | is already established.
* Fix conflictsJF2020-10-272-165/+335
|\
| * Unified MusicStatus enum constant capitalization with othersAvamander2020-10-151-2/+2
| |
| * Refactored and improved the Music watchappAvamander2020-10-152-165/+335
| |
* | Notifications : Fix copy when the messages is spread across multiple os_mbuf.JF2020-10-225-23/+28
| |
* | Notifications : Fix display of notification index/number.JF2020-10-212-1/+6
| |
* | Increase max size of notification message to 100 char.JF2020-10-215-40/+29
| | | | | | | | Fix bug in message handling that would ignore the last character of the notification.
* | Integrate new notification UI with notifications coming from BLEJF2020-10-202-10/+73
|/