[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] Connect 2 PC with Null Modem Cable
That is because when you connect an rfcomm channel you use the serverchannel, since the LSB in the DLCI is set / not set, depending on if you are the initiator or not. But, when you send data you can send it on any dlci, that's why the send command uses the dlci.
So try to do "rf_send 10 8" instead.
> -----Original Message-----
> From: Xavier DEBREUIL [mailto:firstname.lastname@example.org]
> Sent: Thursday, December 14, 2000 6:05 PM
> Cc: Axis
> Subject: Re: [bluetooth-dev] Connect 2 PC with Null Modem Cable
> I did
> "./btd -u /dev/ttyS0 -s 9600 -r server -i none -m" on the server and
> "./btd -u /dev/ttyS1 -s 9600 -r client -i none -m" on the client side.
> on the same pc
> then "rf_conn 0:0:0:0:0:1 2"
> "stat" : [RFCOMM]
> line mtu dlci#0 state[CONNECTED]
> line mtu dlci#4 state[CONNECTED]
> on both sides
> but "rf_send 10 4" on one side implies :
> "BT SYS: ERROR :rfcomm_send_data: DLCI 2 not connected
> on the second side.
> Am I missing something ?
> Thank you.
> To unsubscribe from this list: send the line "unsubscribe
> bluetooth-dev" in
> the body of a message to email@example.com
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org