avatar
andriod Bluetooth# PDA - 掌中宝
f*n
1
总是paired but not connected.
怎么办?两个android 间
avatar
p*o
2
自己写驱动!两个安猪之间默认没有匹配的profile,自己写个app做个基于SPP的
custom service,一个做server,一个做client即可。
avatar
f*n
3
这个默认什么时候开始的?以前我玩那个Bluetooth chat sample时不这样啊

【在 p*******o 的大作中提到】
: 自己写驱动!两个安猪之间默认没有匹配的profile,自己写个app做个基于SPP的
: custom service,一个做server,一个做client即可。

avatar
p*o
4
一直都是这样,chat sample 那个app 就是自己写的custom service,不是标准的蓝牙
profile。系统支持的默认profile 只有 HandsFree Profile Audio Gateway role,
PhoneBook Access Profile Server role,Advanced Audio Distribution Profile
Source role, Serial Port Profile 和 Generic Attribute Profile。
跟这些标准的profile连接必须有对应的 Unit role,Client role,Sink role。大家
都是 AG,都是 source,都是 server 还玩什么?
所以想手机对手机玩,就自己写custom service
avatar
f*n
5
谢谢指点,明天好好把那个sample看一下

【在 p*******o 的大作中提到】
: 一直都是这样,chat sample 那个app 就是自己写的custom service,不是标准的蓝牙
: profile。系统支持的默认profile 只有 HandsFree Profile Audio Gateway role,
: PhoneBook Access Profile Server role,Advanced Audio Distribution Profile
: Source role, Serial Port Profile 和 Generic Attribute Profile。
: 跟这些标准的profile连接必须有对应的 Unit role,Client role,Sink role。大家
: 都是 AG,都是 source,都是 server 还玩什么?
: 所以想手机对手机玩,就自己写custom service

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。