NFC / NDEF Library for Proximity APIs  4.1.0
Easily parse and create NDEF records with the Windows Proximity APIs / Near Field Communication NFC.
Properties | List of all members
NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType Class Reference

Information class that specifies required information to correclty parse and create a minor device class based on one or more encoded values. The exact format of the minor device class depends on the major device class in use, and this class enables to look up the encoding and lets this implementation take care of most of the complex underlying work that needs to be done. More...

Properties

uint MajorFieldByte [get, set]
 The major device class this instance is describing - specified as a uint value, but can be casted to the MajorDeviceClassTypes enum. More...
 
uint MinorFieldByte [get, set]
 The value of the minor device class defined by this instance. Note that only a certain number of bits are used from this definition (specified in NumBits) and that it might be necessary to bit-shift the value for the minor device class overall definition (specified by BitOffset). More...
 
MinorDeviceClassList MinorList [get, set]
 The minor device class represented as the enum value. Note that this enum value is not related to the actual bits set in the minor device class - these are specified by the MinorFieldByte property. More...
 
int PrimarySecondary [get, set]
 If this instance describes the primary (1) or secondary (2) minor device class. How many device classes are available depends on the major device class. More...
 
int NumBits [get, set]
 How many bits are used by the MinorFieldByte according to the definition. Especially if multiple minor device classes are encoded, the number of bits in use for the minor device class can be less than usual in order to leave room for other values (in the secondary class). More...
 
int BitOffset [get, set]
 Offset to be used for bit shifting to get the MinorFieldByte to the correct position in the overall minor device class field in the payload of the OOB record. More...
 

Detailed Description

Information class that specifies required information to correclty parse and create a minor device class based on one or more encoded values. The exact format of the minor device class depends on the major device class in use, and this class enables to look up the encoding and lets this implementation take care of most of the complex underlying work that needs to be done.

Property Documentation

◆ BitOffset

int NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType.BitOffset
getset

Offset to be used for bit shifting to get the MinorFieldByte to the correct position in the overall minor device class field in the payload of the OOB record.

◆ MajorFieldByte

uint NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType.MajorFieldByte
getset

The major device class this instance is describing - specified as a uint value, but can be casted to the MajorDeviceClassTypes enum.

◆ MinorFieldByte

uint NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType.MinorFieldByte
getset

The value of the minor device class defined by this instance. Note that only a certain number of bits are used from this definition (specified in NumBits) and that it might be necessary to bit-shift the value for the minor device class overall definition (specified by BitOffset).

◆ MinorList

MinorDeviceClassList NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType.MinorList
getset

The minor device class represented as the enum value. Note that this enum value is not related to the actual bits set in the minor device class - these are specified by the MinorFieldByte property.

◆ NumBits

int NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType.NumBits
getset

How many bits are used by the MinorFieldByte according to the definition. Especially if multiple minor device classes are encoded, the number of bits in use for the minor device class can be less than usual in order to leave room for other values (in the secondary class).

◆ PrimarySecondary

int NdefLibrary.Ndef.NdefBtSecureSimplePairingRecord.BtClassOfDevice.MinorDeviceClassType.PrimarySecondary
getset

If this instance describes the primary (1) or secondary (2) minor device class. How many device classes are available depends on the major device class.


The documentation for this class was generated from the following file: