Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
ParamValue must point to a large enough buffer to receive the information. The documentation should provide information wrt 'large enough buffer'.
You might use something like
const int GETMOVING_SIZE 1024;
char paramValue[GETMOVING_SIZE] = {0};
if(LT360LIB_CmdValue(handle, lt_GetMoving, paramValue))
{
// here you can check the content of paramValue
}
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395