Static
cancelStatic
cancelStatic
discoverOptional
discoveredCallback: ((device: CommissionableDevice) => void)Static
discoverStatic
discoverOptional
timeoutSeconds: numberOptional
ignoreExistingRecords: booleanStatic
iterateHelper method to iterate through a list of server addresses and try to execute a method on each of them. If the method throws a configurable error (or EHOSTUNREACH), the server address list is updated (to also add later discovered addresses or devices) and then next server address is tried.The result of the first successful method call is returned. The logic makes sure to only try each unique address (IP/port) once.
Optional
device: DDOptional
lastKnownAddress: AddressTypeFromDevice<DD>
Discovers devices by a provided identifier and a list of scanners (e.g. IP and BLE in parallel). It returns after the timeout or if at least one device was found. The method returns a list of addresses of the discovered devices.