registerForeignDevice method

  1. @override
Future<void> registerForeignDevice(
  1. String ip, {
  2. int port = 47808,
  3. int ttl = 120,
})
override

Registers this client as a Foreign Device with a BBMD.

The registration is renewed automatically before ttl expires.

Implementation

@override
Future<void> registerForeignDevice(
  String ip, {
  int port = 47808,
  int ttl = 120,
}) async {
  _checkStarted();
  requests.add(
    FakeBacnetRequest('registerForeignDevice', address: '$ip:$port'),
  );
}