Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Public Member Functions | Public Attributes | List of all members
org.direct_bt.SMPKeyMask Class Reference

SMP Key Type for Distribution, indicates keys distributed in the Transport Specific Key Distribution phase. More...

Collaboration diagram for org.direct_bt.SMPKeyMask:

Classes

enum  KeyType
 SMPKeyMask Key Type More...
 

Public Member Functions

 SMPKeyMask (final byte v)
 
 SMPKeyMask ()
 
boolean isEmpty ()
 
boolean isSet (final KeyType bit)
 
void set (final KeyType bit)
 
String toString ()
 

Public Attributes

byte mask
 The KeyType bit mask. More...
 

Detailed Description

SMP Key Type for Distribution, indicates keys distributed in the Transport Specific Key Distribution phase.

SMPKeyMask SMPKeyMask.KeyType Bit Mask

Field format and usage: Vol 3, Part H, 3.6.1 SMP - LE Security - Key distribution and generation.
See also Vol 3, Part H, 2.4.3 SM - LE Security - Distribution of keys.

Layout LSB -> MSB

uint8_t EncKey : 1, IdKey : 1, SignKey : 1, LinkKey : 1, RFU : 4;
Since
2.2.0

Definition at line 44 of file SMPKeyMask.java.

Constructor & Destructor Documentation

◆ SMPKeyMask() [1/2]

org.direct_bt.SMPKeyMask.SMPKeyMask ( final byte  v)

Definition at line 136 of file SMPKeyMask.java.

◆ SMPKeyMask() [2/2]

org.direct_bt.SMPKeyMask.SMPKeyMask ( )

Definition at line 140 of file SMPKeyMask.java.

Member Function Documentation

◆ isEmpty()

boolean org.direct_bt.SMPKeyMask.isEmpty ( )

Definition at line 144 of file SMPKeyMask.java.

◆ isSet()

boolean org.direct_bt.SMPKeyMask.isSet ( final KeyType  bit)

Definition at line 145 of file SMPKeyMask.java.

Here is the caller graph for this function:

◆ set()

void org.direct_bt.SMPKeyMask.set ( final KeyType  bit)

Definition at line 146 of file SMPKeyMask.java.

Here is the caller graph for this function:

◆ toString()

String org.direct_bt.SMPKeyMask.toString ( )

Definition at line 149 of file SMPKeyMask.java.

Here is the call graph for this function:

Member Data Documentation

◆ mask

byte org.direct_bt.SMPKeyMask.mask

The KeyType bit mask.

Definition at line 134 of file SMPKeyMask.java.


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