This PR implements a new BTstackCore implementation that connects to a local BTstack Daemon over a TCP/IP socket.
By using a user-space Bluetooth Stack, examples become more portable. As BTstack also runs on Windows, it might be possible to use InternalBlue on Windows as well.
An additional benefit could be the option to directly trigger higher protocol/profile interactions with remote device via the Bluetooth stack directly from the Python via the socket connection.
BTsnoop logging is not supported yet as BTstack writes an Apple PacketLogger HCI trace by default.
The CLI comes up and BTstack initialized the Bluetooth Controller when using internalblue = BTstackCore(), but no additional example have been created/tested.
This PR implements a new BTstackCore implementation that connects to a local BTstack Daemon over a TCP/IP socket.
By using a user-space Bluetooth Stack, examples become more portable. As BTstack also runs on Windows, it might be possible to use InternalBlue on Windows as well.
An additional benefit could be the option to directly trigger higher protocol/profile interactions with remote device via the Bluetooth stack directly from the Python via the socket connection.
BTsnoop logging is not supported yet as BTstack writes an Apple PacketLogger HCI trace by default.
The CLI comes up and BTstack initialized the Bluetooth Controller when using internalblue = BTstackCore(), but no additional example have been created/tested.