Pebble Foundation Classes
0.2.0
C++ for Pebble
|
36 PROCESS_INFO_PLATFORM_APLITE = 0x1 << 6,
39 PROCESS_INFO_PLATFORM_CHALK = 0x3 << 6,
40 PROCESS_INFO_PLATFORM_DIORITE = 0x4 << 6,
41 PROCESS_INFO_PLATFORM_EMERY = 0x5 << 6,
55 #define PROCESS_INFO_CURRENT_STRUCT_VERSION_MAJOR 0x10
56 #define PROCESS_INFO_CURRENT_STRUCT_VERSION_MINOR 0x0
62 #define PROCESS_INFO_LEGACY_STRUCT_VERSION_MAJOR 0x08
147 #define PROCESS_INFO_CURRENT_SDK_VERSION_MAJOR 0x5
148 #define PROCESS_INFO_CURRENT_SDK_VERSION_MINOR 0x56
151 #define PROCESS_INFO_FIRST_2X_SDK_VERSION_MAJOR 0x4
152 #define PROCESS_INFO_FIRST_2X_SDK_VERSION_MINOR 0x0
155 #define PROCESS_INFO_FIRST_3X_SDK_VERSION_MAJOR 0x5
156 #define PROCESS_INFO_FIRST_3X_SDK_VERSION_MINOR 0x16
159 #define PROCESS_INFO_FIRST_4X_SDK_VERSION_MAJOR 0x5
160 #define PROCESS_INFO_FIRST_4X_SDK_VERSION_MINOR 0x50
163 #define PROCESS_INFO_FIRST_4_2_X_SDK_VERSION_MAJOR 0x5
164 #define PROCESS_INFO_FIRST_4_2_X_SDK_VERSION_MINOR 0x54
166 #define PROCESS_NAME_BYTES 32
167 #define COMPANY_NAME_BYTES 32
179 int version_compare(Version a, Version b);
187 Version struct_version;
189 Version process_version;
193 char name[PROCESS_NAME_BYTES];
194 char company[COMPANY_NAME_BYTES];
195 uint32_t icon_resource_id;
196 uint32_t sym_table_addr;
198 uint32_t num_reloc_entries;
217 uint32_t resource_crc;
218 uint32_t resource_timestamp;
219 uint16_t virtual_size;
225 Version struct_version;
227 Version process_version;
231 char name[PROCESS_NAME_BYTES];
232 char company[COMPANY_NAME_BYTES];
233 uint32_t icon_resource_id;
234 uint32_t sym_table_addr;
236 uint32_t reloc_list_start;
237 uint32_t num_reloc_entries;
256 } LegacyPebbleAppInfo;
@ PROCESS_INFO_STANDARD_APP
Definition: pebble_process_info.h:16
@ PROCESS_INFO_WATCH_FACE
Definition: pebble_process_info.h:19
struct __attribute__((__packed__)) AccelData
A single accelerometer sample for all three axes.
Definition: pebble.h:605
@ PROCESS_INFO_ROCKY_APP
True, if process uses RockyJS APIs.
Definition: pebble_process_info.h:30
@ PROCESS_INFO_PLATFORM_UNKNOWN
SDK older than 4.2 doesn't store any value.
Definition: pebble_process_info.h:35
@ PROCESS_INFO_ALLOW_JS
Use to indicate the process allows Javascript API access.
Definition: pebble_process_info.h:26
@ PROCESS_INFO_VISIBILITY_HIDDEN
Use to hide the process.
Definition: pebble_process_info.h:21
@ PROCESS_INFO_PLATFORM_MASK
Bitmask, to store compile time platform.
Definition: pebble_process_info.h:33
PebbleProcessInfoFlags
Definition: pebble_process_info.h:13
@ PROCESS_INFO_VISIBILITY_SHOWN_ON_COMMUNICATION
Definition: pebble_process_info.h:24
@ PROCESS_INFO_PLATFORM_BASALT
Values that are actually added by SDK 4.2+.
Definition: pebble_process_info.h:38
@ PROCESS_INFO_HAS_WORKER
Use to indicate the process should have a worker.bin installed as well.
Definition: pebble_process_info.h:28