startOTA method
Implementation
@override
Future<void> startOTA(int deviceAddress, Uint8List firmwareData) async {
try {
await methodChannel.invokeMethod<void>('startOTA', {
'deviceAddress': deviceAddress,
'firmwareData': firmwareData,
});
} on PlatformException catch (e) {
debugPrint('Failed to start OTA: ${e.message}');
rethrow;
}
}