createRegistration method
Create a DeviceRegistration which can be used to configure this device for deployment.
Override this method to configure device-specific registration options, if any.
Implementation
@override
MACAddressDeviceRegistration createRegistration({
String? deviceId,
String? deviceDisplayName,
DateTime? registrationCreatedOn,
String? address,
}) => MACAddressDeviceRegistration(
deviceId: deviceId,
deviceDisplayName: deviceDisplayName,
registrationCreatedOn: registrationCreatedOn,
macAddress:
address ??
'00-1B-44-11-3A-B7', // Random MAC address for testing purposes.
);