adding PDU and debbugging sdp daemon

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

 



Dear Sir,

I'm modifying bluez-libs and bluez-utils (i'm using 3.9 version) to introduce new pdu relating to registration, request and response of new services.
For example  i'm adding new pdu types, defining them into  bluez-libs-3.9/include/sdp.h

# define SDP_NEW_REGISTER_REQ 0x85

But during debugging I returned errno = EINVAL (set by sdp_device_record_register_binary written in sdp.c ) and the sdp daemon log file  gets the following result:

Jun 25 21:26:31 pinta-desktop hcid[4967]: Unknown PDU ID : 0x85 received
(i thintk it's a message sent from function process_request written in bluez_utils_3.9/sdpd/request.c )

How can i accept new types of pdu declared?
Is there a way to debug sdp daemon alternative to log file, for example using gdb o using particular options in ./configure command? I tried using --enable-debug option for configure and launching gdb, but they don't work.


Thanks for your support and sorry for my english.

Best Regards,
Carlo M.


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-devel

[Index of Archives]     [Linux Bluetooth Devel]     [Linux USB Devel]     [Network Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux