requestNodeLocation method

Future<String?> requestNodeLocation()

Request the location from the device.

Implementation

Future<String?> requestNodeLocation() async {
  await commandHandler!.request(
    ZwRequest(
      logger,
      id,
      buildSendDataRequest(id, [
        COMMAND_CLASS_NODE_NAMING,
        NODE_NAMING_NODE_LOCATION_GET,
      ]),
      resultKey: NodeLocationReport,
    ),
  );
  return location;
}