|
PebbleOS
|
#include <stdint.h>Enumerations | |
| enum | CommSessionCloseReason { CommSessionCloseReason_UnderlyingDisconnection = 0 , CommSessionCloseReason_ClosedRemotely = 1 , CommSessionCloseReason_ClosedLocally = 2 , CommSessionCloseReason_TransportSpecificBegin = 100 , CommSessionCloseReason_TransportSpecificEnd = 255 } |
| Why a session was closed. More... | |
| enum | CommSessionTransportType { CommSessionTransportType_PlainSPP = 0 , CommSessionTransportType_iAP = 1 , CommSessionTransportType_PPoGATT = 2 , CommSessionTransportType_QEMU = 3 , CommSessionTransportType_PULSE = 4 } |
| Transport type carrying a session. More... | |
Functions | |
| CommSessionTransportType | comm_session_analytics_get_transport_type (CommSession *session) |
| Get the transport type of a session. | |
| void | comm_session_analytics_open_session (CommSession *session) |
| Record a session being opened. | |
| void | comm_session_analytics_close_session (CommSession *session, CommSessionCloseReason reason) |
| Record a session being closed. | |