2006-06-08 07:14:12

by Carl Karsten

[permalink] [raw]
Subject: [Bluez-users] PM325 by LG cell phone

(re posted to the list from a new account - gmail was held up for some
reason, so forgive me if a 2nd copy shows up.)

> > carl@asus17:~$ sdptool browse 08:00:37:03:EF:36
> > Browsing 08:00:37:03:EF:36 ...
> > Service Name: WBTEXT
> > Service RecHandle: 0x10000
> > Service Class ID List:
> > "Error: This is UUID-128" (0xdb1d8f12-95f3-402c-9b97-bc504c9a55c4)
> > Protocol Descriptor List:
> > "L2CAP" (0x0100)
> > "RFCOMM" (0x0003)
> > Channel: 1
> > Language Base Attr List:
> > code_ISO639: 0x656e
> > encoding: 0x6a
> > base_offset: 0x100
> > Profile Descriptor List:
> > "Error: This is UUID-128" (0x1cdb1d8f-1295-f340-2c9b-97bc504c9a55)
> > Version: 0x0100
>
> The WBTEXT service is some LG specific one and I actually like to know
> what you can do with it, but this might be used by LG phones and
> software only. However you might try "sdptool records --raw <bdaddr>"
> and see if you find some more records.


I'm guessing nothing new, but I am not qualified, so here you go...

carl@asus17:~$ sdptool records --raw 08:00:37:03:EF:36
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010000
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID128 db1d8f12-95f3-402c-9b97
-bc504c9a55c4
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x01
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0006 - LanguageBaseAttributeIDList
Sequence
UINT16 0x656e
UINT16 0x006a
UINT16 0x0100
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID128 1cdb1d8f-1295-f340-2c9b-97bc504c9a55
UINT16 0x0100
Attribute 0x0100
Data 57 42 54 45 58 54 00
Attribute 0x8003
UINT16 0x0001
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010001
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID16 0x1112 - HeadsetAudioGateway
UUID16 0x1203 - GenericAudio
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x02
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID16 0x1108 - Headset
UINT16 0x0100
Attribute 0x0100
Data 4c 47 20 4c 58 33 32 35 20 48 65 61 64 73 65 74 20
41 47 20 53 65 72 76 69 63 65 00
Attribute 0x0302
Bool True
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010002
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID16 0x111f - HandsfreeAudioGateway
UUID16 0x1203 - GenericAudio
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x03
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID16 0x111e - Handsfree
UINT16 0x0100
Attribute 0x0100
Data 4c 47 20 4c 58 33 32 35 20 48 61 6e 64 73 2d 46 72
65 65 20 41 47 20 53 65 72 76 69 63 65 00
Attribute 0x0301
UINT8 0x00
Attribute 0x0311
UINT16 0x0005
carl@asus17:~$


_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2006-06-08 10:57:14

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

Hi Carl,

> > run "hcidump -X -V" as root to see what's going on.
> >
>
> carl@asus17:~$ sudo hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.28
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 08:00:37:03:EF:36 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x00 handle 42 bdaddr 08:00:37:03:EF:36 type ACL encrypt 0x00
> < ACL data: handle 42 flags 0x02 dlen 12
> L2CAP(s): Connect req: psm 3 scid 0x0040
> < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> handle 42 policy 0x0f
> Link policy: RSWITCH HOLD SNIFF PARK
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > HCI Event: Command Complete (0x0e) plen 6
> Write Link Policy Settings (0x02|0x000d) ncmd 1
> status 0x00 handle 42
> > HCI Event: Max Slots Change (0x1b) plen 3
> handle 42 slots 5
> > ACL data: handle 42 flags 0x02 dlen 16
> L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0040 result 0 status 0
> Connection successful
> < ACL data: handle 42 flags 0x02 dlen 16
> L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
> MTU 1013
> > ACL data: handle 42 flags 0x02 dlen 16
> L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
> MTU 675
> < ACL data: handle 42 flags 0x02 dlen 14
> L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
> Success
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > ACL data: handle 42 flags 0x02 dlen 14
> L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
> Success
> < ACL data: handle 42 flags 0x02 dlen 8
> L2CAP(d): cid 0x0041 len 4 [psm 3]
> RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > ACL data: handle 42 flags 0x02 dlen 8
> L2CAP(d): cid 0x0040 len 4 [psm 3]
> RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> < ACL data: handle 42 flags 0x02 dlen 18
> L2CAP(d): cid 0x0041 len 14 [psm 3]
> RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
> dlci 8 frame_type 0 credit_flow 15 pri 7 ack_timer 0
> frame_size 670 max_retrans 0 credits 7
> > HCI Event: Number of Completed Packets (0x13) plen 5
> handle 42 packets 1
> > ACL data: handle 42 flags 0x02 dlen 8
> L2CAP(d): cid 0x0040 len 4 [psm 3]
> RFCOMM(s): DM: cr 1 dlci 8 pf 0 ilen 0 fcs 0xf6

