-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to Python 3 #4
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aescolar
reviewed
Jan 8, 2020
5077117
to
89a753f
Compare
Convert the Python codebase to Python 3, including all test implementations. Signed-off-by: Carles Cufi <[email protected]>
wopu-ot
pushed a commit
to wopu-ot/EDTT
that referenced
this pull request
Oct 1, 2021
With this patch, when "--store_btsnoop=true", the HCI logs are stored in the btsnoop_[timestamp].log which can be read by e.g. btmon -r By defult it is false; When "--btmon_socket_path=socket_path" is provided, edttool will try to connect to unix socket opened by "btmon -s socket_path" By default edttool tries to connect /tmp/btmon-sock UpperTester is a [hci10] and LowerTester is a [hci11] This helps to verify HCI communication = New Index: 00:00:00:00:00:00 (Primary,VIRTIO,UpperTester) [hci10] 0.551917 = Open Index: 00:00:00:00:00:00 [hci10] 0.551933 = New Index: 00:00:00:00:00:00 (Primary,VIRTIO,LowerTester) [hci11] 0.551943 = Open Index: 00:00:00:00:00:00 [hci11] 0.551947 = Testing session started: [hci10] 0.552393 = IAL/CIS/UNF/PER/BV-01-C: [hci10] 0.563156 < HCI Command: Reset (0x03|0x0003) plen 0 EDTTool#1 [hci10] 0.563523 > HCI Event: Command Complete (0x0e) plen 4 EDTTool#2 [hci10] 0.563886 Reset (0x03|0x0003) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 EDTTool#3 [hci10] 0.563939 > HCI Event: Command Complete (0x0e) plen 12 EDTTool#4 [hci10] 0.564344 Read Local Supported Features (0x04|0x0003) ncmd 1 Status: Success (0x00) Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00 BR/EDR Not Supported LE Supported (Controller) < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 EDTTool#5 [hci10] 0.564382 > HCI Event: Command Complete (0x0e) plen 12 EDTTool#6 [hci10] 0.564989 LE Read Local Supported Features (0x08|0x0003) ncmd 1 Status: Success (0x00) Features: 0xff 0x7f 0x01 0x7f 0x0e 0x00 0x00 0x00 LE Encryption Connection Parameter Request Procedure Extended Reject Indication Slave-initiated Features Exchange LE Ping LE Data Packet Length Extension LL Privacy Extended Scanner Filter Policies LE 2M PHY Stable Modulation Index - Transmitter Stable Modulation Index - Receiver LE Coded PHY LE Extended Advertising LE Periodic Advertising Channel Selection Algorithm EDTTool#2 Minimum Number of Used Channels Procedure Periodic Advertising Sync Transfer - Sender Periodic Advertising Sync Transfer - Recipient Sleep Clock Accuracy Updates Remote Public Key Validation Connected Isochronous Stream - Master Connected Isochronous Stream - Slave Isochronous Broadcaster LE Power Control Request LE Power Change Indication LE Path Lost Monitoring < HCI Command: Set Event Mask (0x03|0x0001) plen 8 EDTTool#7 [hci10] 0.565037 Mask: 0x20001fffffffffff Inquiry Complete Inquiry Result Connection Complete Connection Request Disconnection Complete Authentication Complete Remote Name Request Complete Encryption Change Change Connection Link Key Complete Master Link Key Complete Read Remote Supported Features Complete Read Remote Version Information Complete QoS Setup Complete Command Complete Command Status Hardware Error Flush Occurred Role Change Number of Completed Packets Mode Change Return Link Keys PIN Code Request Link Key Request Link Key Notification Loopback Command
wopu-ot
pushed a commit
that referenced
this pull request
Oct 6, 2021
With this patch, when "--store_btsnoop=true", the HCI logs are stored in the btsnoop_[timestamp].log which can be read by e.g. btmon -r By defult it is false; When "--btmon_socket_path=socket_path" is provided, edttool will try to connect to unix socket opened by "btmon -s socket_path" By default edttool tries to connect /tmp/btmon-sock UpperTester is a [hci10] and LowerTester is a [hci11] This helps to verify HCI communication = New Index: 00:00:00:00:00:00 (Primary,VIRTIO,UpperTester) [hci10] 0.551917 = Open Index: 00:00:00:00:00:00 [hci10] 0.551933 = New Index: 00:00:00:00:00:00 (Primary,VIRTIO,LowerTester) [hci11] 0.551943 = Open Index: 00:00:00:00:00:00 [hci11] 0.551947 = Testing session started: [hci10] 0.552393 = IAL/CIS/UNF/PER/BV-01-C: [hci10] 0.563156 < HCI Command: Reset (0x03|0x0003) plen 0 #1 [hci10] 0.563523 > HCI Event: Command Complete (0x0e) plen 4 #2 [hci10] 0.563886 Reset (0x03|0x0003) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 #3 [hci10] 0.563939 > HCI Event: Command Complete (0x0e) plen 12 #4 [hci10] 0.564344 Read Local Supported Features (0x04|0x0003) ncmd 1 Status: Success (0x00) Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00 BR/EDR Not Supported LE Supported (Controller) < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 #5 [hci10] 0.564382 > HCI Event: Command Complete (0x0e) plen 12 #6 [hci10] 0.564989 LE Read Local Supported Features (0x08|0x0003) ncmd 1 Status: Success (0x00) Features: 0xff 0x7f 0x01 0x7f 0x0e 0x00 0x00 0x00 LE Encryption Connection Parameter Request Procedure Extended Reject Indication Slave-initiated Features Exchange LE Ping LE Data Packet Length Extension LL Privacy Extended Scanner Filter Policies LE 2M PHY Stable Modulation Index - Transmitter Stable Modulation Index - Receiver LE Coded PHY LE Extended Advertising LE Periodic Advertising Channel Selection Algorithm #2 Minimum Number of Used Channels Procedure Periodic Advertising Sync Transfer - Sender Periodic Advertising Sync Transfer - Recipient Sleep Clock Accuracy Updates Remote Public Key Validation Connected Isochronous Stream - Master Connected Isochronous Stream - Slave Isochronous Broadcaster LE Power Control Request LE Power Change Indication LE Path Lost Monitoring < HCI Command: Set Event Mask (0x03|0x0001) plen 8 #7 [hci10] 0.565037 Mask: 0x20001fffffffffff Inquiry Complete Inquiry Result Connection Complete Connection Request Disconnection Complete Authentication Complete Remote Name Request Complete Encryption Change Change Connection Link Key Complete Master Link Key Complete Read Remote Supported Features Complete Read Remote Version Information Complete QoS Setup Complete Command Complete Command Status Hardware Error Flush Occurred Role Change Number of Completed Packets Mode Change Return Link Keys PIN Code Request Link Key Request Link Key Notification Loopback Command
kruithofa
pushed a commit
to kruithofa/EDTT
that referenced
this pull request
Oct 6, 2021
With this patch, when "--store_btsnoop=true", the HCI logs are stored in the btsnoop_[timestamp].log which can be read by e.g. btmon -r By defult it is false; When "--btmon_socket_path=socket_path" is provided, edttool will try to connect to unix socket opened by "btmon -s socket_path" By default edttool tries to connect /tmp/btmon-sock UpperTester is a [hci10] and LowerTester is a [hci11] This helps to verify HCI communication = New Index: 00:00:00:00:00:00 (Primary,VIRTIO,UpperTester) [hci10] 0.551917 = Open Index: 00:00:00:00:00:00 [hci10] 0.551933 = New Index: 00:00:00:00:00:00 (Primary,VIRTIO,LowerTester) [hci11] 0.551943 = Open Index: 00:00:00:00:00:00 [hci11] 0.551947 = Testing session started: [hci10] 0.552393 = IAL/CIS/UNF/PER/BV-01-C: [hci10] 0.563156 < HCI Command: Reset (0x03|0x0003) plen 0 EDTTool#1 [hci10] 0.563523 > HCI Event: Command Complete (0x0e) plen 4 EDTTool#2 [hci10] 0.563886 Reset (0x03|0x0003) ncmd 1 Status: Success (0x00) < HCI Command: Read Local Supported Features (0x04|0x0003) plen 0 EDTTool#3 [hci10] 0.563939 > HCI Event: Command Complete (0x0e) plen 12 EDTTool#4 [hci10] 0.564344 Read Local Supported Features (0x04|0x0003) ncmd 1 Status: Success (0x00) Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00 BR/EDR Not Supported LE Supported (Controller) < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 EDTTool#5 [hci10] 0.564382 > HCI Event: Command Complete (0x0e) plen 12 EDTTool#6 [hci10] 0.564989 LE Read Local Supported Features (0x08|0x0003) ncmd 1 Status: Success (0x00) Features: 0xff 0x7f 0x01 0x7f 0x0e 0x00 0x00 0x00 LE Encryption Connection Parameter Request Procedure Extended Reject Indication Slave-initiated Features Exchange LE Ping LE Data Packet Length Extension LL Privacy Extended Scanner Filter Policies LE 2M PHY Stable Modulation Index - Transmitter Stable Modulation Index - Receiver LE Coded PHY LE Extended Advertising LE Periodic Advertising Channel Selection Algorithm EDTTool#2 Minimum Number of Used Channels Procedure Periodic Advertising Sync Transfer - Sender Periodic Advertising Sync Transfer - Recipient Sleep Clock Accuracy Updates Remote Public Key Validation Connected Isochronous Stream - Master Connected Isochronous Stream - Slave Isochronous Broadcaster LE Power Control Request LE Power Change Indication LE Path Lost Monitoring < HCI Command: Set Event Mask (0x03|0x0001) plen 8 EDTTool#7 [hci10] 0.565037 Mask: 0x20001fffffffffff Inquiry Complete Inquiry Result Connection Complete Connection Request Disconnection Complete Authentication Complete Remote Name Request Complete Encryption Change Change Connection Link Key Complete Master Link Key Complete Read Remote Supported Features Complete Read Remote Version Information Complete QoS Setup Complete Command Complete Command Status Hardware Error Flush Occurred Role Change Number of Completed Packets Mode Change Return Link Keys PIN Code Request Link Key Request Link Key Notification Loopback Command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Convert the Python codebase to Python 3, including all test
implementations.
Signed-off-by: Carles Cufi [email protected]