Return-Path: Subject: Re: [Bluez-devel] L2CAP and SDP interface specification? From: Marcel Holtmann To: Stefan Mischke Cc: BlueZ Mailing List In-Reply-To: <407174BC.8020503@uni-paderborn.de> References: <407174BC.8020503@uni-paderborn.de> Content-Type: text/plain Message-Id: <1081179607.2843.9.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 05 Apr 2004 17:40:07 +0200 Hi Stefan, > where can I find the specification of the BlueZ L2CAP and SDP API? I > hope there ist any. the L2CAP API is a socket interface and you will find the API in the bluetooth/l2cap.h header file. For an usage example look at l2test. The SDP API can be found in bluetooth/sdp.h and bluetooth/sdp_lib.h and for example code look at the dund and pand applications. > And how can I register my application for getting HCI events, so that I > don't have to poll? hcid? API/specs? The HCI API is also a socket interface. If you want to have some kind of event based approach you have to use and IO event main loop like it is used in the Glib. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel