PebbleOS
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations
session_receive_router.h File Reference
#include <pbl/services/comm_session/protocol.h>
#include <stddef.h>
#include <stdint.h>

Data Structures

struct  PebbleProtocolEndpoint
 A single Pebble Protocol endpoint. More...
 
struct  ReceiverImplementation
 Buffers inbound message payloads and schedules endpoint handlers. More...
 
struct  ReceiveRouter
 Pebble Protocol header parsing state of a session. More...
 

Typedefs

typedef void(* PebbleProtocolEndpointHandler) (CommSession *session, const uint8_t *data, size_t length)
 Pebble Protocol endpoint handler.
 
typedef struct Receiver Receiver
 Opaque context of the message currently being received.
 

Enumerations

enum  PebbleProtocolAccess { PebbleProtocolAccessPublic = 1 << 0 , PebbleProtocolAccessPrivate = 1 << 1 , PebbleProtocolAccessAny = ~0 , PebbleProtocolAccessNone = 0 }
 Who may send messages to an endpoint. More...