PebbleOS
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations | Functions
put_bytes.h File Reference
#include <stdbool.h>
#include <stdint.h>

Data Structures

struct  PbInstallStatus
 Progress of a partially written object. More...
 

Typedefs

typedef struct PebbleCommSessionEvent PebbleCommSessionEvent
 Communication session event, see PebbleCommSessionEvent.
 

Enumerations

enum  PutBytesObjectType {
  ObjectUnknown = 0x00 , ObjectFirmware = 0x01 , ObjectRecovery = 0x02 , ObjectSysResources = 0x03 ,
  ObjectAppResources = 0x04 , ObjectWatchApp = 0x05 , ObjectFile = 0x06 , ObjectWatchWorker = 0x07 ,
  NumObjects
}
 Object types. More...
 

Functions

void put_bytes_init (void)
 Initialize put bytes.
 
void put_bytes_cancel (void)
 Cancel an ongoing app, app resources or worker transfer.
 
void put_bytes_deinit (void)
 Reset all put bytes state, for unit tests only.
 
void put_bytes_expect_init (uint32_t timeout_ms)
 Expect an Init request within a timeout.
 
void put_bytes_handle_comm_session_event (const PebbleCommSessionEvent *app_event)
 Handle a communication session event.