passkey agent in bluez4.X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, bluez-users:
     I have finished to boot up bluecore-4 on my pxa310, and can be
searched by other BT device. 
But, the problem is it can't bind to any other device, because there
isn't a BlueZ agent running to answer pin requests.

How to start a BlueZ agent running to answer pin requests ?

In bluez-4.25/test, i found agent.c and agent command.
so, i run it on my pxa310 board, but it failed while other BT device
connect to it and request a pin code..
the debug info is as following.

[root@Linux /]#./agent 0000 &
bluetoothd[907]: pin_code_request (sba=77:88:66:22:33:44,
dba=00:1A:77:77:14:84)
bluetoothd[907]: hcid_dbus_new_auth_request
bluetoothd[907]: Agent replied with an error:
org.freedesktop.DBus.Error.Unknown Method, Method "RequestPinCode" with
signature "o" on interface "org.bluez.Agent" doesn't exist
bluetoothd[907]: adapter_get_device(00:1A:77:77:14:84)

I have changed device_path and agent_path in agent.c, but it still
doesn't work. 
Could somebody know how to run a passkey agent in bluez4.X?
thanks a lot!
 
Best regards
YAO Ye
--
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

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux