码迷,mamicode.com
首页 > Web开发 > 详细

理解IPSP(Internet Protocol Support Profile)

时间:2015-11-16 20:56:35      阅读:513      评论:0      收藏:0      [点我收藏+]

标签:

IPSP支持BLE设备之间进行IPv6数据包交换;

  • 允许支持IPSP的设备彼此发现和通信;
  • 关于IPv6数据包基于BLE的传输详见文档RFC7668【IPv6 over BLE】

主体框架如下:

技术分享

IPSS,GATT,ATT仅用于服务发现,GAP用于设备发现和连接建立;

 

IPSP定义了两个角色:Node role  and  Router Role;

Router role用于设备路由IPv6数据包;Node role仅能originate or consume IPv6应用数据包;

A Node Role shall support GAP peripheral role;

A Router Role shall support GAP Central role;

A device may support both Node role and Router role;

Node Role Requirements:

GATT Server Role  , IPSS(Service)

The IP support service is used during service discovery to determine support for the IP Support
Profile’s Node role.

The service UUID shall be set to « Internet Protocol Support Service» [ 0x1820 ]

L2CAP Requirements:

In this profile, only the LE Connection Oriented Channels feature with the LE Credit Based Flow
Control Mode shall be used.

技术分享

建立L2CAP 连接:(建立链路层连接之后)

  • LE Credit Based Connection Request Packet格式为:

技术分享

IPSP中指定LE Credit Based Connection Request Packet的LE_PSM字段设置为LE_PSM_IPSP(0x0023);

技术分享

LE Credit Based Flow Control Mode参见L2CAP Spec 10小节

MTU size shall be 1280 octets or higher.

 

理解IPSP(Internet Protocol Support Profile)

标签:

原文地址:http://www.cnblogs.com/bhm-vera/p/4969822.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!