diff options
author | Sven Gothel <[email protected]> | 2020-09-23 01:05:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-23 01:05:15 +0200 |
commit | 02909e574ad5b6900cddcc4c7f231257fe3124c3 (patch) | |
tree | d77a0c945d9033f7d797587a44555cc8c1aa59b6 /examples | |
parent | 9394da807db36d64014139aae824be85a9196aac (diff) | |
parent | c7bac778e9cdda69c4baaa47c7bdd86b3e1bfea0 (diff) |
Merge Secure Pairing API changele_secure_connections
Diffstat (limited to 'examples')
-rw-r--r-- | examples/java/ScannerTinyB10.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/java/ScannerTinyB10.java b/examples/java/ScannerTinyB10.java index 99882518..55e71af3 100644 --- a/examples/java/ScannerTinyB10.java +++ b/examples/java/ScannerTinyB10.java @@ -267,9 +267,10 @@ public class ScannerTinyB10 { // Secure Pairing { - final List<PairingMode> spm = Arrays.asList(device.getSupportedPairingModes()); + final List<PairingMode> spm = device.getSupportedPairingModes(); println("Supported Secure Pairing Modes: " + spm.toString()); - final List<PairingMode> rpm = Arrays.asList(device.getRequiredPairingModes()); + + final List<PairingMode> rpm = device.getRequiredPairingModes(); println("Required Secure Pairing Modes: " + rpm.toString()); if( spm.contains(PairingMode.JUST_WORKS) ) { |