dear sir,
i am working on automatic meter reading embedded project. for this i am using GuruxDLMSClientExample source code in c. here what is the format for passing h,p,c,s,r,iIt,a,p,wP,g,S,C,v,T,A,B,D thes values for below function.
int connectMeter(int argc, char* argv[])
{
connection con;
gxByteBuffer item;
bb_init(&item);
con_init(&con, GX_TRACE_LEVEL_INFO);
//Initialize settings using Logical Name referencing and HDLC.
cl_init(&con.settings, 1, 16, 1, DLMS_AUTHENTICATION_NONE, NULL, DLMS_INTERFACE_TYPE_HDLC);
int ret, opt = 0;
int port = 0;
char* address = NULL;
char* serialPort = NULL;
unsigned char iec = 0;
char* p, * readObjects = NULL;
int index, a, b, c, d, e, f;
char* invocationCounter = NULL;
while ((opt = getopt(argc, argv, "h:p:c:s:r:iIt:a:p:wP:g:S:C:v:T:A:B:D:")) != -1)
{
Hi,
Hi,
Help is now fixed. Get the latest version.
If you run a client example without parameters you get the help.
BR,
Mikko