Android 三星 Galaxy S3 上的蓝牙 4.0/智能/低功耗
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11104708/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Bluetooth 4.0 / Smart / Low energy on Samsung Galaxy S3
提问by oyvind
I'm trying to develop a bluetooth 4.0 app for S3. The problem is, the phone behaves like it doesn't even have bluetooth 4.0. It doesn't discover 4.0 devices, and isn't discoverable with 4.0 devices. I tried both in the settings of the phone and in an app, using the Broadcom-ble API. The Broadcom API doesn't have any extra functionality for finding/discovering 4.0 devices, rather it uses the regular BluetoothAdapter functionality and claims that it will be augmented in 4.0 phones to also discover 4.0 devices.
我正在尝试为 S3 开发蓝牙 4.0 应用程序。问题是,手机的行为就像它甚至没有蓝牙 4.0。它不会发现 4.0 设备,也无法通过 4.0 设备发现。我使用Broadcom-ble API在手机设置和应用程序中都进行了尝试。Broadcom API 没有任何用于查找/发现 4.0 设备的额外功能,而是使用常规的 BluetoothAdapter 功能,并声称它将在 4.0 手机中增强以发现 4.0 设备。
Has anybody tried using bluetooth 4.0 on the S3? Has anyone succeeded in using the Broadcom API?
有人试过在 S3 上使用蓝牙 4.0 吗?有人成功使用 Broadcom API 吗?
Thanks in advance.
提前致谢。
采纳答案by Steckdoserich
回答by oyvind
This is now a confirmed bug, that will be fixed "in future releases".
现在这是一个已确认的错误,将在“未来版本”中修复。
See this forum thread at Samsung.
请参阅三星的此论坛主题。
回答by George
It has been reported by Andrew Dodd, a senior XDA developer,that the Galaxy S3 doesn't actually support Bluetooth Low Energy
据 XDA 高级开发人员 Andrew Dodd 报道,Galaxy S3 实际上并不支持低功耗蓝牙
The Galaxy S3 has been marketed as Bluetooth 4.0 Low Energy (aka Bluetooth Smart) since its release - but it is not actually BTLE capable -http://developer.samsung.com/forum/board/thread/view.do?boardName=GeneralB&messageId=157757- Samsung is STILL advertising the device as BTLE capable when it is NOT, despite the fact that they have been aware of this false advertising for months.
Galaxy S3 自发布以来一直作为蓝牙 4.0 低功耗(又名蓝牙智能)销售 - 但它实际上并不支持 BTLE - http://developer.samsung.com/forum/board/thread/view.do?boardName= GeneralB&messageId=157757- 三星仍在宣传该设备为不支持 BTLE 的设备,尽管事实上他们已经意识到这种虚假广告几个月了。
回答by Ian Harvey
Samsung have a page at:
三星有一个页面:
http://developer.samsung.com/ble
http://developer.samsung.com/ble
where you can download a Bluetooth LE SDK and sample code (registration is required, but otherwise it's automatic).
您可以在其中下载蓝牙 LE SDK 和示例代码(需要注册,否则是自动的)。
For what it's worth, there's an HTC page at:
对于它的价值,有一个 HTC 页面:
http://www.htcdev.com/devcenter/opensense-sdk/partner-apis/bluetooth-low-energy/
http://www.htcdev.com/devcenter/opensense-sdk/partner-apis/bluetooth-low-energy/
where you can request access to their 'Partner APIs'. This needs license agreements to be signed (which for me means lots of lawyering) so I've not actually got code from them yet..
您可以在其中请求访问他们的“合作伙伴 API”。这需要签署许可协议(这对我来说意味着大量的律师工作)所以我实际上还没有从他们那里得到代码......
Ian
伊恩
回答by Pham Ngoc Tuan
Refer this link http://e2e.ti.com/support/low_power_rf/f/538/p/240097/879328.aspx
请参阅此链接 http://e2e.ti.com/support/low_power_rf/f/538/p/240097/879328.aspx
attachment package can run on Samsung S3, now it limit with discover BLE devices and pairing. Some recent days, i try to find out how to send/receive data. But still not any luck.
附件包可以在三星 S3 上运行,现在它限制了发现 BLE 设备和配对。最近几天,我试图找出如何发送/接收数据。但仍然没有任何运气。
I hope it can help.
我希望它能有所帮助。
回答by user1421092
Update your phone to Jelly Bean, then download nRf
Utility from the Play Store, it can scan BLEdevices around you!
将您的手机更新为Jelly Bean,然后nRf
从Play 商店下载Utility ,它可以扫描您周围的BLE设备!