|
|
@ -1357,13 +1357,11 @@ IedServer_handleWriteAccess(IedServer self, DataAttribute* dataAttribute, WriteA
|
|
|
|
if (dataAttribute == NULL) {
|
|
|
|
if (dataAttribute == NULL) {
|
|
|
|
if (DEBUG_IED_SERVER)
|
|
|
|
if (DEBUG_IED_SERVER)
|
|
|
|
printf("IED_SERVER: IedServer_handleWriteAccess - dataAttribute == NULL!\n");
|
|
|
|
printf("IED_SERVER: IedServer_handleWriteAccess - dataAttribute == NULL!\n");
|
|
|
|
|
|
|
|
|
|
|
|
/* Cause a trap */
|
|
|
|
|
|
|
|
*((volatile int*) NULL) = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
MmsMapping_installWriteAccessHandler(self->mmsMapping, dataAttribute, handler, parameter);
|
|
|
|
MmsMapping_installWriteAccessHandler(self->mmsMapping, dataAttribute, handler, parameter);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
IedServer_setReadAccessHandler(IedServer self, ReadAccessHandler handler, void* parameter)
|
|
|
|
IedServer_setReadAccessHandler(IedServer self, ReadAccessHandler handler, void* parameter)
|
|
|
|