Hello, It seems that in BlueZ 5 there is no interface provided for better user experience. Let call it "monitor" and it is used for capture all Bluetooth adapter in the same time within information about adding new adapter or delete existing one (there are special opcodes for that [separated packets]). Use case (I think it should in simple way show reason/usage for that): 1. Start Wireshark. 2. Select only one available interface: let call it "bluetoothmon" 3. Start capture. 4. Insert two dongle. 5. Generate traffic. 6. Remove one dongle. ...
This interface should never fail like existing libpcap implementation for Bluetooth for Linux (remove USB dongle == [Wireshark] fail). Implementation can based on: BlueZ 5 "monitor" tool: http://git.kernel.org/cgit/bluetooth/bluez.git/tree/monitor You can see function "open_socket" in http://git.kernel.org/cgit/bluetooth/bluez.git/tree/monitor/control.c One advantage of new bluetoothmon is it allow to capture early command while device is initialising (bluetooth0, etc. does not have it) DLT may have name DLT_BLUETOOTH_BLUEZ5_MONITOR, feel free to change it. BlueZ community extent BTSNOOP capture file-format to support multiple interfaces too.(specially for new "monitor" format) -- Pozdrawiam / Best regards ------------------------------------------------------------------------------------------------------------- Michał Łabędzki, Software Engineer Tieto Corporation Product Development Services http://www.tieto.com / http://www.tieto.pl --- ASCII: Michal Labedzki location: Swobodna 1 Street, 50-088 Wrocław, Poland room: 5.01 (desk next to 5.08) --- Please note: The information contained in this message may be legally privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorised use, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. --- Please consider the environment before printing this e-mail. --- Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod numerem 0000124858. NIP: 8542085557. REGON: 812023656. Kapitał zakładowy: 4 271500 PLN _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers