Chinaunix
标题:
BlueZ pin_helper
[打印本页]
作者:
hddnwpu
时间:
2008-10-28 16:23
标题:
BlueZ pin_helper
替代BlueZ里的blueZ-pin工具集,需要修改如下几个地方:
[1] /etc/bluetooth
将pin中的BlueZ改为0000(便于手机输入)
hcid.conf中 修改pin_helper这一行为
pin_helper /home/hddnwpu/blueZ/bluepass;
其中bluepass是自己写的一个程序
#include
int main(int argc, char* argv[])
{
printf("PIN:0000");
return 0;
}
[2] bluez-utils中hcid目录下的security.c
if (read_default_pin_code()
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u2/83623/showart_1348847.html
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2