Reinhold Gschweicher
ac7b2da611
Update includes to to be relative to src directory
...
Don't use relative imports like `../foo.h` as those depend on the
relative position of both files. Rather than that use imports relative
to the `src` directory, which explicitly is part of the include
directories.
2021-11-15 22:02:49 +01:00
Jonathan Vander Mey
487ae478ad
Remove unnecessary C-style casts with BLE UUIDs
...
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.
2021-07-24 11:40:06 -04:00
Jean-François Milants
7f9cc51b05
Initialize SystemTask, DisplayApp and HeartRateTask as global static 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-06-06 15:56:03 +02:00
Avamander
40d45d923b
Reformatted all the files according to clang-format style
2021-04-24 11:39:53 +03:00
Jean-François Milants
3934e9bef2
Ignore notification with empty message.
2021-04-04 15:19:37 +02:00
Jean-François Milants
03de1c6739
Add support for notification title. The notification buffer must contain the 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-04-04 12:10:47 +02:00
petter
d4c31bcbbe
add mute button and functionality for call notification + new button icons
2021-01-27 17:07:46 +01:00
Jean-François Milants
219bafb01a
Handle call notification the same way than other notifications.
...
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-24 17:22:39 +01:00
petter
6d76dbc911
change Notification Event base UUID
2021-01-21 23:36:17 +01:00
petter
2d90571f0d
change Notification Event UUID
2021-01-21 23:15:34 +01:00
Rasmus Schenstrom
10ba20876f
Add incoming call functionality
...
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-21 23:15:29 +01:00
okaestne
1516573df4
Include cleanup: components
2020-11-16 01:35:45 +01:00
JF
07b6812f61
Notifications : Fix copy when the messages is spread across multiple os_mbuf.
2020-10-22 10:43:42 +02:00
JF
440ae412b9
Increase max size of notification message to 100 char.
...
Fix bug in message handling that would ignore the last character of the notification.
2020-10-21 17:31:56 +02:00
Avamander
6c86d1d9d7
Fixed all the includes that were broken due to the renames
2020-10-02 22:16:48 +03:00