Solved

example of l2cap command in hci acl packet format

Posted on 2002-03-06
4
709 Views
Last Modified: 2013-12-14
hi,
i'm using ericsson development kit for bluetooh, and i am trying to send al2cap command over hci.
therefore i wanna send the packet in hex format.
my question is could somebody give me an exampleof al2cap command into anhci acl packet??
for instance echo request: the sturcture of the l2cap packet is:
0x06 then identifier( what kind of data is this?? i need an example data for this) and length
my major problem is what to put in the identifier field.
every kind of help is more than welcome and appericiated,
thanks in advance!!
das.
0
Comment
Question by:dasco1632
4 Comments
 

Accepted Solution

by:
prasad_eee earned 50 total points
ID: 7103555
Consider you are sending a request from Master then you have to fill this value in L2cap (any value u like ranging from 0 to ff)in the identifier. The slave will response to the request by filling the same identifier value in its response.
So identifier is used to identify for which request(command of the master) the slave have responded.

Example for L2CAP Connect Response Packet

(All Values are in Hex)
L2CAP Connect response

0c 00 01 00 03 01 08 00 40 00 40 00 00 00 00 00

0c 00 - Payload length
01 00 - SIG Command (Connection Oriented)
03 - UcCode (Connect Rsp)
01 - Identifier (This should be the same value that is received in the Identifier from L2cap Connect Request)
08 00 - Length
40 00 - Local Channel Identifier
40 00 - Remote Channel Identifier (same value recieved from Master)
00 00 - Result
00 00 - Status

I think u can understand..

Regards,
Prasad
email: prasad.k@lntinfotech.com
0

Featured Post

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guest Network Captive Portal 1 56
NPS with VLAN tagging not getting correct IP from DHCP 2 70
5Ghz WiFi network no longer showing 10 97
DNS with WiFi Network 5 54
With the purchase of CloudCommand by Comcast customers are left in a bind as subscriptions expire and render the AP's disabled. The following will explain how to flash your Ubiquiti AP's with CloudCommand firmware back to Ubiquiti firmware. HOWTO…
Working settings for French ISP Orange "Prêt à Surfer" SIM cards for data connections only. Can't be found anywhere else !
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now