The XTEA encoder in 18F25k50

Discussion in 'General Electronics Chat' started by ahgan84, Dec 3, 2013.

  1. ahgan84

    Thread Starter Member

    Dec 19, 2011
    55
    0
    Hi guys,

    I'm currently trying to send data using USB transmission in pic18F25k50. I'm encoding the data using XTEA encoding before I send it out.
    Is it possible the encoded data contain null (0x00)? I know that null means end of transmission.
    But in my case, everytime I encode my data, the encoded data always contain null in the middle. Like if my encoded data got 55 bytes. The null will always appear at byte no.18. And my receiver will just process 18 bytes only. The others will not process because of the null.
     
Loading...