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

[bluetooth-dev] SDP problem - no services found.



Hi all,

I have recently started to look at the sdp part of the OpenBT stack. I am trying to do a sdp search from a PCMCIA card to an etrax 100LX with the openBT. I have implemented a security server and the sdp connection seems to be created successfully. The problem is that I doesn't find any services at the openBT stack. Do I need to initialise the services I offer or is they just read from the sdp.xml file?

I think the answer to client look strange.

Thanks,
Peter

Here is a log of what is happening:

BT SYS: l2cap channel (76,79) [SDP] connected
    L2CAP l2ca_config_cfm: remote cid : 79 result 0
    L2CAP get_upper: Try to retrieve psm 0x1
    L2CAP get_upper: Actually got psm:0x1
          SDP sdp_config_cfm, remote cid : 79
BT SYS: sdp_config_cfm, we are the server
    L2CAP get_lcon: lcid 76 con_list.count = 2
    L2CAP get_upper: Try to retrieve psm 0x1
    L2CAP get_upper: Actually got psm:0x1
          SDP sdp_receive_data

sdp_receive_data (13):
0x02 0x00 0x00 0x00 0x08 0x35 0x03 0x19 0x11 0x02 0x00 0x14 0x00
wake_up process 0 (swapper) awakening
wake_up process 0 (swapper) woke up
sdp_database_read Returning 19 bytes
sdp_database_write Someone wrote 8 bytes to sdp proc-file
sdp_database_write Someone wrote 7 bytes to sdp proc-file
          SDP sdp_database_write preparing to send 7 bytes data to sdp_con[0]

Data to be sent to client: (7):
0x00 0x00 0x00 0x00 0x00 0x00 0x38
BT DATA <--|X|     16
sdp_database_read Someone is trying to read 256 bytes from sdp proc-file
sdp_database_read No bytes available, going to sleep
BT DATA -->|X|     25
    L2CAP process_request: Got request : 0x6 id:6
    L2CAP process_request: disconnection request id 6
    L2CAP get_lcon: lcid 76 con_list.count = 2
show_con: disc req
 (76:79) [OPEN] [SDP] r_mtu[256] C[no] link_up[yes]
    L2CAP Current state of (76:79) is W4_L2CA_DISCONNECT_RSP
    L2CAP l2ca_disconnect_ind
    L2CAP get_upper: Try to retrieve psm 0x1
    L2CAP get_upper: Actually got psm:0x1
          SDP sdp_disconnect_ind, remote cid : 79