2019-11-19 18:05:56 +01:00

37 lines
1.2 KiB
Go

/***
Copyright (c) 2018, Hector Sanjuan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
***/
// Package ndef provides an implementation of the NFC Data Exchange
// Format (NDEF) specification:
// - NFCForum-TS-NDEF_1.0
// - NFCForum-TS-RTD_1.0
// It allows to parse byte slices into a structured Message type,
// as well as to turn an Message into a bytes again.
package ndef
// Possible values for the TNF Field as defined in the specification.
const (
Empty = byte(iota)
NFCForumWellKnownType
MediaType
AbsoluteURI
NFCForumExternalType
Unknown
Unchanged
Reserved
)