as I thought so. No active service behind channel 4 anymore. So you
might wanna run "sdptool search --bdaddr <bdaddr> dun" to find your DUN
service.

> > Maybe the channel numbers changed or you need to reactivate the DUN
> > service.
> >
> how did I activate it in the first place?

No idea. It is your phone.

Regards

Marcel




_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-06-08 08:05:10

by Carl Karsten

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

Marcel Holtmann wrote:
> Hi Carl,
>
>
>> carl@asus17:~$ sudo rfcomm connect 0 08:00:37:03:EF:36 4
>> Can't connect RFCOMM socket: Connection refused
>>
>
> run "hcidump -X -V" as root to see what's going on.
>

carl@asus17:~$ sudo hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 08:00:37:03:EF:36 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 42 bdaddr 08:00:37:03:EF:36 type ACL encrypt 0x00
< ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 42 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> HCI Event: Command Complete (0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 42
> HCI Event: Max Slots Change (0x1b) plen 3
handle 42 slots 5
> ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
MTU 1013
> ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 675
< ACL data: handle 42 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
Success
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> ACL data: handle 42 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
< ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
< ACL data: handle 42 flags 0x02 dlen 18
L2CAP(d): cid 0x0041 len 14 [psm 3]
RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
dlci 8 frame_type 0 credit_flow 15 pri 7 ack_timer 0
frame_size 670 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): DM: cr 1 dlci 8 pf 0 ilen 0 fcs 0xf6
< ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0041 len 4 [psm 3]
RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd
< ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0041 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
> ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 42 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 42 reason 0x16
Reason: Connection Terminated by Local Host




>
>> I am not sure I have paired. If I did, does rebooting phone or linux
>> end that 'session' ?
>>
>
> Maybe the channel numbers changed or you need to reactivate the DUN
> service.
>
how did I activate it in the first place?

ck


_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-06-08 07:13:27

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

Hi Carl,

> carl@asus17:~$ sudo rfcomm connect 0 08:00:37:03:EF:36 4
> Can't connect RFCOMM socket: Connection refused

run "hcidump -X -V" as root to see what's going on.

> I am not sure I have paired. If I did, does rebooting phone or linux
> end that 'session' ?

Maybe the channel numbers changed or you need to reactivate the DUN
service.

Regards

Marcel




_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-06-06 07:08:41

by Carl Karsten

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

>
> > carl@asus17:~$ sdptool browse 08:00:37:03:EF:36
> > Browsing 08:00:37:03:EF:36 ...
> > Service Name: WBTEXT
> > Service RecHandle: 0x10000
> > Service Class ID List:
> > "Error: This is UUID-128" (0xdb1d8f12-95f3-402c-9b97-bc504c9a55c4)
> > Protocol Descriptor List:
> > "L2CAP" (0x0100)
> > "RFCOMM" (0x0003)
> > Channel: 1
> > Language Base Attr List:
> > code_ISO639: 0x656e
> > encoding: 0x6a
> > base_offset: 0x100
> > Profile Descriptor List:
> > "Error: This is UUID-128" (0x1cdb1d8f-1295-f340-2c9b-97bc504c9a55)
> > Version: 0x0100
>
> The WBTEXT service is some LG specific one and I actually like to know
> what you can do with it, but this might be used by LG phones and
> software only. However you might try "sdptool records --raw <bdaddr>"
> and see if you find some more records.
>

im guessing nothing new, but I am not qualified, so here you go...

carl@asus17:~$ sdptool records --raw 08:00:37:03:EF:36
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010000
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID128 db1d8f12-95f3-402c-9b97-bc504c9a55c4
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x01
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0006 - LanguageBaseAttributeIDList
Sequence
UINT16 0x656e
UINT16 0x006a
UINT16 0x0100
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID128 1cdb1d8f-1295-f340-2c9b-97bc504c9a55
UINT16 0x0100
Attribute 0x0100
Data 57 42 54 45 58 54 00
Attribute 0x8003
UINT16 0x0001
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010001
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID16 0x1112 - HeadsetAudioGateway
UUID16 0x1203 - GenericAudio
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x02
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID16 0x1108 - Headset
UINT16 0x0100
Attribute 0x0100
Data 4c 47 20 4c 58 33 32 35 20 48 65 61 64 73 65 74 20 41
47 20 53 65 72 76 69 63 65 00
Attribute 0x0302
Bool True
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010002
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID16 0x111f - HandsfreeAudioGateway
UUID16 0x1203 - GenericAudio
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x03
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID16 0x111e - Handsfree
UINT16 0x0100
Attribute 0x0100
Data 4c 47 20 4c 58 33 32 35 20 48 61 6e 64 73 2d 46 72 65
65 20 41 47 20 53 65 72 76 69 63 65 00
Attribute 0x0301
UINT8 0x00
Attribute 0x0311
UINT16 0x0005
carl@asus17:~$


