-
Notifications
You must be signed in to change notification settings - Fork 0
macro-c/boothCentralPeripheral
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
同一设备,同时作为外设和中心。 使用情景设计: 1.调试模式,设备分为--调试设备/被调试设备,两种角色。其中调试设备只保留central功能,主动连接被调试设备;被调试设备保留peripheral功能,允许多台调试设备同时连接和通信。 2.聊天模式,设备彼此之间地位平等,当前模式之下可以任意之间连接。central和peripheral方中任一方 订阅或被订阅相关特征值时,停止另一方工作,保留单一身份(central或peripheral)进行通信。 两种模式对于central方,以peripheral方的广告内容进行筛选,是否连接。peripheral方在广告信息中表明自己身份,支持的连接类型。
About
heheheda
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published