PebbleOS
Loading...
Searching...
No Matches
Data Structures
Session internals

Session state, for the session module and its transports. More...

Data Structures

struct  CommSession
 Pebble Protocol communication session. More...
 

Detailed Description

Session state, for the session module and its transports.


Data Structure Documentation

◆ CommSession

struct CommSession

Pebble Protocol communication session.

Opaque Pebble Protocol communication session.

Pebble Protocol session (see services/comm_session).

With iAP, the Pebble app has one session and third party apps share another. With PPoGATT, the Pebble app and each third party app have their own session.

Data Fields
TransportDestination destination Whether the session serves the system, an app, or both.
bool is_send_next_call_pending True if a callback to the transport's send_next() is already scheduled.
ListNode node Node in the list of open sessions.
RtcTicks open_ticks RTC ticks when the session was opened.
CommSessionCapability protocol_capabilities Capabilities announced by the phone.
ReceiveRouter recv_router Inbound message parser state.
SessionSendQueueJob * send_queue_head Head of the send queue.
Transport * transport Transport carrying the session (SPP, iAP, PPoGATT, QEMU or PULSE).
const TransportImplementation * transport_imp Callbacks into the transport.