Attachments:
(No filename) (4.32 kB)
(No filename) (12.00 kB)
lg325.raw.txt (2.08 kB)
(No filename) (0.00 B)
(No filename) (164.00 B)
Download all attachments

2006-06-06 07:15:40

by Carl Karsten

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

On 6/3/06, Marcel Holtmann <[email protected]> wrote:
>
> Hi Carl,
>
> > > Service Name: Dialup Networking
> > > Service RecHandle: 0x10003
> > > Service Class ID List:
> > > "Dialup Networking" (0x1103)
> > > Protocol Descriptor List:
> > > "L2CAP" (0x0100)
> > > "RFCOMM" (0x0003)
> > > Channel: 4
> > > Profile Descriptor List:
> > > "Dialup Networking" (0x1103)
> > > Version: 0x0100
> > >
> > > I am not sure what to do next. looks like audio and dun are
> > the only
> > > profiles the phone supports, so DUN seems like a good place
> > to start.
> >
> > with DUN you can use your mobile phone to dialup to the
> > Internet. It
> > makes you phone look like a modem. The audio profiles allow
> > you to
> > connect a headset to your phone.
> >
> >
> > I am assuming I can connect minicom to it and issue AT commands. I
> > couln't find any instructions on how.
>
> call "rfcomm connect 0 <bdaddr> 4" and you will get a /dev/rfcomm0
> terminal device you can use with minicom or whatever program supporting
> Linux TTY devices.
>
>
carl@asus17:~$ sudo rfcomm connect 0 08:00:37:03:EF:36 4
Can't connect RFCOMM socket: Connection refused

I am not sure I have paired. If I did, does rebooting phone or linux end
that 'session' ?


Attachments:
(No filename) (1.39 kB)
(No filename) (2.80 kB)
(No filename) (0.00 B)
(No filename) (164.00 B)
Download all attachments

2006-06-03 21:50:47

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

Hi Carl,

> > Service Name: Dialup Networking
> > Service RecHandle: 0x10003
> > Service Class ID List:
> > "Dialup Networking" (0x1103)
> > Protocol Descriptor List:
> > "L2CAP" (0x0100)
> > "RFCOMM" (0x0003)
> > Channel: 4
> > Profile Descriptor List:
> > "Dialup Networking" (0x1103)
> > Version: 0x0100
> >
> > I am not sure what to do next. looks like audio and dun are
> the only
> > profiles the phone supports, so DUN seems like a good place
> to start.
>
> with DUN you can use your mobile phone to dialup to the
> Internet. It
> makes you phone look like a modem. The audio profiles allow
> you to
> connect a headset to your phone.
>
>
> I am assuming I can connect minicom to it and issue AT commands. I
> couln't find any instructions on how.

call "rfcomm connect 0 <bdaddr> 4" and you will get a /dev/rfcomm0
terminal device you can use with minicom or whatever program supporting
Linux TTY devices.

Regards

Marcel




_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-06-03 20:39:42

by Carl Karsten

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

>
> >
> > carl@asus17 :/etc/bluetooth$ lsusb
> > Bus 003 Device 002: ID 044e:3001 Alps Electric Co., Ltd UGTZ4
> > Bluetooth
> >
> > carl@asus17:~$ hciconfig
> > hci0: Type: USB
> > BD Address: 00:02:C7:97:22:6C ACL MTU: 192:8 SCO MTU: 64:8
> > UP RUNNING PSCAN ISCAN
> > RX bytes:10657 acl:36 sco:0 events:236 errors:0
> > TX bytes:2218 acl:36 sco:0 commands:106 errors:0
> >
> >
> > carl@asus17:~$ sdptool browse 08:00:37:03:EF:36
> > Browsing 08:00:37:03:EF:36 ...


