2 * (c) 2011 Siegen, Germany by Nils Faerber <nils.faerber@kernelconcepts.de>
12 #define MW_GET_DEVICE_TYPE 0x01
13 #define MW_GET_DEVICE_TYPE_RSP 0x02
14 #define MW_GET_INFORMATION_STRING 0x03
15 #define MW_GET_INFORMATION_STRING_RSP 0x04
17 #define MW_ADVANCE_WATCH_HANDS 0x20
18 #define MW_SET_VIBRATE_MODE 0x23
20 #define MW_SET_REAL_TIME_CLOCK 0x26
21 #define MW_GET_REAL_TIME_CLOCK 0x27
22 #define MW_GET_REAL_TIME_CLOCK_RSP 0x28
24 #define MW_RTC_CLOCK_12HR 0x00
25 #define MW_RTC_CLOCK_24HR 0x01
26 #define MW_RTC_DATE_MMDD 0x00
27 #define MW_RTC_DATE_DDMM 0x01
29 #define MW_RESERVED 0x32
30 #define MW_STATUS_CHANGE_EVENT 0x33
31 #define MW_BUTTON_EVENT_MESSAGE 0x34
33 #define MW_WRITE_BUFFER 0x40
34 #define MW_CONFIGURE_MODE 0x41
35 #define MW_CONFIGURE_IDLE_BUFFER_SIZE 0x42
36 #define MW_UPDATE_DISPLAY 0x43
37 #define MW_LOAD_TEMPLATE 0x44
38 #define MW_RESERVED2 0x45
39 #define MW_ENABLE_BUTTON 0x46
40 #define MW_DISABLE_BUTTON 0x47
41 #define MW_READ_BUTTON_CONFIG 0x48
42 #define MW_READ_BUTTON_CONFIG_RSP 0x49
43 #define MW_RESERVED3 0x4a
45 #define MW_BATTERY_CONFIG_MSG 0x53
46 #define MW_LOW_BATTERY_WARNING_MSG 0x54
47 #define MW_LOW_BATTERY_BT_OFF_MSG 0x55
48 #define MW_READ_BATTERY_VOLTAGE_MSG 0x56
49 #define MW_READ_BATTERY_VOLTAGE_RSP 0x57
51 #define MW_ACCELEROMETER 0xea
54 #define MW_SCREEN_MODE_IDLE 0x00
55 #define MW_SCREEN_MODE_APPLICATION 0x01
56 #define MW_SCREEN_MODE_NOTIFICATION 0x02
57 #define MW_SCREEN_MODE_SCROLL 0x03
59 const char *mw_screen_mode_names[] = {
62 "notification screen",
66 const char *mw_status_string[] = {