Home/Support/Support Forum/How can I send a string of hex values including 0x00 thru serial port with a Rabbit 4400?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I send a string of hex values including 0x00 thru serial port with a Rabbit 4400?

0 votes
I´m really new with the Rabbit microprocessor and I´m trying to send this hex string thru serial port with a Rabbit 4400:

Init_Filt[0]=0x75;
Init_Filt[1]=0x65;
Init_Filt[2]=0x0D;
Init_Filt[3]=0x06;
Init_Filt[4]=0x06;
Init_Filt[5]=0x04;
Init_Filt[6]=0x00;
Init_Filt[7]=0x00;
Init_Filt[8]=0x00;
Init_Filt[9]=0x00;
Init_Filt[10]=0xF7;
Init_Filt[11]=0xE9;
Init_Filt[12]='\0';

when I read the Rabbit with a serial terminal I notice that the microprocessor is only sending the first 6 bytes of information and it stops with the zeros. How can I make the Rabbit to send the 0x00 bytes?
asked Sep 19, 2018 in Rabbit Software by MBusq55 New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Since you're sending binary data and not strings, you shoul use serXwrite(). If it's stopping at the zeros, you're probably using serXputs() or something similar.
answered Sep 25, 2018 by TomCollins Veteran of the Digi Community (1,217 points)
selected Sep 26, 2018 by MBusq55
...