setModemConfig method
Edit the modem configuration
Edits the modem configuration. If the configuration fails, the entire proccess is rolled back and an error will be returned.
Parameters:
-
ModemConfig modemConfig (required):
-
String uuidToken: Used for remote connections to device
Implementation
Future<void> setModemConfig(
ModemConfig modemConfig, {
String? uuidToken,
}) async {
final response = await setModemConfigWithHttpInfo(
modemConfig,
uuidToken: uuidToken,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}