-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ble enhancements#124 #134
Ble enhancements#124 #134
Conversation
Kampi
commented
Nov 21, 2023
- Remove Gadgetbridge code from BLE communication code and split them
- Add "Subject" field to notification object - Remove length check for notification fields, because empty fields have a length of 0 which causes issues with the string termination main: - Rename log level for main in Kconfig - Add log level for main application - Use short payload of a notification instead of the long version Signed-off-by: Daniel Kampert <[email protected]>
- Add log level for Bluetooth code - Replace include guards with "pragma once" Template app: - Add log level for template app Settings app: - Add log level for settings app Signed-off-by: Daniel Kampert <[email protected]>
- Fix compile errors because of multible log tags in Bluetooth code - Undo auto insertion in settings file by VS Code - Change log level for notification data to debug
- Add BLE connected and disconnected ZBUS event - Replace "printk" in "ble_comm" with log output - Remove new line from log output - Add ZBUS instead of BLE data callback Misc: - Replace include guard for managers with "pragma once" - Add docu header to manager functions - Format code Signed-off-by: Daniel Kampert <[email protected]>
Saves us bunch of RAM not having a seperate on. Helps with thread safety.
…LE_enhancements#124
Testing draft PR |
49220b8
to
f3fc894
Compare
app/boards/arm/zswatch_nrf5340/zswatch_nrf5340_cpuapp_defconfig
Outdated
Show resolved
Hide resolved
f3fc894
to
1dabd87
Compare
- Format code - Changes from PR Notifications: - Improve scrolling - Add option to add notifications when notification app is active BLE: Signed-off-by: Daniel Kampert <[email protected]>
- Add new design for Notifications
1dabd87
to
46525c8
Compare
- Rework UI
- Remove connected and disconnected event Notification manager: - Add ZBUS listener to keep track about new notifications - Add missing value check for "num_notifications" to prevent boundary issues with the notification buffer Notifications: - Rework UI - Add timestamp field - Add log levels - Add notification source "COMMON_MESSENGER", "WHATSAPP" and "COMMON_MAIL" IAQ app: - Add log levels Signed-off-by: Daniel Kampert <[email protected]>
c5cea23
to
eea1e0c
Compare
- Add long press to remove a notification - Add scrolling with animation when notification is removed - Convert the age into a better time format - Fix crash when closing notification app with at least one active notification - Set initial time when building a notification instead setting it to 0 - Change font size for notification body from 14 to 12 Signed-off-by: Daniel Kampert <[email protected]>
As a side comment, I'm getting tons of whatsapp messages and I don't even have whatsapp on this phone hahaha so something is off But on the bright side, the "Notification" screen is nice |
That´s weird :D |
Many of mine are also WhatsApp hehe and I don't have it |
- Add button to clear all notifications - Replace text area with label to prevent a focus on the body - Fix a bug where the last notification out of many can not be removed when the removal starts not at the bottom - Add "Now" string for notifications with an age of less than 1 minute instead of showing the seconds - Add notification for WhatsApp Notification manager: - Add notification remove channel for ZBUS Signed-off-by: Daniel Kampert <[email protected]>
8bc1124
to
a57561d
Compare
Moved to PR from my fork |