mlelstv
e2144167ec
- Reconfigure port speed only when initial speed was different.
...
- Time out HCI commands instead of hanging forever.
- When bcm43xx reset fails, assume that firmware is already
running and start line discipline.
This allows to re-attach bcm43xx without reboot.
2023-02-07 20:45:44 +00:00
nat
866993a422
Fix copyright error.
...
Ok plunky@.
2017-09-03 22:54:12 +00:00
nat
52943eab20
Set controller clock based on baud rate.
2017-08-14 05:28:23 +00:00
wiz
3ee579e3bc
Indent to avoid line breaks in tag; give tag width in table; use Nm
...
to refer to hciattach because we'll probably never have hciattach(8).
2017-08-13 18:34:03 +00:00
jmcneill
6ad4d0f8e5
Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
...
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry Pi foundation.
2017-08-11 11:54:08 +00:00
jmcneill
8622efc43c
Derive the firmware name from the device's local name instead of
...
hard-coding BCM4340A1. Search hw.firmware.path for the firmware image
instead of loading it from the current directory.
2017-08-10 20:43:12 +00:00
jakllsch
6598524cdc
remove currently-unused variables that trip up the build
2017-08-10 18:45:20 +00:00
nat
e5d9803b71
Add support for bcm 43xx devices using the btuart h5 protocol.
...
Currently It will only load 1 firmware image for rpi3.
To use change to the directory containing the firmware BCM4340A1.hcd.
Then issue: btattach -FPi 115200 bcm43xx /dev/ttydevice 921600.
Then you can use the bluetooth device btfive0.
This enables the embedded bluetooth controller on rpi3.
2017-08-10 13:34:29 +00:00
christos
d672d793c3
a couple more stray \n
2015-06-16 23:54:58 +00:00
christos
8ee626c9fa
improve error messages (remove \n, use __func__, etc)
2015-06-16 23:04:13 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
joerg
94b1bee225
Mark types as static and usage as dead.
2011-08-27 22:17:53 +00:00
wiz
31ccbbf612
Fix a typo.
2011-04-28 16:23:41 +00:00
wiz
8c68fa47ec
Sort sections. Try to improve description of -t.
2010-03-09 10:54:01 +00:00
kiyohara
cecd9b8efc
Remove white-spaces.
2010-03-09 02:01:51 +00:00
plunky
c683e41b5d
use %zd for ssize_t argument
2010-03-08 21:48:42 +00:00
plunky
7937d424ef
fix compilation errors
2010-03-08 21:19:29 +00:00
kiyohara
3e3acb56cf
Add -t, -F, -P.
2010-03-08 18:35:51 +00:00
kiyohara
4670060018
Add option 'test mode'(-t).
...
Can test your Bluetooth module via com-port.
This mode guess speed for bcsp(4) or btuart(4), if not respond.
2010-03-08 17:59:52 +00:00
kiyohara
45be6911c0
Add options 'no parity'(-P) and 'disable flow control'(-F).
...
Also default enable parity for bcsp.
2010-03-08 17:41:11 +00:00
plunky
de7a8fb394
sort entries in structure
...
clarify init name type for CSR modules
2010-02-17 09:49:41 +00:00
kiyohara
24a2c2d7c2
Add unistone.
2009-12-06 13:21:37 +00:00
kiyohara
4e74fe3282
Support Infineon UniStone (PBA31308).
...
from Gumstix's bluez-utils-hciattach-pba31308.patch.
tested on Gumstix verdex-pro.
2009-12-06 12:55:46 +00:00
kiyohara
adcbe4e3eb
Fix some bugs.
...
1. Remove O_NDELAY. Please block it. Or read() returns EAGAIN.
2. We want data size. header already read.
3. Call errx(). errno(2) unspecified at now.
2009-12-06 12:47:37 +00:00
kiyohara
c7fee8db52
Check return values.
2009-12-06 12:31:07 +00:00
kiyohara
69144e751e
Fix comment. CSR use BlueCore command.
2009-12-06 12:29:48 +00:00
lukem
4d8dfd66df
Fix -Wsign-compare issues.
...
(Use %u not %d for unsigned ints.)
2009-04-15 00:32:23 +00:00
joerg
6c62880d49
Remove .Pp as it breaks visible context.
2009-03-15 10:04:27 +00:00
lukem
9c1945664c
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
plunky
486e4624e5
some changes to serial bluetooth host controller interfaces
...
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD
make btattach(8) a single-use tool for less complexity
device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.
btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00