-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy path__init__.py
41 lines (37 loc) · 1.89 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from distutils.version import StrictVersion
import cffi
import os
__version__ = '0.3.1'
if StrictVersion(cffi.__version__) < StrictVersion('0.7'):
raise RuntimeError(
'bt_manager requires cffi >= 0.7, but found %s' % cffi.__version__)
ffi = cffi.FFI()
cwd = os.path.dirname(__file__)
header_file = os.path.join(cwd, 'rtpsbc.h')
with open(header_file) as fh:
header = fh.read()
ffi.cdef(header)
fh.close()
# from bt_manager.adapter import BTAdapter # noqa
# from bt_manager.agent import BTAgent # noqa
# from bt_manager.attributes import ATTRIBUTES # noqa
from bt_manager.audio import BTAudio, BTAudioSource # noqa
from bt_manager.audio import BTAudioSink, SBCAudioCodec # noqa
from bt_manager.audio import SBCAudioSource, SBCAudioSink # noqa
# from bt_manager.cod import BTCoD # noqa
from bt_manager.codecs import * # noqa
# from bt_manager.control import BTControl # noqa
# from bt_manager.device import BTGenericDevice, BTDevice # noqa
# from bt_manager.discovery import BTDiscoveryInfo # noqa
from bt_manager.exceptions import * # noqa
# from bt_manager.headset import BTHeadset # noqa
# from bt_manager.headset import BTHeadsetGateway # noqa
from bt_manager.interface import BTSimpleInterface # noqa
from bt_manager.interface import BTInterface # noqa
# from bt_manager.manager import BTManager # noqa
from bt_manager.media import BTMedia, BTMediaTransport # noqa
# from bt_manager.input import BTInput # noqa
from bt_manager.serviceuuids import SERVICES # noqa
from bt_manager.uuid import BTUUID, BTUUID16, BTUUID32 # noqa
from bt_manager.uuid import BASE_UUID # noqa
# from bt_manager.vendors import VENDORS # noqa