Star Trek computer themed wasp-os on PineTime
#11
(10-19-2020, 09:55 AM)JMaier Wrote: Thanks for the response. I've done some minor visual modifications to the main wasp-os sources. I've also seen the documentation and have downloaded the modified version of gadgetbridge. I've successfully connected gadgetbridge to a Pinetime running wasp. However, now I want to implement gadgetbridge message interpretations to the clock app similarly to the star trek implementation but I'm not entirely sure how to go about doing so.

It's all part of the manager (wasp.system). The notifications end up in wasp.system.notifications which is simply a dictionary of dictionaries.

For an example of manipulating the notifications take a look at the built-in notification display app: https://github.com/daniel-thompson/wasp-...ger.py#L86

In this case the foreground() method will grab a notification, remove it from the dictionary and then formats it for display. If you want to integrate notifications into a watch face you will need to do something similar. Of course for a watch face you probably wouldn't want to remove it from the dictionary unless the user instructs you to.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
RE: Star Trek computer themed wasp-os on PineTime - by danielt - 10-20-2020, 10:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Develop a new firmware for PineTime belushi 2 1,391 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 570 08-20-2023, 05:17 AM
Last Post: Luno
  Zephyr Backlight Examples for PineTime lcj 0 752 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,167 05-06-2023, 02:15 PM
Last Post: lcj
  export accelerometer and ppg signals to computer yanei 0 680 02-22-2023, 11:26 AM
Last Post: yanei
  Send a message from Android to pinetime via BLE razrosman 0 962 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 2,149 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 1,708 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,598 03-20-2022, 08:58 PM
Last Post: jandy
  "Pine64 USB JTAG Adapter + OpenOCD + PineTime" should it work? ITCactus 4 4,064 03-02-2022, 05:58 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)