Parser for btsnoop file
Project description
Parser for btsnoop
A project that analyzes btsnoop file.
example 1:
Display btsnoop pakcet info
from btsnoop.btsnoop import *
btsnp = btsnoop('btsnoop_hci.log')
print(btsnp.parsed[0:10])
example 2:
Get remote / local device information in a list of dictionaries:
[{'peer_addr': '90:3A:E6:2A:08:15',
'name': 'MyLink Malibu',
'oui': 'PARROT SA,174 Quai de Jemmapes Paris FR 75010 ',
'lmp_manufacture': 'Texas_Instruments',
'lmp_version': 'V4_0',
'lmp_subversion': 7002,
'profiles': [(<service_class_t.AdvancedAudioDistribution: 4365>, '1.2'),
(<service_class_t.Handsfree: 4382>, '1.6'),
(<service_class_t.AV_RemoteControl: 4366>, '1.4')
]
},
]
btsnp = btsnoop('btsnoop_hci.log')
remote_info = btsnp.get_remote_info()
print(remote_info)
example 3:
Find ACL connections which are sucessful or failed due to some kind of error
btsnp = btsnoop('btsnoop_hci.log')
conns = btsnp.get_acl_connections(status=8)
print(conns)
This is the README file for the project.
The file should use UTF-8 encoding and can be written using reStructuredText or markdown with the appropriate key set. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose.
Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file btsnoop-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: btsnoop-1.1.0-py3-none-any.whl
- Upload date:
- Size: 809.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db001d837a73d7873c7b547814b28b57be9ce803b24bf8ff312207280e7cd0dd |
|
MD5 | 0881b0ce97af109e55d16813d3ce86fe |
|
BLAKE2b-256 | 0e4ddfaa80332084cf60760f8d35d7508ea4d80964cafe6b9f5661ea23531fa2 |