Connect to sagem meter with FLAG

8 posts / 0 new
Last post
sahbi said
sahbi said's picture
Connect to sagem meter with FLAG

Hi,

you find in attachement file all pdu changed log to connect with sagemcom
with FLAG (snipher wtih other limited app) .

i want to do the same work with GWDLMSDirecotr but we have not the same name
of parameteres :

for exemple:
sap_logical_addr_dest : 1
physical_addr_dest : 16
sap_logical_addr_src : 2
dlms_number_version : 6
dlms_conformance : 00381d
client_max_receive_pdu_size : 1024
acse_protocol_version : 1
application_context_name : 60857405080101
security_mecanism_name : 60857405080202
calling_authentification_value : f50ab847e31d96c2a5f6b3e901e24a18
service_class : TRUE
quality_of_service : 2
pre_established_association : FALSE

thanks a lot,
SAID Sahbi

Kurumi
Kurumi's picture

Hi,

Please, don't add images in the future. It's a pain to read the bytes. Add plain text.
Set parameters:
client address: 2
physical server: 0x10
Logical server: 1

Set also max payload size in transmit and receive to 1024 in "Frame" tab.

Set also challenge to f50ab847e31d96c2a5f6b3e901e24a18. This should be random number, but try first with the static value.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

sahbi said
sahbi said's picture

Thanks for your reply,
f50ab847e31d96c2a5f6b3e901e24a18 is authentification_value (Password ?)
Where can i add this parameter in GXDLMSDirecor

Thanks

SAID

Kurumi
Kurumi's picture

Hi,

You can give the challenge on the "Secured Connections" page.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

sahbi said
sahbi said's picture

Hi,
i have error message when i say to connect to meter : "Manufacturer type does not match .Manufacturer is SAG and it should be SET"

i am sure that tha manufacturer is SAG.
this is XML Parameters Form:

<?xml version="1.0" encoding="utf-8"?>
<GXDLMSDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="Gurux1">
<WaitTime>13</WaitTime>
<Password />
<SecuritySuite>1</SecuritySuite>
<KeyAgreementScheme>0</KeyAgreementScheme>
<SystemTitle />
<ServerSystemTitle />
<DedicatedKey />
<BlockCipherKey />
<AuthenticationKey>F50AB847E31D96C2A5F6B3E901E24A18</AuthenticationKey>
<Challenge />
<PhysicalAddress>16</PhysicalAddress>
<LogicalAddress>1</LogicalAddress>
<ClientAddress>2</ClientAddress>
<InterfaceType>4</InterfaceType>
<MaxInfoTX>1024</MaxInfoTX>
<MacDestinationAddress>0</MacDestinationAddress>
<InactivityTimeout>120</InactivityTimeout>
<Name>ruby</Name>
<Verbose>true</Verbose>
<Conformance>12220416</Conformance>
<Manufacturer>SET</Manufacturer>
<HDLCAddressing>0</HDLCAddressing>
<UseProtectedRelease>false</UseProtectedRelease>
<MediaType>Gurux.Serial.GXSerial</MediaType>
<MediaSettings>&lt;Port&gt;COM3&lt;/Port&gt;&lt;Bps&gt;300&lt;/Bps&gt;&lt;Parity&gt;2&lt;/Parity&gt;&lt;ByteSize&gt;7&lt;/ByteSize&gt;</MediaSettings>
<UseLN>true</UseLN>
<Objects2 />
</GXDLMSDevice>

Thanks

SAID

Kurumi
Kurumi's picture

Hi,

You have selected SET as a manufacturer but the meter is from SAG.
Settings file for SAG is not there, but you can add a new meter settings file as described here:
https://www.gurux.fi/GXDLMSDirector.Manufacturers

or you can copy set.obx to sag.obx in C:\ProgramData\Gurux\OBIS

Then change the Identification tag (SET to SAG) and other parameters that are different.
If you send a working version from SEG settings to me by email we can release it and it will come automatically with GXDLMSDirector.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

sahbi said
sahbi said's picture

Hi,
Exactly,I create a new manufacturer like SagemCom with SAG FLAG_ID and i can to succed in Association LogicalName and Data Field.

Next Step :i cant associate with meter (i dont have many ideas to use GXDLMSDirectory)

Rq: Differents parameters to set
sap_logical_addr_dest : 1
physical_addr_dest : 16
sap_logical_addr_src : 1
dlms_number_version : 6
dlms_conformance : 00381d
client_max_receive_pdu_size : 1024
acse_protocol_version : 1
application_context_name : 60857405080101
security_mecanism_name : 60857405080202
calling_authentification_value : f50ab847e31d96c2a5f6b3e901e24a18
service_class : TRUE
quality_of_service : 2
pre_established_association : FALSE
how can i decode and insert in GXDLMSDirectory

Thanks

Image: 

SAID

Kurumi
Kurumi's picture

Hi,

Try with those settings:
Physical Server: 1
Client address: 1
Authntication: Low
Challence should be dynamic, but you can try to use this is connection fails. f50ab847e31d96c2a5f6b3e901e24a18

I don't know your password, but it should be on the meter documentation.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi