By Mohanraj , 18 April, 2020 Forums General discussion Hi Mikko, Hope you are doing good. we referred below link for sending keep alive message periodically to keep the connection alive in ANSI C library. found that cl_keepAlive function is missing. please suggest how to implement keep alive in anci c library http://www.gurux.fi/Gurux.DLMS.Client int com_keepAlive( connection *connection) { int ret; message data; gxReplyData reply; mes_init(&data); reply_init(&reply); if ((ret = cl_keepAlive(&connection->settings, &data)) != 0 || (ret = com_readDataBlock(connection, &data, &reply)) != 0) { printf("Write failed %s\r\n", hlp_getErrorMessage(ret)); } mes_clear(&data); reply_clear(&reply); return ret; } Thanks Mohan Raj Hi Mohan Raj, Hi Mohan Raj, You are right. There is no keep alive in ANSI C example. That is now added. We are releasing a new version tomorrow where you find this. BR, Mikko Hi Mikko, Hi Mikko, Any update please? Thanks Mohan Raj Hi Mohan, Hi Mohan, We are still testing a new version. BR, Mikko Hi Mikko, Hi Mikko, Any update please? Thanks Mohan Raj Hi, Hi, We are testing a new version and release it latest on Thursday. BR, Mikko
Hi Mohan Raj, Hi Mohan Raj, You are right. There is no keep alive in ANSI C example. That is now added. We are releasing a new version tomorrow where you find this. BR, Mikko
Hi Mohan Raj,
Hi Mohan Raj,
You are right. There is no keep alive in ANSI C example. That is now added. We are releasing a new version tomorrow where you find this.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Any update please?
Thanks
Mohan Raj
Hi Mohan,
Hi Mohan,
We are still testing a new version.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Any update please?
Thanks
Mohan Raj
Hi,
Hi,
We are testing a new version and release it latest on Thursday.
BR,
Mikko