一,部分代码没有完成,只是模拟一个面向连接的从建立到断开的过程,另外,L2CAP的重点状态机和拆包重组没有模拟 bt_l2cap.h /* * This file is part of the L2CAP protocal. * Data :20160510 * Author: zhongjun * */ #ifndef BT_L2CAP_H_H #define BT_L2CAP_H_H ...