I tried to compile the command line client (the current version 6.00.04) for the Linux dBox. This is a host using a PowerPC processor, big endian. It turned out that the program hangs on sending an ir signal. I traced it down to the function SendCommand, to the statement
- Code: Select all
} while (res < buf.statuslen);
It turned out that buf.statuslen is 2048 on the dbox, in the same program on my (littleendian) Linux box however bug.statuslen is 8. Looking at the struct STATUSBUFFER it turnes out that it is a 16 bit integer, so I suspect that it is a byte order issue on the host. Note that if you swap the bytes of 8, you get 2048.