Perform Local Initial pairing, assigning the default initial username configured on the device (typically “admin”). Runs asynchronously with a callback.
In this mode, the initial user can be paired on the local network without providing a username or password - and only the initial user. This is a typical bootstrap scenario to pair the admin user (device owner).
Error information is sent to the callback.
public abstract void pairLocalInitialCallback(Connection connection, IamCallback cb)
- An established connection to the device this client should be paired with
- The callback that will be run once the function has completed successfully or erroneously.