Bluetooth Protocol?

前端 未结 5 1180
忘掉有多难
忘掉有多难 2021-02-01 05:31

Ok, this might just be a dumb question, but I was wondering if Bluetooth follows TCP or UDP protocol? From my knowledge of network protocols (which isn\'t much), I would say tha

5条回答
  •  不思量自难忘°
    2021-02-01 06:14

    The Bluetooth protocol stack includes its own transport protocols: L2CAP and RFCOMM, where RFCOMM links use the L2CAP layer. You can work some IP tunneling over Bluetooth encapsulating UDP packets over RFCOMM links.

    Gamekit hides the Bluetooth stack from you but my guess is that it uses SDP for peer discovery and RFCOMM links for communication between them.

提交回复
热议问题