nn::cec::CTR::MessageBox::GetBoxSessionNum Member Functionu32 GetBoxSessionNum( CecBoxType boxType ) const;
| Name | Description | |
|---|---|---|
| in | boxType | Specified using the CecBoxType enumerated type. Specify CEC_BOXTYPE_INBOX. |
Gets the number of Session IDs in the inbox (which is equivalent to the number of times data was received).
The Session ID is generated using random numbers before searching for a communication partner. This ID is passed to the partner once one is discovered. The local host and partner then begin communication.
The data receiver writes its partner's Session ID to received messages. The same Session ID is written to all data received during the same CEC session.
Different Session IDs indicate that data was received in different communication sessions, even if the data has the same GroupID. You can find out how many times data was received by counting the unique Session IDs attached to the inbox messages.
CONFIDENTIAL