> >
> > Service Name: Dialup Networking
> > Service RecHandle: 0x10003
> > Service Class ID List:
> > "Dialup Networking" (0x1103)
> > Protocol Descriptor List:
> > "L2CAP" (0x0100)
> > "RFCOMM" (0x0003)
> > Channel: 4
> > Profile Descriptor List:
> > "Dialup Networking" (0x1103)
> > Version: 0x0100
> >
> > I am not sure what to do next. looks like audio and dun are the only
> > profiles the phone supports, so DUN seems like a good place to start.
>
> with DUN you can use your mobile phone to dialup to the Internet. It
> makes you phone look like a modem. The audio profiles allow you to
> connect a headset to your phone.



I am assuming I can connect minicom to it and issue AT commands. I couln't
find any instructions on how.

Carl K


Attachments:
(No filename) (1.24 kB)
(No filename) (1.97 kB)
(No filename) (0.00 B)
(No filename) (164.00 B)
Download all attachments

2006-06-03 19:17:43

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] PM325 by LG cell phone

Hi Carl,

> I am trying to figure out what I can do with my new cell phone and .
> Here is what I have so far:
>
> carl@asus17:/etc/bluetooth$ sudo lshw
> product: M6VA
> vendor: ASUSTeK Computer Inc.
>
>
> carl@asus17 :/etc/bluetooth$ lsusb
> Bus 003 Device 002: ID 044e:3001 Alps Electric Co., Ltd UGTZ4
> Bluetooth
>
> carl@asus17:~$ hciconfig
> hci0: Type: USB
> BD Address: 00:02:C7:97:22:6C ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:10657 acl:36 sco:0 events:236 errors:0
> TX bytes:2218 acl:36 sco:0 commands:106 errors:0
>
> carl@asus17:~$ sudo hcitool scan
> Scanning ...
> 08:00:37:03:EF:36 PM325 by LG
>
> carl@asus17:~$ sudo hcitool info 08:00:37:03:EF:36
> Password:
> Requesting information ...
> BD Address: 08:00:37:03:EF:36
> LMP Version: 1.2 (0x2) LMP Subversion: 0xdb0
> Manufacturer: Texas Instruments Inc. (13)
> Features: 0xff 0xff 0x2d 0xf8 0x1b 0x18 0x00 0x80
> <3-slot packets> <5-slot packets> <encryption> <slot
> offset>
> <timing accuracy> <role switch> <hold mode> <sniff
> mode>
> <park state> <RSSI> <channel quality> <SCO link> <HV2
> packets>
> <HV3 packets> <u-law log> <A-law log> <CVSD> <power
> control>
> <transparent SCO> <enhanced iscan> <interlaced iscan>
> <interlaced pscan> <inquiry with RSSI> <extended SCO>
> <EV4 packets> <EV5 packets> <AFH cap. slave>
> <AFH class. slave> <AFH cap. master> <AFH class.
> master>
> <extended features>
>
> carl@asus17:~$ sdptool browse 08:00:37:03:EF:36
> Browsing 08:00:37:03:EF:36 ...
> Service Name: WBTEXT
> Service RecHandle: 0x10000
> Service Class ID List:
> "Error: This is UUID-128" (0xdb1d8f12-95f3-402c-9b97-bc504c9a55c4)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 1
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> Profile Descriptor List:
> "Error: This is UUID-128" (0x1cdb1d8f-1295-f340-2c9b-97bc504c9a55)
> Version: 0x0100
>
> Service Name: LG LX325 Headset AG Service
> Service RecHandle: 0x10001
> Service Class ID List:
> "Headset Audio Gateway" (0x1112)
> "Generic Audio" (0x1203)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 2
> Profile Descriptor List:
> "Headset" (0x1108)
> Version: 0x0100
>
> Service Name: LG LX325 Hands-Free AG Service
> Service RecHandle: 0x10002
> Service Class ID List:
> "Handfree Audio Gateway" (0x111f)
> "Generic Audio" (0x1203)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 3
> Profile Descriptor List:
> "Handsfree" (0x111e)
> Version: 0x0100
>
> Service Name: Dialup Networking
> Service RecHandle: 0x10003
> Service Class ID List:
> "Dialup Networking" (0x1103)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 4
> Profile Descriptor List:
> "Dialup Networking" (0x1103)
> Version: 0x0100
>
> I am not sure what to do next. looks like audio and dun are the only
> profiles the phone supports, so DUN seems like a good place to start.

with DUN you can use your mobile phone to dialup to the Internet. It
makes you phone look like a modem. The audio profiles allow you to
connect a headset to your phone.

The WBTEXT service is some LG specific one and I actually like to know
what you can do with it, but this might be used by LG phones and
software only. However you might try "sdptool records --raw <bdaddr>"
and see if you find some more records.

Regards

Marcel




_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users