if (tlv_tag_compare(tags.pTagID, "\x9F\x91\x8B\x15"))
{
uint8 *ptr = tags.pTagID;
uint8 ch[4];
uint8 k=0;
for(k=0; k<=3;k++)
{
ch[k]=*ptr;
++ptr;
}
uint8 temp[4];
sprintf(temp,"%02x%02x%02x%02x",ch[0],ch[1],ch[2],ch[3]);
i m trying to examine the value of pTagID and I shoudl be getting 9F 91 8B 15
what i m getting in temp id different
can anyone tell me what is not correct?
pTag IS is a uint8 const*