|
| | |
|
Creates or adds a new NDEF record to an existing message.
You must create an NDEF Message to be able to wright into an NFC Tag or Device.
Parameters
Option numeric
Specifies whether to create a new message or add a record to an existing one.
It can be one of:
1 - Create new Message
Creates a new NDEF message with a single record.
2 - Add Record to Existing Message.
Adds a new NDEF record to an existing NDEF message specified in the Source NDEF Message parameter.
Source NDEF Message string
NDEF message to add the new record to.
When adding a record to an existing NDEF message, this parameter receives the existing NDEF message to add the new record to.
NOTE: Only available if Option is set to 2 - Create new Message.
Target for NDEF Message string
The control or variable that will receive the new NDEF message.
Record Type
The type of record to be created.
It can be one of:
- Raw Data
Allows you to manually specify the content of the NDEF elements.
TNF numeric
Specifies the Type Name Field of the Record.
It can be one of:
- 0 - Empty
Indicates no type, id, or payload is associated with this NDEF Record.
This record type is useful on newly formatted cards since every NDEF tag must have at least one NDEF Record.
- 1 - Well known
Indicates the type field uses the RTD type name format.
This type name is used to store any record defined by a Record Type Definition (RTD), such as storing RTD Text, RTD URIs, etc., and is one of the mostly frequently used and useful record types.
- 2 - MIME Media
Indicates the payload is an intermediate or final chunk of a chunked NDEF Record.
- 3 - Absolute URI
Indicates the type field contains a value that follows the absolute-URI BNF construct defined by RFC 3986.
- 4 - External Type
Indicates the type field contains a value that follows the RTD external name specification.
- 5 -Unknown
Indicates the payload type is unknown.
- 6 - Unchanged
Indicates the payload is an intermediate or final chunk of a chunked NDEF Record.
- 7 - Reserved
Reserved by the NFC Forum for future use.
Type string
The type of the record.
Payload string
The content of the record.
This is saved without any encoding done by Kalipso. Encode with StringToUTF8() for example if you need to pass Unicode text, or other type of encoding.
ID string (optional)
The content of the record.
- URI
Creates an Uniform Resource Identifier record
Uri string
The URI value for this record.
ID string (optional)
The ID of the record.
- Text
Creates a Text record.
Language code string
Language code for this record (en, pt, …)
Text string
Text content for this record
ID string (optional)
The ID of the record.
- MIME
Creates a MIME record.
Data string
The mime data content for this record.
ID string (optional)
The ID of the record.
- Smart Poster
Creates a Smart Poster record.
Message string
The smart poster message.
This can be an NDEF message previously created with another call to this action.
ID string (optional)
The ID of the record.
- External
Creates an External Type record, normally used to pass application specific data.
Domain string
The domain for this external type record.
Type string
The type of data for this external type record.
Data string
The data content for this record.
This is saved without any encoding done by Kalipso.
Encode with StringToUTF8() for example if you need to pass Unicode text, or other type of encoding.
ID string (optional)
The ID of the record.
|
- 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 create an NDEF message without having to manually implement the NDEF message format, but you can manually build an NDEF message in Kalipso if you want to.
- Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email to support.
- Uniform Resource Identifier (URI) is a string of characters used to identify a resource.
- Backus-Naur form or Backus normal form (BNF) is a notation technique for context-free grammars, often used to describe the syntax of languages used in computing, such as computer programming languages, document formats, instruction sets and communication protocols.
|
Updated: 4/16/2018 10:24 AM
|
| |
|
|
|