{0xA0,0xA2,0x00,0x02,0x8F,0x01,0x00,0x90,0xB0,0xB3 ,'/0'};
HI Friends,
I want to read this whole string but i am unable to receive it is receiving just 0xao and 0xa2....here is the logic
void writeStringToGPS(unsigned char *data) {
int i = 0, j=0;
//putchUART2(data);
for(i = 0; ; i++){
writeCharToGPS(data[i]);
if(data[i] == '\0')
break;
DELAY_MS(10);
Nop();
Nop();
Nop();
//i++;
}
j = 0;
}..i think the problem might be with 3 char 0x00..i think it is taking as null and coming out of loop...plz help how to print all values .....