Skip to contentSkip to conversation

GPRS / pppd problem

Bluez-users Erwin Authried 2 participants 3 messages Dec 17, 2004 – Dec 20, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I'm using GPRS on a Ericsson T630 over bluetooth successfully. When I press a key on the phone to terminate the GPRS connection, pppd doesn't recognize that, however. I did a hcidump to see what happens after the key has been pressed on the phone (see below). Any ideas if there's a way to signal pppd that the GPRS connection has been terminated? The pppd debug log doesn't show any activity in that case.

Regards,
Erwin

Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 13

    L2CAP(d): cid 0x0040 len 9 [psm 0]
      0000: 01 ef 08 00 e3 05 0b 0d  aa                       .........
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(d): cid 0x0092 len 8 [psm 0]
      0000: 03 ef 09 e1 05 0b 0d 70                           .......p
Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 9

    L2CAP(d): cid 0x0040 len 5 [psm 0]
      0000: 09 ff 01 00 5c                                    ....\
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

0000: 01 29 00 01 00 .)...

Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 16

    L2CAP(d): cid 0x0040 len 12 [psm 0]
      0000: 09 ff 0c 00 00 0d 0a 4f  4b 0d 0a 5c              .......OK..\
maintainer
#1 lore raw

Hi Erwin,

Quoted 6 lines

I'm using GPRS on a Ericsson T630 over bluetooth successfully. When I press a key on the phone to terminate the GPRS connection, pppd doesn't recognize that, however. I did a hcidump to see what happens after the key has been pressed on the phone (see below). Any ideas if there's a way to signal pppd that the GPRS connection has been terminated? The pppd debug log doesn't show any activity in that case.

get the full dump or run it with --psm=3 to enable RFCOMM decoding.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Am Fre, den 17.12.2004 schrieb Marcel Holtmann um 23:39:

Quoted 9 lines

Hi Erwin,

Quoted 6 lines

I'm using GPRS on a Ericsson T630 over bluetooth successfully. When I press a key on the phone to terminate the GPRS connection, pppd doesn't recognize that, however. I did a hcidump to see what happens after the key has been pressed on the phone (see below). Any ideas if there's a way to signal pppd that the GPRS connection has been terminated? The pppd debug log doesn't show any activity in that case.

Quoted 6 lines

get the full dump or run it with --psm=3 to enable RFCOMM decoding.

Regards

Marcel

Hi Marcel,
the dump with "hcidump --psm=3 -X" after canceling the GPRS connection on the phone:

Regards,
Erwin

Quoted 2 lines

ACL data: handle 0x0029 flags 0x02 dlen 13

    L2CAP(d): cid 0x0040 len 9 [psm 3]
      RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 4
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(d): cid 0x0094 len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 1 len 2
Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 9

    L2CAP(d): cid 0x0040 len 5 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 2 pf 1 ilen 0 fcs 0x5c credits 0
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

0000: 01 29 00 01 00 .)...

Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 16

    L2CAP(d): cid 0x0040 len 12 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 2 pf 1 ilen 6 fcs 0x5c credits 0
      0000: 0d 0a 4f 4b 0d 0a