Connecting to BLE slave to communicate with L2CAP packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I am trying to connect a BLE embedded device (slave) to a BLE dongle
(master) and then communicate with L2CAP packets. For this the dongle
can successfully scan for the advertising slave with hcitool lescan
and connect with it with hcitool lecc. Next I would like to
communicate with the slave by sending and receiving L2CAP packets. How
can this be achieved? I have tried various options with l2test to do
this but haven't succeedded. I have used
-V le_random address type
-M to specify that the dongle is the master
-J 65 to specify channel id of 0x41
-i hci1 to specify the dongle

The modes that I have tried are
-u connect and receive
-n connect and be silent
-r listen and receive
-w listen and send

When trying to connect I am getting Invalid arguments(22) error. How
can I communicate with L2CAP layer with BLE devices? Any help is
greatly appreciated.
Thanks,
Prithvi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux