Skip to content

2 Applications

Umut Sevdi edited this page Jan 30, 2024 · 2 revisions

User Interface

This section describes how the user interface works from the end user’s point of view.

Lock Screen

Shuts down the display and the backlight. Calls sleep to the core periodically. The lock screen ends upon receiving a pop-up such as a call, notification or alarm or when the user double-clicks again.

Clock

Displays the current date, day of the week, time in hours and minutes and the temperature. Clicking on the screen toggles between showing a second or not. Swiping up opens the menu. Double-clicking locks the screen.

Clock Image

Menu

The menu allows users to select one application by clicking on it. Users can swipe left and right to switch to another application. Swiping down returns to the clock. Double-clicking locks the screen.

Menu Image

Applications

Each application contains a window on the top displaying the application name. Users can click the close button to return to the menu.

Alarm

The time values on the alarm screen are obtained via Bluetooth whenever they are updated on the application. If Bluetooth is not connected, the last sent values are used. Users can view existing alarms on the screen and toggle them on and off by clicking on them. A background service runs every minute to check active alarms without blocking the screen. When the time comes, a pop-up screen is generated for active alarms.

Alarm

Stopwatch

The stopwatch app contains two states. Start and stop. The start launches a background task called EVENT_CHRONO, which periodically updates the internal chronometer in the global state struct. The task continues even if the application is closed. The task can be stopped by pressing the Stop button. A tray icon is displayed when the chronometer is active.

Stopwatch

Media Player

Media Player displays the current song and its artist. Pressing the buttons on the screen sends a request to the connected phone and updates the data. If the song changes, it will be automatically updated.

Media Player

Pedometer

The user interface displays the daily steps. A background service counts the value using the accelerometer.

Pedometer

Calendar

The calendar screen displays a detailed calendar of the month.

Calendar

Notepad

A simple notepad application that stores data throughout the session. Users can take notes on the screen in four colours: white, red, blue, and green. Notepad also provides an eraser and clear screen buttons.

Notepad

Debugger

The debugger displays a live feed of system logs to analyze possible bugs.

Debugger

Pop-Up Events

Messages from Bluetooth or changes in the system can trigger pop-up events. For this, all screens periodically check for various conditions. If a pop-up is triggered, the current state’s data is preserved to recreate on exit(current selected screen, touch screen state, such as Gesture Capture or Pixel Capture). Then, the relevant pop-up screen is loaded. If a pop-up is already active, a comparison is made between pop-ups. There are four types of pop-ups, namely CALL, ALARM, REMINDER, and NOTIFY, in order of priority. If a more priority pop-up arrives, it replaces the current one. Pop-ups trigger device GPIOs such as LED, buzzer and motor.

Call Pop-Up

Occurs on an event of a call to the connected device. The interface displays the caller’s name and creates a menu with accept and dismiss buttons. Pressing either of the buttons will cause the connected device to take action. Pressing the exit button ignores that notification. This notification can be cancelled earlier remotely by answering the call from the connected device. The buzzer, LED and Motor will be triggered continuously until a button is pressed.

Call Pop-Up 
Screen

Alarm Pop-Up

Whenever an alarm is triggered, it creates a pop-up about the time. The alarm pop-up interface contains a single button that cancels the alarm. The buzzer and LED will be triggered continuously until a button is pressed.

Alarm Pop-Up 
Screen

Notification Pop-up

Notifications interface contains a title, text and an exit button. Whenever a push notification is received on the connected device, it is sent to the smartwatch to display. The buzzer and motor will be triggered once when the notification is received.

Notification Pop-Up 
Screen

Reminder Pop-up

The Reminder interface contains the event date and its title Whenever a saved reminder event occurs, it is sent to the smartwatch to display. The buzzer and motor will be triggered once when the reminder is received.

Reminder Pop-Up 
Screen