Provides several formats to parse an NDEF (NFC Data Exchange Format) Message to retrieve specific information from it.
Parameters
Message
string
The NDEF message to parse.
Option unquoted string
The information to retrieve from the message.
It can be one of:
-
Get Number of Records
Get the total number of records in the NDEF message.
Target for Record Count numeric
the control or variable that will receive the number of records.
-
Raw Data
To retrieve the NDEF record raw content.
Record Index numeric
Index of the record to retrieve.
Target for TNF numeric
The control or variable that will receive the TNF record. Check NFC Create Ndef Message for possible values.
Target for Type string
The control or variable that will receive the TNF type.
Target for Payload string
The control or variable that will receive the record content.
This is retrieved without any decoding done by Kalipso. Decode with
UTF8ToString(), or other type of decoding.
Target for ID string
The control or variable that will receive the ID if it has one.
-
URI
Retrieve the URI of a URI record.
Record Index numeric
Index of the record to retrieve data.
Target for URI string
The control or variable that will receive the URI.
Target for ID string
The control or variable that will receive the ID if it has one.
-
Text
To retrieve the text from a text NDEF record.
Target for Language Code string
The control or variable that will receive the text language code.
Target for Text string
The control or variable that will receive the record text.
Target for ID string
The control or variable that will receive the ID if it has one.
-
MIME
Retrieve the MIME content of a MIME record.
Record Index numeric
Index of the record to retrieve data.
Target for Type string
The control or variable that will receive the record MIME type.
Target for Data string
The control or variable that will receive record MIME data. the record MIME type.
This is retrieved without any decoding done by Kalipso. Decode with
UTF8ToString(), or other type of decoding.
Target for ID string
The control or variable that will receive the ID if it has one.
-
Smart Poster
To retrieve a smart poster content from an NDEF record.
Record Index numeric
The record index to retrieve the data from.
Target for Message string
The control or variable that will receive the Smart Poster Message.
Normally this is an NDEF message that can be parsed with another call to this action.
Target for ID string
The control or variable that will receive the ID if it has one.
-
External
To retrieve a content from an NDEF record of external type. Normally this is application specific data.
Record Index numeric
The record index to retrieve the data from.
Target for Domain string
The control or variable that will receive the record domain.
Target for Type string
The control or variable that will receive the record type
Target for Data string
The control or variable that will receive the record data
This is retrieved without any decoding done by Kalipso. Decode with
UTF8ToString(), or other type of decoding.
Target for ID string
The control or variable that will receive the ID if it has one
|
-
NFC uses NDEF messages to transmit information/data. An NDEF message is composed of one or more NDEF records. You can use this action to extract data from an NDEF message without having to manually implement the NDEF message format, but you can manually parse an NDEF message in Kalipso if you want to.
|
Updated: 6/28/2018 5:08 PM
|