Motorola E1000 and obexapp 1.4.4 in server mode
Jes
jjess at freebsd.polarhome.com
Mon Jan 10 13:48:07 PST 2005
On Mon, 10 Jan 2005 12:05:48 -0800
Maksim Yevmenkin <maksim.yevmenkin at savvis.net> wrote:
> Jes,
>
> can i ask you to try something else? basically its the same change as
> before, but you need to adjust a couple more variables.
>
> 1) edit /sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h file and
> change
>
> #define RFCOMM_DEFAULT_MTU 127
>
> to
>
> #define RFCOMM_DEFAULT_MTU 667
>
>
> 2) edit /sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h file and
change
>
> #define NG_BTSOCKET_RFCOMM_SENDSPACE \
> (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10)
> #define NG_BTSOCKET_RFCOMM_RECVSPACE \
> (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10)
>
> to
>
> #define NG_BTSOCKET_RFCOMM_SENDSPACE \
> (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 2)
> #define NG_BTSOCKET_RFCOMM_RECVSPACE \
> (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 2)
>
>
> 3) re-compile ng_btsocket module, i.e.
>
> # cd /sys/modules/netgraph/bluetooth/socket/
> # make depend
> # make
> # make install
>
>
> 4) reboot and try again
WoW ! now I get everything working ... Those changes are good, tested
with both motorola e1000 and sony ericsson z600, obexapp in both
server and client mode and rfcomm_pppd.
Thanks a lot Max.
Bye
--
Love at first sight is one of the greatest labor-saving devices the
world has ever seen.
More information about the freebsd-bluetooth
mailing list