简体   繁体   English

BlueZ,不需要身份验证

[英]BlueZ, do not require authentication

I'm working with BlueZ 3.x. 我正在使用BlueZ 3.x. I have a linux embedded device and I need to send and receive files using the bluetooth technology, with Obex . 我有一个linux嵌入式设备,我需要使用蓝牙技术发送和接收文件,使用Obex (Note: BlueZ 4.x doesn't even compile on our specific platform.) (注意: BlueZ 4.x甚至不能在我们的特定平台上编译。)

I don't need PIN authentication, I even don't want it. 我不需要PIN身份验证,我甚至不需要它。 It must remain as simple as possible for the end user. 它必须对最终用户保持尽可能简单。

I tried to set security none in hcid.conf but it doesn't seem to work. 我试图在hcid.conf设置security none但它似乎不起作用。

So my question is: 所以我的问题是:

  1. Is it possible to send &/ receive files using Obex on bluetooth? 是否可以在蓝牙上使用Obex发送和/或接收文件?
  2. How to do it? 怎么做?
  3. Does bluetooth devices (eg mobile phone) requires authentication? 蓝牙设备(例如手机)是否需要身份验证?
  1. You can use the OBEX protocoll for that, but you will also need the FTP or OPP profile (And GOEP, SPP & GAP since they depend on them) 您可以使用OBEX协议,但您还需要FTP或OPP配置文件(和GOEP,SPP和GAP,因为它们依赖于它们)
  2. The documentation can be found on BT SIG bluetooth.org, but you will have to be a member. 该文档可以在BT SIG bluetooth.org上找到,但您必须是会员。 I think some of the documentation is available to non members as well, go there and have a look. 我认为一些文档也可供非成员使用,去那里看看。
  3. Yes (if we are only talking about mobile phones) 是的(如果我们只谈论手机)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM