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

The Implementation of RFCOMM in Android

时间:2015-04-15 19:38:08      阅读:124      评论:0      收藏:0      [点我收藏+]

标签:bluetooth   android   rfcomm   

Introduction

    RFCOMM provides an emulation of serial cable line settings and status of an RS-232 serial port. RFCOMM is a simple transport protocol over L2CAP. So the protocol could supports up to 60 simultaneous connections between two Bluetooth devices.(The number of connections that may be used simultaneously in a Bluetooth device depends on the implementation). It does not have any ability to correct errors. The reliability relies on Bluetooth baseband.(RFCOMM‘s flow control also uses the basband‘s capabilities.)
    RFCOMM data rate is not configurable with the typical baud rate, e.g. 19200. RFCOMM will transfer the data as fast as it can. The actual data rate will vary, and what the highest data rate is  can be a complicated issue.(see the previous article <How Fast is Bluetooth>) RFCOMM data rates will be limited in devices where there is a physical serial port involved. Implementations may optionally pace data on virtual serial ports.

(be continued...)

The Implementation of RFCOMM in Android

标签:bluetooth   android   rfcomm   

原文地址:http://blog.csdn.net/wendell_gong/article/details/45060337

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