Lines Matching full:ndef
22 * Handle ndef messages
80 ** Description Deregister NDEF record type handler
102 ** Description Deregister all NDEF record type handlers (called during
129 ** Description Register NDEF record type handler
147 NFA_TRACE_WARNING0 ("Default NDEF handler being changed.");
152 NFA_TRACE_DEBUG0 ("Default NDEF handler successfully registered.");
182 NFA_TRACE_DEBUG1 ("NDEF handler successfully registered. Handle=0x%08x", p_reg_info->ndef_type_handle);
190 NFA_TRACE_ERROR0 ("NDEF handler failed to register.");
203 ** Description Deregister NDEF record type handler
216 NFA_TRACE_ERROR1 ("Invalid handle for NDEF type handler: 0x%08x", p_dereginfo->ndef_type_handle);
231 ** Description Find next ndef handler for a given record type
277 /* If absolute URI, then compare URI for match (skip over uri_id in ndef payload) */
285 /* Check if handler is absolute URI but NDEF is using prefix abrieviation */
288 /* Handler is absolute URI but NDEF is using prefix abrieviation. Compare URI prefix */
296 /* Check if handler is using prefix abrieviation, but NDEF is using absolute URI */
299 /* Handler is using prefix abrieviation, but NDEF is using absolute URI. Compare URI prefix */
309 /* Not looking for specific URI. Check if type_name for this handler matches the NDEF record's type_name */
335 ** handled the entire incoming NDEF message)
360 ** Description Handle incoming ndef message
381 /* If problem reading NDEF message, then exit (no action required) */
385 /* If in exclusive RF mode is activer, then route NDEF message callback registered with NFA_StartExclusiveRfControl */
388 ndef_data.ndef_type_handle = 0; /* No ndef-handler handle, since this callback is not from RegisterNDefHandler */
400 NFA_TRACE_DEBUG0 ("Notifying default handler of zero-length NDEF message...");
409 /* Validate the NDEF message */
412 NFA_TRACE_ERROR1 ("Received invalid NDEF message. NDEF status=0x%x", ndef_status);
416 /* NDEF message received from backgound polling. Pass the NDEFNDEF handlers */
418 /* New NDEF message. Clear 'notified' flag for all the handlers */
421 /* Indicate that no handler has handled this entire NDEF message (e.g. connection-handover handler *) */
427 /* Check each record in the NDEF message */
442 /* Not a registered NDEF type. Use default handler */
451 /* If handler is for whole NDEF message, and it has already been notified, then skip notification */
460 NFA_TRACE_DEBUG1 ("Calling ndef type handler (%x)", p_handler->ndef_type_handle);
465 /* Calculate length of NDEF record */
470 /* If no payload, calculate length of ndef record header */
499 /* If handler wants entire ndef message, then pass pointer to start of message and */
501 /* NDEF message. */
504 ndef_data.p_data = p_ndef_start; /* Start of NDEF message */
508 /* Indicate that at least one handler has received entire NDEF message */
512 /* Notify NDEF type handler */
526 /* Unregistered NDEF record type; no default handler */
527 NFA_TRACE_WARNING1 ("Unhandled NDEF record (#%i)", rec_count);