Ticket #985 (assigned task)

Opened 3 years ago

Last modified 2 years ago

docu: replace sdptool browse with sdptool search

Reported by: chi70 Owned by: ChrisH
Priority: normal Milestone: OpenSync 0.40
Component: OpenSync: API Documentation Version: 0.38
Severity: normal Keywords:
Cc:

Description

see  http://opensync.org/search?q="sdptool+browse"&noquickjump=1&wiki=on and move from

sdptool browse $MAC to sdptool search --bdaddr=$MAC SYNCML

Change History

comment:1 Changed 3 years ago by chi70

  • Owner changed from tuju to chi70

comment:2 Changed 3 years ago by felixmoeller

yes this looks cleaner and works at least for me.

macbook:/home/fm # sdptool search --bdaddr=00:19:63:**:**:** SYNCML
Searching for SYNCML on 00:19:63:**:**:** ...
Service Name: OBEX SyncML Client
Service RecHandle: 0x10001
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
  "OBEX" (0x0008)

I do not know why it was not used initially.

comment:3 Changed 2 years ago by ChrisH

  • Owner changed from chi70 to ChrisH
  • Status changed from new to assigned

comment:4 Changed 2 years ago by ChrisH

find the BT MAC address using hcitool scan

 hcitool scan
 Scanning ...
        00:21:XX:YY:ZZ:aa       Nokia E71

search for SyncML Channel:

sdptool search --bdaddr 00:21:XX:YY:ZZ:aa SYNCML
Searching for SYNCML on 00:21:XX:YY:ZZ:aa ...
Service Name: SyncMLClient
Service RecHandle: 0x10105
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x00000002-0000-1000-8000-0002ee000002)
    Version: 0x0100

Here we have Channel 10

comment:5 follow-up: ↓ 6 Changed 2 years ago by dgollub

Chris, this stick is still assigned to you. Is it still valid?

comment:6 in reply to: ↑ 5 Changed 2 years ago by ChrisH

Replying to dgollub:

Chris, this stick is still assigned to you. Is it still valid?

Yes, it is. initial stuff done for http://www.opensync.org/wiki/trunk/syncmlConfig

Note: See TracTickets for help on using tickets.