When you invoke the push object it will send COSEM object values that are defined in the Push Object List.
Now you are returning the push values in the action reply and that is not correct. A push message is sent later and invoke will only activate the push message, not sent it.
Hii,
when push message is activated by the push method, then when push message will get deactivated or how can we deactivate the push message.
Explanation of push method from blue book:
push (data)
Activates the push process leading to the elaboration and the sending of the push data taking into account the values of the attributes defined in the given instance of this IC.
data ::= integer (0)
The push data returned shall be a structure. The number of elements in this structure shall be the same as number of elements in the array of the push_object_list attribute.
The push message is not deactivated. It's sent only once when you call activate method. You need to implement a single action schedule to send push messages when needed.
Hello Aoudumbar,
Hello Aoudumbar,
When you invoke the push object it will send COSEM object values that are defined in the Push Object List.
Now you are returning the push values in the action reply and that is not correct. A push message is sent later and invoke will only activate the push message, not sent it.
BR,
Mikko
Hii,
Hii,
Thanks!!!
you mean, meter shall response to push setup method as like below sample:
02 // structure
04 // 4 elements
09 // octet string
06 // lenght
0, 0,96, 1,0,255 // first obis in push frame
0,64,25, 2,0,255 // second
0, 0,96,11,2,255 // third
0, 0, 1, 0,0,255 // fourth
Also after activation, when meter will send the push message, after some seconds or when power fail/power up event will occure.
BR,
Aoudumbar
Hii,
Hii,
when push message is activated by the push method, then when push message will get deactivated or how can we deactivate the push message.
Explanation of push method from blue book:
push (data)
Activates the push process leading to the elaboration and the sending of the push data taking into account the values of the attributes defined in the given instance of this IC.
data ::= integer (0)
The push data returned shall be a structure. The number of elements in this structure shall be the same as number of elements in the array of the push_object_list attribute.
BR,
Aoudumbar
Hi,
Hi,
The push message is not deactivated. It's sent only once when you call activate method. You need to implement a single action schedule to send push messages when needed.
You can check GuruxDLMSServerExample2 It will implement this.
https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSServerExample2
BR,
Mikko