#include <include/nfc/ndef/ch.h>
Constructor for an NFC Connection Handover Carrier Record payload.
- Parameters
-
[in] | hc_rec | Pointer to the Connection Handover Carrier record description. |
[out] | buf | Pointer to the payload destination. If NULL, function will calculate the expected size of the Handover Connection Carrier Record payload. |
[in,out] | len | Size of the available memory to write as input. Size of the generated record payload as output. |
- Return values
-
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |