Hi Vincenzo, > > You need to set the device into RAW mode. Otherwise the kernel will keep > > processing the HCI packets. > > Do you mean that i've to use a special device that supports RAW mode or that i > can open a socket in RAW mode? > > if it's the latter,i'm googlin for a while and i don't find any useful > information. How should i call the socket C function to accomplish it? you have to turn the Bluetooth HCI device into RAW mode. And also hciconfig will tell you if the device is in that mode. Otherwise you will have the kernel interfere and act as it is suppose to. dd = hci_open_dev(dev_id); ioctl(dd, HCISETRAW, 1); hci_close_dev(dd); Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html