Hello,
I have cross-compiled bluez for ARM7 board(CDB89712).
But when I execute the cross-compiled hciattach on ARM7, eg.
#./hciattach /dev/ttyAM1 ericsson
It displays " Can't set device: Invalid argument". I checked the
hciattach.c, it is in the line " if(ioctl(fd,HCIUARTSETPROTO,u->proto) <
0)".
I don't konw how to solve this error. Pls help me.
My linux is 2.4.18, bluez-libs is 2.4, bluez-utils is 2.3. And when I
cross-compiled the linux kernel, in the "Bluetooth Support --->" options, I
haven't select them as <M>, I select as <*>, which means built-in kernel.
Thanks again.
Best regards,
Zhang Subing