I am trying to run the GuruxDlmsClientExample.cpp from Visual Studio with parameters: -S COM3 -c 20 -s 1 -a Low -P "ABCD0001" -t Verbose. But when I run the .exe file I get the following message on the terminal:
InitializeConnection
<- 12:27:45 7E A0 07 03 29 93 CF CF 7E
SNRMRequest failed 0, 252, 0. //(Changed ret to identify the error command) GetAssociationView
<- 12:27:50 7E A0 19 03 29 32 AF 16 E6 E6 00 C0 01 81 00 0F 00 00 28 00 00 FF 02 00 94 9E 7E GetObjects failed 252.
The meter that I am using is Premier 300 (Indian Standard) with usb to rs232 converter. Also I have verified the working of the meter with GuruxDirector and work like a charm.
May I know where I am going wrong? Help is very much appreciated.
It seems that USB converter can't send the data. It might be that your USB converter needs initialize command that is not sent at the moment. Can you send information from your USB converter so we can check this?
May I know what kind of information are you looking for? Is it the Make and Model of the converter?
If so it is Advanced Technologies (ATC 810). Also it responded positively when I looped Rx and Tx and sent a test message from command prompt via com port (echo "msg" > COM5).
SNRMRequest failed 252
Hi,
It seems that USB converter can't send the data. It might be that your USB converter needs initialize command that is not sent at the moment. Can you send information from your USB converter so we can check this?
BR,
Mikko
SNRMRequest failed 252
Hi,
May I know what kind of information are you looking for? Is it the Make and Model of the converter?
If so it is Advanced Technologies (ATC 810). Also it responded positively when I looped Rx and Tx and sent a test message from command prompt via com port (echo "msg" > COM5).
Thank you,
SNRMRequest failed 252
Hi,
Here is the info you asked for:
FTDIBUS\VID_0403+PID_6015+5&24178687&0&7\0000
Thank you,
SNRMRequest failed 252
Hi,
Your USB converter is using FTDI chipset. We'll check this using same chipset.
BR,
Mikko