|
|
@ -174,6 +174,8 @@ public class DeviceProfileDataValidator extends AbstractHasOtaPackageValidator<D |
|
|
for (LwM2MBootstrapServerCredential bootstrapServerCredential : lwM2MBootstrapServersConfigurations) { |
|
|
for (LwM2MBootstrapServerCredential bootstrapServerCredential : lwM2MBootstrapServersConfigurations) { |
|
|
validateLwm2mServersCredentialOfBootstrapForClient(bootstrapServerCredential); |
|
|
validateLwm2mServersCredentialOfBootstrapForClient(bootstrapServerCredential); |
|
|
} |
|
|
} |
|
|
|
|
|
// call setProfileData after validation to ensure 'profileData' and 'profileDataBytes' fields are synchronized and ProtoUtils.toProto is not broken
|
|
|
|
|
|
deviceProfile.setProfileData(deviceProfile.getProfileData()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|