[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sv: [bluetooth-dev] How to send acl-data from HCI-layer ??
Sending ACL packets is very close connected to the L2CAP protocol stack. This mean that the BT protocol don't regard the payload of an ACL packet as "just" payload. There is an expected contents of this payload - L2CAP packets. Somewhere in the spec. you can read that the length field in the L2CAP header, can be used as an consistency check, which can be used to throw away packets in case this length field doesn't contain an correct value (according to the ACL header length field).
What does this mean: You cannot excange data on the HCI level, by sending ACL packets WITHOUT spoofing an L2CAP layer. This can simply be done by adding an correctly encoded L2CAP header to your payload.
----- Original Message -----
Sent: Friday, June 29, 2001 1:54 PM
Subject: [bluetooth-dev] How to send acl-data from HCI-layer ??
> Hello !
> Can someone please explain me what I have to do when I want
> to send acl-data from the HCI-layer ?
> In which Buffer do I have to copy the data ?
> Which functions must I use ?
> I use only the HCI-layer to connect my BT Modules.
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to email@example.com
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org