p*o
2 楼
自己写驱动!两个安猪之间默认没有匹配的profile,自己写个app做个基于SPP的
custom service,一个做server,一个做client即可。
custom service,一个做server,一个做client即可。
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
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
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
【在 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
相关阅读
经过多日的无节操托乐视盒子可以破解?全新att galaxy note 4 $380值不值?维基中文版在募捐Siri, Give us a shit?TMOBILE在美国有没有地方4G-LTE信号比3G好的?左逼思想真是癌症前几天入的95刀的fire phone,亏大了火柴棒可以用蓝牙音箱吗?各位电脑上都装什么杀毒软件啊?verizon 能用 华为手机 中国电信版吗?att的国际漫游套餐就是个joke小米盒子疯了新手问: Fire Phone可以刷机后装Smartisan OS么?LeTV影迷俱乐部又可以看了千钧一发, 是果表拯救了我求科普smartphone从锤子到坚果(转载)iOS SI SHlT3分钟超速下载garmin2016.10地图最终正式版8/2015