Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Hi Mikko,
I tested arduino Client app and is able to connect with the meter. I simulated with UCS demo meter and connected the arduino. The connection get disconnected with message that operation not possible. The message is highlighted below:
RECEIVED:
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>
1'36.190 *** CurrentLNAssociationObject object-list completed
1'36.206 Max.Pdu size = 256
SENT:
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<MechanismName Value="NO_SECURITY" />
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="0100" />
<VaaName Value="0007" />
</InitiateResponse>
</AssociationResponse>
RECEIVED:
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</ProposedConformance>
<ProposedMaxPduSize Value="0100" />
</InitiateRequest>
</AssociationRequest>
1'36.596 *** AARQ received in Associated state
SENT:
<ExceptionResponse>
<StateError Value="ServiceNotAllowed" />
<ServiceError Value="OperationNotPossible" />
</ExceptionResponse>
1'36.798 *** Disconnected
1'36.830 *** EXCEPTION *** HDLC Disconnected
1'37.547 *** EXCEPTION *** Operation aborted
1'37.719 Port 10 closed
1'38.717 STOPPED after 01m 38s
Kindly let me know how in which file, the objects to be read are to be modified.
Further, I tried to compile the Arduino server and I got the following error message:
variable or field 'time_now' declared void
Please help me to correct the error. Also inform me how to simulate values in server.
Regards,
D.Taniguevelane
Hi,
Hi,
The client example was calling com_initializeConnection twice. This is now fixed. Get the latest version.
What board you are using? We can't get this time_now error. I don't know how to simulate UCS values. I haven't used that simulator.
BR,
Mikko