addDeviceBinding method
Future<void>
addDeviceBinding(
- int deviceId,
- String ip, {
- int port = 47808,
- int network = 0,
- List<
int> adr = const [], - int maxApdu = 1476,
override
Adds (or replaces) a static device address binding.
Not needed for devices that answer Who-Is: their address is learned
automatically. network and adr address devices behind a router.
Implementation
@override
Future<void> addDeviceBinding(
int deviceId,
String ip, {
int port = 47808,
int network = 0,
List<int> adr = const [],
int maxApdu = 1476,
}) async {
_checkStarted();
_bound.add(deviceId);
}