nfc_llcp_get_local_sap()

Return the local service access point (SAP)

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_llcp_get_local_sap(nfc_target_t *llcpConnection, unsigned int *sap)

Since:

BlackBerry 10.0.0

Arguments:

llcpConnection

The LLCP connection target.

sap

The returned local service access point.

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description:

This function returns the local SAP for an LLCP connection.

Returns:

NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus