Hi, I am new to gurux and dlms.
I am looking at code, and I need some clarification about architecture; what is the difference between, and the scope of those functions:
- svr_preAction
- cosem_Invoke
- svr_postAction
Just to understand the proper way of updating data, since that from your examples data can be managed in all of the three steps.
I've HLS as "77777777777777777777777777777777" in hex "wwwwwwwwwwwwwwww" in ASCII but when I send via gurux or any other meter reading software i.e. kalki, the CallingAuthentication Value changed it into "0F286E004D6C3C291564560557271D11". I know its a CtoS challenge for pass1 but how hls is converted to this string, or I should say from which encryption method it is encrypted that I didn't understand. I'm trying to establish client id 48 of a smart energy meter.
How can I write attribute 3 of generic profile using GuruxDLMS.c. Is there an example? I only found reading examples.
I used com_write, but with a sufficiently large number of objects, when the package is divided into several blocks, I get an error. If the data is placed in one block, then the recording completes successfully. It looks like there are problems with block transfer.
But I have a micro with limited specifications and doing it this way takes so much memory from my micro. Is there any other more specific way of doing this?
I'm using my own app. I want to learn how a HLS password converted to challenge for pass1 (CtoS). as this challenge will respond (StoC) and send authentication frame to meter and again it respond with authentication success. so how CtoS challenge made and authentication frame's MethodInvocationParameters generated, that I don't know. I mean which type of encryption is used for it that I don't know. so anyone is up for help?
when I am run this python push listener example I am getting this data. Why I am not receiving the exact hexadecimaldata?
COM3:9600 8NONE1
Press any key to close the application.
Media state changed. MediaState.OPENING
trace:12:56:47 TraceTypes.INFO Settings: Port: COM3 Baud Rate: BaudRate.BAUD_RATE_9600 Data Bits: 8 Parity: Parity.NONE Stop Bits: StopBits.ONE Eop:126
Media state changed. MediaState.OPEN
New data is received. COM3:00
New data is received. COM3:00
New data is received. COM3:00
New data is received. COM3:00