2 * (c) 2011 Siegen, Germany by Nils Faerber <nils.faerber@kernelconcepts.de>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
25 #define MW_GET_DEVICE_TYPE 0x01
26 #define MW_GET_DEVICE_TYPE_RSP 0x02
27 #define MW_GET_INFORMATION_STRING 0x03
28 #define MW_GET_INFORMATION_STRING_RSP 0x04
30 #define MW_ADVANCE_WATCH_HANDS 0x20
31 #define MW_SET_VIBRATE_MODE 0x23
33 #define MW_SET_REAL_TIME_CLOCK 0x26
34 #define MW_GET_REAL_TIME_CLOCK 0x27
35 #define MW_GET_REAL_TIME_CLOCK_RSP 0x28
37 #define MW_RTC_CLOCK_12HR 0x00
38 #define MW_RTC_CLOCK_24HR 0x01
39 #define MW_RTC_DATE_MMDD 0x00
40 #define MW_RTC_DATE_DDMM 0x01
42 #define MW_RESERVED 0x32
43 #define MW_STATUS_CHANGE_EVENT 0x33
44 #define MW_BUTTON_EVENT_MESSAGE 0x34
46 #define MW_WRITE_BUFFER 0x40
47 #define MW_CONFIGURE_MODE 0x41
48 #define MW_CONFIGURE_IDLE_BUFFER_SIZE 0x42
49 #define MW_UPDATE_DISPLAY 0x43
50 #define MW_LOAD_TEMPLATE 0x44
51 #define MW_RESERVED2 0x45
52 #define MW_ENABLE_BUTTON 0x46
53 #define MW_DISABLE_BUTTON 0x47
54 #define MW_READ_BUTTON_CONFIG 0x48
55 #define MW_READ_BUTTON_CONFIG_RSP 0x49
56 #define MW_RESERVED3 0x4a
58 #define MW_BATTERY_CONFIG_MSG 0x53
59 #define MW_LOW_BATTERY_WARNING_MSG 0x54
60 #define MW_LOW_BATTERY_BT_OFF_MSG 0x55
61 #define MW_READ_BATTERY_VOLTAGE_MSG 0x56
62 #define MW_READ_BATTERY_VOLTAGE_RSP 0x57
63 #define MW_READ_LIGHT_SENSOR_MSG 0x58
64 #define MW_READ_LIGHT_SENSOR_RSP 0x59
65 #define MW_ACCELEROMETER 0xea
68 #define MW_SCREEN_MODE_IDLE 0x00
69 #define MW_SCREEN_MODE_APPLICATION 0x01
70 #define MW_SCREEN_MODE_NOTIFICATION 0x02
71 #define MW_SCREEN_MODE_SCROLL 0x03