summaryrefslogtreecommitdiff
path: root/src/components/ble
AgeCommit message (Collapse)AuthorFilesLines
2021-09-13docs: Fix a few typos (#606)Tim Gates1-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`.
2021-07-22Make firmware updating more foolproof (#469)Riku Isokoski1-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
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants4-4/+15
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-02Inititialize members in class declarationJonathan Vander Mey2-22/+12
Also added initializers for previously unintialized members.
2021-07-02Move local-only function into anonymous namespaceJonathan Vander Mey1-4/+3
2021-07-02Make MusicService UUID objects static constexprJonathan Vander Mey2-22/+31
2021-07-02Eliminate reinterpret_castingJonathan Vander Mey1-26/+26
2021-06-26SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix1-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
2021-06-12Merge pull request #359 from Avamander/patch-2JF0022-157/+95
Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants5-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.
2021-05-17Updated license header yearAvamander2-2/+2
2021-05-17Used a macro for UUID generation, switched from C-style casts to ↵Avamander2-155/+93
reinterpret_cast, renamed callback
2021-04-24Changed access modified indentationAvamander16-36/+36
2021-04-24Reformatted all the files according to clang-format styleAvamander31-1359/+1095
2021-04-09Merge branch 'develop' into notification-titleJean-François Milants1-1/+1
# Conflicts: # src/displayapp/screens/Notifications.cpp
2021-04-04Fix music app :Jean-François Milants1-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)
2021-04-04Ignore notification with empty message.Jean-François Milants2-4/+10
2021-04-04Add support for notification title. The notification buffer must contain the ↵Jean-François Milants6-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.
2021-02-14Merge pull request #182 from petterhs/warningsJF0022-5/+3
Fix build warnings coming from HR implementation
2021-02-14Fix merge conflict.Jean-François Milants2-0/+11
2021-02-14Merge pull request #161 from petterhs/callsJF0024-5/+98
Call functionality with changed UUID for notification event characteristic
2021-02-07add vibration togglepetter2-0/+11
2021-02-02Update to nimble 1.3 master branch commit ↵Jean-François Milants3-0/+3
82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled!
2021-01-27add mute button and functionality for call notification + new button iconspetter2-1/+16
2021-01-25fix build warnings in HR implementationpetter2-5/+3
2021-01-24Handle call notification the same way than other notifications.Jean-François Milants2-26/+46
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-21change Notification Event base UUIDpetter2-14/+14
2021-01-21change Notification Event UUIDpetter2-6/+8
2021-01-21Add incoming call functionalityRasmus Schenstrom4-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>
2021-01-20Merge branch piggz/nav into develop:Jean-François Milants4-0/+238
- fix conflict - add a icon for the navigation app.
2021-01-20Merge pull request #169 from JF002/heartRateSensorJF0024-3/+135
Heart rate sensor
2021-01-19Music UUID must start with 00000000 instead of 00010000 (copy/paste error)Jean-François Milants1-1/+1
2021-01-19Adapt the UUID of Music service according to new guidelines.Jean-François Milants2-41/+77
2021-01-17Add heart rate BLE service.Jean-François Milants4-3/+135
2021-01-08fix MusicService UUID typo in commentpetter1-1/+1
2020-11-16Include cleanup: componentsokaestne23-57/+115
2020-10-29Refactoring of BLE service discovery : it is now implemented into the ↵JF9-227/+251
classes of the services.
2020-10-28Reset BLE services on disconnect, do not start advertising if a connection ↵JF5-23/+54
is already established.
2020-10-27Fix conflictsJF2-165/+335
2020-10-22Notifications : Fix copy when the messages is spread across multiple os_mbuf.JF5-23/+28
2020-10-21Notifications : Fix display of notification index/number.JF2-1/+6
2020-10-21Increase max size of notification message to 100 char.JF5-40/+29
Fix bug in message handling that would ignore the last character of the notification.
2020-10-20Integrate new notification UI with notifications coming from BLEJF2-10/+73
2020-10-15Unified MusicStatus enum constant capitalization with othersAvamander1-2/+2
2020-10-15Refactored and improved the Music watchappAvamander2-165/+335
2020-10-02Fixed all the includes that were broken due to the renamesAvamander24-0/+2400