Serial Framework C++ Edition

◆ GetConnectionId()

unsigned long GetConnectionId ( ) const

Connection ID.

Returns
The unique connection ID of the current OBEX session. Zero if client is not connected yet.

The Connection ID is assigned internally when a remote client opens OBEX session. An application may use this value to unique identify the connected client and/or session.

The Connect ID value is unique per application. If the Connection ID is zero the OBEX session has not been established yet.