Open valpackett opened 4 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
btlewrap/socket.py | 40 | 125 | 32.0% | ||
<!-- | Total: | 42 | 127 | 33.07% | --> |
Totals | |
---|---|
Change from base Build 128: | -23.5% |
Covered Lines: | 256 |
Relevant Lines: | 347 |
@myfreeweb thx for the contribution 👍 I never looked into FreeBSD.
Happy to merge it, when we've sorted out a bunch of smaller things:
This backend uses system bluetooth sockets (raw HCI for advertisements, L2CAP for ATT) and is designed for FreeBSD. (note: LE L2CAP outgoing packets currently require a little fix in the kernel)
Might work on other systems depending on how the
sockaddr
s and the filtersockopt
look. (directly using the HCI set filter message would be more portable than the sockopt..)No unit tests yet, I've only manually tested with miflora.