[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] New stack - problems



Mattias,

Thank you for your help.
I did that, and sdp seems to work fine.
I issue a con XX:XX:XX:XX:XX:XX 0 0 0 on one console, and I get a connection.
When I do a send 10 10 then I have an infinite loop  with the followin appearing on the screen
of both consoles :

...
bt_receive_top : 4 bytes ...
bt_write_top 4 bytes on line 0
bt_write_lower_driver : 17 bytes
sent 4 out of 4 bytes
bt_receive_top : 4 bytes ...
bt_write_top 4 bytes on line 0
bt_write_lower_driver : 17 bytes
sent 4 out of 4 bytes
bt_receive_top : 4 bytes ...
bt_write_top 4 bytes on line 0
bt_write_lower_driver : 17 bytes
sent 4 out of 4 bytes
bt_receive_top : 4 bytes ...
bt_write_top 4 bytes on line 0
bt_write_lower_driver : 17 bytes
sent 4 out of 4 bytes
bt_receive_top : 4 bytes ...
bt_write_top 4 bytes on line 0
bt_write_lower_driver : 17 bytes
sent 4 out of 4 bytes
bt_receive_top : 4 bytes ...
bt_write_top 4 bytes on line 0
bt_write_lower_driver : 17 bytes
...

Do I use the stack in a proper way ?

I also tried to build the stack in kernel mode. But I have sysdep2.1 problems...
I am using a v2.4 kernel. Should the stack run properly with that kernel version ?

David.

Mattias Ågren wrote:

> You haven't started the SDP server, look in the README file for instructions.
> When the SDP server starts it creates the socket that btd tries to connect to (/tmp/sdp_sock)
>
> [snip]
> ----
> How to use the stack in user mode instead of in the kernel
>
> 1) Build the applications according to the instructions above.
>
> 2) Start the SDP server as 'sdp_user /etc/sdp.xml &'.
>
> 3) Then run btduser (as root) with the same options as with the standard
>    btd application (see above).
> ----
>
> /Mattias
>
> -----Original Message-----
> From: David LIBAULT [mailto:david.libault@xxxxxxx.fr]
> Sent: den 1 november 2000 16:08
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] New stack - problems
>
> Hi all,
>
> The old version of the stack works fine for me (I work in user mode).
> I am trying to make the new version work, and I did not succeed to make
> an RFCOMM connection yet... Weired things are happening...
>
> When starting, I get an error message during SDP initialisation
> ("Opening socket /tmp/sdp_sock"  "connect client socket: Connection
> refused" "ERROR :Couldn't open socket, sdp will not be used"). I have to
> figure out what this commes from...
>
> Should the new version of the stack work with the older one ? Or does
> the older stack have "interoperability" problems ?
>
> BTW, why hasn't the ARM patch been applied in this new release ? Do we
> need to redo all the work that Gordon has done ?
>
> Regards,
>
> David.
>
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com