clock top-level constant

NotificationType const clock

Implementation

const clock = NotificationType(
  /* 0x0B */ NOTIFICATION_TYPE_CLOCK, 'Clock', //
  [
    NotificationValue(0, 'State idle' //
        // Notification value for the state variable going to idle. (V5)
        ),
    NotificationValue(1, 'Wake up alert'),
    NotificationValue(2, 'Timer ended'),
    NotificationValue(3, 'Time remaining' //
        // Event Parameter 3 bytes =
        // Byte 1 - 0x00..0xFF: 0..255 hours
        // Byte 2 - 0x00..0xFF: 0..255 minutes
        // Byte 3 - 0x00..0xFF: 0..255 seconds
        ),
    /* NotificationValue(254, Unknown event/state) */
  ],
);