Return-Path: Message-ID: <57c68ddc0705140948v39b44ecfx73da523c9006d66e@mail.gmail.com> Date: Mon, 14 May 2007 22:18:45 +0530 From: "siddhant tewari" To: "BlueZ users" MIME-Version: 1.0 Subject: [Bluez-users] error in calling sdp_connect Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1457805050==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============1457805050== Content-Type: multipart/alternative; boundary="----=_Part_175601_13386494.1179161325917" ------=_Part_175601_13386494.1179161325917 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, While executing the code sess = sdp_connect(&interface, bdaddr, SDP_RETRY_IF_BUSY); if (!sess) { //session cannot be established //need to quit //if(globalData.debug) msg_print("Session Cannot be established with BT ADDR ....\nquitting .....\n"); return -1; //break; //sleep(2); } i am getting error message "Seesion Cannot be established with BT ADDR" too often ,although the device is scanned properly and is well within the dongle reach.What can be the possible reasons for this. regards siddhant ------=_Part_175601_13386494.1179161325917 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
   While executing the code

sess = sdp_connect(&interface, bdaddr, SDP_RETRY_IF_BUSY);
 if (!sess)
        {
                //session cannot be established
                //need to quit
                //if(globalData.debug)
                msg_print("Session Cannot be established with BT ADDR ....\nquitting .....\n");
                return -1;
                //break;
                //sleep(2);
        }
i am getting error message "Seesion Cannot be established with BT ADDR" too often ,although the device is scanned properly and is well within the dongle reach.What can be the possible reasons for this.

regards
siddhant
 
------=_Part_175601_13386494.1179161325917-- --===============1457805050== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1457805050== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============1457805050==--