Okay, after several test this worked:
ascii *reply_txt2;
u16 tempLength;
bool fcmDataHdlr ( u16 DataLen, u8 *data )
{
wm_memcpy ( ( ascii * ) (reply_txt2+tempLength), ( ascii * ) data, DataLen);
tempLength += DataLen;
wm_memcpy ( ( ascii * ) (reply_txt2+tempLength), ( ascii * ) "\0", 1);
return TRUE;
Still not sure why
wm_ibuftohexa(reply_txt2,data,DataLen);
didn’t work…