Multiple bluetooth connection

后端 未结 8 1856
后悔当初
后悔当初 2020-11-28 19:46

I want to connect 3 devices via bluetooth (My Droid must connect to 2 bluetooth devices). I \'ve connected my Droid to 1 device using Bluetooth chat How should I modify it f

相关标签:
8条回答
  • 2020-11-28 20:21

    I was searching a way to connect 4 devices with bluetooth and I found the following.

    http://groups.google.com/group/android-developers/browse_thread/thread/69d7810f6ef9bb7d

    I'm not sure that this is what you want.

    But in order to connect more than 2 devices using bluetooth you have to create a different UUID for each device you want to connect.

    Follow the link to see code examples and a better explanation.

    0 讨论(0)
  • 2020-11-28 20:28

    Not exactly true -- take a look at the specs summary

    Logical link control and adaptation protocol (L2CAP)

    L2CAP is used within the Bluetooth protocol stack. It passes packets to either the Host Controller Interface (HCI) or on a hostless system, directly to the Link Manager/ACL link. L2CAP's functions include:

    • Multiplexing data between different higher layer protocols.
    • Segmentation and reassembly of packets.
    • Providing one-way transmission management of multicast data to a group of other Bluetooth devices.
    • Quality of service (QoS) management for higher layer protocols.

    L2CAP is used to communicate over the host ACL link. Its connection is established after the ACL link has been set up.

    0 讨论(0)
提交回复
热议问题