作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (12): 92-94. doi: 10.3969/j.issn.1000-3428.2011.12.031

• 网络与通信 • 上一篇    下一篇

蓝牙RFCOMM协议层的研究与实现

刘 凯,高 强,王 尧   

  1. (北京交通大学电子信息工程学院,北京100044)
  • 收稿日期:2010-11-06 出版日期:2011-06-20 发布日期:2011-06-20
  • 作者简介:刘 凯(1985-),男,硕士研究生,主研方向:宽带无线通信;高 强,研究员;王 尧,硕士研究生

Research and Implementation of Bluetooth RFCOMM Protocol Layer

LIU Kai, GAO Qiang, WANG Yao   

  1. (School of Electronic and Information Engineering, Beijing Jiaotong University, Beijing 100044, China)
  • Received:2010-11-06 Online:2011-06-20 Published:2011-06-20

摘要: 分析RFCOMM协议及其连接模型和通信流程,提出一种基于有限状态机模型的RFCOMM-L2CAP异步通信结构。针对RFCOMM底层唯一存在的L2CAP信道的复用模型,通过异步化事件处理统一维护RFCOMM连接与L2CAP信道的引用关系,优化蓝牙协议栈层间的通信效率和实时性。

关键词: 蓝牙协议栈, RFCOMM会话, 异步通信, 串口仿真, 数据链路标识

Abstract: Based on analysis of RFCOMM transport protocol, connection model and procedure of communication, this paper presents a RFCOMM-L2CAP asynchronous communication structure based on Finite State Machine(FSM) and a multiplexing model of L2CAP channel as RFCOMM unique transport layer, maintaining a reference relationship between RFCOMM connections and L2CAP logic channel through asynchronous handling of event, optimizing the efficiency of information exchange and real time between layers of Bluetooth protocol stack.

Key words: Bluetooth protocol stack, RFCOMM session, asynchronous communications, serial port simulation, data link identifier

中图分类号: