Confirmed users
118
edits
Line 231: | Line 231: | ||
It exposes the following functions public methods to Nfc Gaia applications. | It exposes the following functions public methods to Nfc Gaia applications. | ||
- parseNDEF: | - parseNDEF : Parse an NDEF message | ||
- parseHandoverNDEF: | - parseHandoverNDEF : Parse a NDEF message that represents a handover request | ||
or a handover select message | |||
- searchForBluetoothAC: | - searchForBluetoothAC : Search for a Bluetooth Alternate Carrier in a | ||
handover NDEF message | |||
- parseBluetoothSSP: Parses a Carrier Data Record that contains a | - parseBluetoothSSP : Parses a Carrier Data Record that contains a | ||
Bluetooth Secure Simple Pairing record | |||
- encodeHandoverRequest: | - encodeHandoverRequest: Returns a NDEF message that contains a handover | ||
request message | |||
- encodeHandoverSelect: | - encodeHandoverSelect: Returns a NDEF message that contains a handover | ||
select message | |||
Sample example to demonstrate the construction of an url as an NDEF Message: | ''Sample example to demonstrate the construction of an url as an NDEF Message:'' | ||
var tnf = NDEF.TNF_WELL_KNOWN; | var tnf = NDEF.TNF_WELL_KNOWN; | ||
var type = NDEF.RTD_URI; | var type = NDEF.RTD_URI; |