PebbleOS
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations
imaging_endpoint_types.h File Reference
#include <stdint.h>
#include <pbl/kernel/compiler.h>

Data Structures

struct  ImagingRequestHeader
 Image request header, watch to phone. More...
 
struct  ImagingResponseHeader
 Image response chunk header, phone to watch. More...
 

Macros

#define IMAGING_RESPONSE_FLAG_TYPE_MASK   (0xf0)
 Mask of the ImagingImageType a response answers, in bits 4-7 of its flags.
 
#define IMAGING_RESPONSE_FLAG_TYPE_SHIFT   (4)
 Shift of the image type in a response's flags.
 

Enumerations

enum  ImagingCmdID { ImagingCmdIDRequest = 0x01 , ImagingCmdIDResponse = 0x02 , ImagingCmdIDInvalid = 0xff }
 Image-fetch endpoint (0x0035) command identifiers. More...
 
enum  ImagingImageType { ImagingImageTypeAlbumArt = 0x00 , ImagingImageTypeNotification = 0x01 , ImagingImageTypeCount }
 What an image is for; determines the type-specific parameters of the request. More...
 
enum  ImagingFormat { ImagingFormat1Bit = 0x00 , ImagingFormat8BitColor = 0x01 , ImagingFormat4BitPalette = 0x02 }
 Pixel encoding requested by the watch, and used by the response. More...
 
enum  ImagingResponseFlags { ImagingResponseFlagFirst = (1 << 0) , ImagingResponseFlagLast = (1 << 1) , ImagingResponseFlagNoImage = (1 << 2) , ImagingResponseFlagUnsupported = (1 << 3) }
 Flags of an image response chunk. More...