nfc_llcp_write()
Writes data to an LLCP connection.
Synopsis:
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_llcp_write(nfc_target_t *llcpConnection, uchar_t *buffer, size_t bufferLength)
Arguments:
- llcpConnection
-
The LLCP connection target.
- buffer
-
The pointer to the buffer to write.
- bufferLength
-
The buffer size.
Library:
libnfcDescription:
This function writes data to an LLCP connection asynchronously. The result of the write operation will be returned in a separate NFC LLCP event.
Returns:
NFC_RESULT_SUCCESS, or one of the following:
- NFC_RESULT_INVALID_PARAMETER: A parameter is invalid.
- NFC_RESULT_OUT_OF_MEMORY: The system memory available for the NFC system to complete this operation is insufficient.
- NFC_RESULT_SERVICE_CONNECTION_ERROR: There was a problem connecting to the NFC system.