Retrieve a list of the available pairing modes on the device.
This function blocks until it has succeeded.
public abstract PairingMode getAvailablePairingModes(Connection connection)
- An established connection to the device
- if the device configuration does not allow retrieving this list (the
IAM:GetPairingaction is not set for the Unpaired role)
- if Nabto Edge IAM is not supported by the device