I believe that the easiest way to do this is if you remove execution time from the single action schedule.
If you can't do this, read all scripts from the Script table and then remove what you want to and write values back.
That will also work, but I'm not sure if it will work with all the meters. 0xFF for all fields is defined for Push object in DLMS standard, but it's not defined for Single action schedule.
Hi,
Hi,
I believe that the easiest way to do this is if you remove execution time from the single action schedule.
If you can't do this, read all scripts from the Script table and then remove what you want to and write values back.
BR,
Mikko
Hi,
Hi,
Thanks for your quick response.
I made following changes to remove all the execution time.
GXDateTime[] scheduledTime = {new GXDateTime(-1, -1, -1, -1, -1, -1, -1)};
actionSchedule.setExecutionTime(scheduledTime);
gurux.dlms.client.GXDLMSReader - ### TX-PDU:
<SetRequest>
<SetRequestNormal>
# Priority: HIGH ServiceClass: CONFIRMED invokeID: 1
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
# ACTION_SCHEDULE
<ClassId Value="0016" />
# 0.0.15.0.4.255
<InstanceId Value="00000F0004FF" />
<AttributeId Value="04" />
</AttributeDescriptor>
<Value>
<Array Qty="01" >
<Structure Qty="02" >
# ,
<OctetString Value="FFFFFFFF" />
# 11,
<OctetString Value="FFFFFFFFFF" />
</Structure>
</Array>
</Value>
</SetRequestNormal>
</SetRequest>
gurux.dlms.client.GXDLMSReader - * write([0.0.15.0.4.255 'Single Action Schedule for PUSH'], 4), Value: [ */*/* *:*:* ]
Hi,
Hi,
That will also work, but I'm not sure if it will work with all the meters. 0xFF for all fields is defined for Push object in DLMS standard, but it's not defined for Single action schedule.
But, it's good if it works.
BR,
Mikko