nn::cec::CTR::GetCecInfoBuffer Function

Syntax

nn::Result GetCecInfoBuffer(
     u32 cecTitleId,
     u8 pCecInfoBuffer[ ],
     size_t size
);

Arguments

Name Description
in cecTitleId Specifies the StreetPass ID.
out pCecInfoBuffer[ ] Specifies the buffer to receive the CecNotificationData.
in size Specifies the buffer size.

Return Values

nn::Result

Value Description
ResultSuccess Process succeeded.
ResultNoData There was no data that could be obtained.

Description

Gets information about a message received in the previous communication.

After receiving a receipt notification using GetCecRecvEventHandle, this function can be used, for example, to check whether there is data for the foreground application.
Can only be used to get information about one message, even when multiple grouped messages are received.
In addition, information for received data that was destroyed because it was duplicated is not included.


CONFIDENTIAL