Problem in connection

Hi I am trying to make bluetooth L2CAP connection.
At server side, i wrote following code
String surl = "btl2cap://localhost:" + uuid.toString() +";name=" + appName;
request = lserver.acceptAndOpen();where uuid is 102030405060708090A0B0C0D0E0F021
And at client side, i wrote the following code.
UUID[] uuids = new UUID[1];
uuids[0] = new UUID("102030405060708090A0B0C0D0E0F021", false);
int trans = da.searchServices(null,uuids,device,this);But client has not been able to search the services. I have noticed that client never calls servicesDiscovered() function.
Can anyone please tell me where i am doing wrong?

this stuff may help you
http://fivedots.coe.psu.ac.th/~ad/jg/blue1/index.html
http://developers.sun.com/techtopics/mobility/allarticles/#bluetooth

Similar Messages

  • Problem in connection from SAP to XI

    Hi Guys,
    I have problem to connect from SAP to XI.  We have existing SAP R/3 (IS-H) and we newly installed XI. We decided to use ABAP proxy to send data from SAP to XI. When I go to SPROXY system showing ‘No Connection to Integration Builder’. Please kindly advice what configuration we need to in SAP side in order to connect XI.
    It’s Very Urgent. Please advice me.
    Thanks in Advance.
    Regards,
    Anil.

    Anil,
    could you please have a look to SAP Note 689847 - XI 3.0: SPROXY - No connection to the Integration Builder
    Cheers,
    -Sunil

  • Problem with connecting and syncing   (quicktime.qts)

    Hi,
    I have a problem with connecting and syncing my Iphone to itunes.
    iphone alone on PC -> uploading files (fotos) is possible
    itunes starts normaly, if iphone is not conected.
    if i connect iphone after starting itunes, or if i start itunes after connecting iphone i get an itunes-error with message:
    AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
    ModVer: 7.65.17.80 Offset: 00909a47
    i test different things...
    - used another USB-port
    - used another PC
    - used macbook of my wife instead PC
    - deinstalled and new installed of itunes (older and newer versions) folow tutorials of apple
    - use another USB-Cable...
    I'm resigned, Please help me..
    Tom

    AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
    In this context, that can sometimes indicate trouble with a content file on the phone (or Touch).
    Do you have any podcasts stored on the iPhone at the moment? If so, if you delete them from the phone, can you connect to iTunes without the error?

  • HT204053 I have a problem. I bought Pages and Numbers for my iMac and so far everything was OK.  Suddenly i have a problem with connection to iCloud. Dokuments created on iMac in Pages or Numbers are not transfered to iCloud. Not uploaded in iCloud.

    I have a problem.
    I bought Pages and Numbers for my iMac and so far everything was OK.
    Suddenly i have a problem with connection to iCloud.
    Dokuments created on iMac in Pages or Numbers are not transfered to iCloud. Not uploaded to iCloud. There is a sign  (small shape of iCloud), that they are waiting to be uploaded to iCloud.
    I think the iCloud is OK.
    i can see and manage documents in iCloud. i can create them on iPad and  see them and delete them in iCloud.
    But not on iMac.
    i dont know what has happened and I am not abble to find the solution. It was OK till some days ago….

    I have a similar problem! Everything stopped working after upgrading to Mac OS 10.8.4 through the App Store. Help!

  • I have problem to connect iChat. Sometime work and some time not working. When it was not working, there was a message on screen and said the mobile be server was not working. I needed to turn off computer and restarted the computer. Then it might. work

    To whom it may help,
           I use my iChat to do video chat with my granddaughter. I used to do iChat without any problem to connect with her in New York. However, After Mobil Me account closed, I accounted connection problems frequently. Sometime, I had to turn-off my computer then re-started the computer to make it work again. . When I had this problem to connect on iChat (the Mac did not allow me to choose "available"), the poped out window message said that " the iChat lost the Mobil Me account [email protected]" "The server connection was unexplected disconnect". Do you know what is my problem? My Apple ID for iCloud and previous Mobil Me account should be [email protected] I am no longer using [email protected] for Mobil Me e-mail address. My current iCloud e-mail address is [email protected] is no longer of using [email protected] account for my e-mail. If this is the problem, please let me know how to remove the [email protected] account from your system. Thanks!
    David

    SadisticIron wrote:
    i just baught my first iphone and it is a jalbroken
    Buzz! Thank you for playing!
    Discussing jailbroken devices is forbidden here by the Terms of Service.
    You can not get help here.

  • Problem with connecting to a website.  Just purchased a new iMac with Version 10.10.2 Yosemite.  Once in a while I have trouble connecting to a site.  It takes forever.  Is this an issue with Yosemite or my internet service?

    I purchased this iMac in Feb. 2015.  When I try to connect to a web site using Safari or Google Chrome I usually have no problems getting connected to the site.  But maybe once a day I will try to connect and I will see the blue progress bar at the top of the screen showing it is trying to connect and then it just stops.  It may take a couple of minutes before it connects to the site. 
    Would this be a problem with OS X Yosemite Version 10.10.2 ?  Or would this be a problem with my internet company? 
    Thank you,
    Laurie

    Hi lauriefrommi,
    Welcome to the Apple Support Communities!
    i understand that you have some intermittent webpage loading issues while using Safari on your Mac. In this situation, to ensure that Safari is working as it should, I would suggest reading over the attached article and using the information to make sure Safari has no unsupported third-party add-ons. 
    Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues - Apple Support
    Best regards,
    Joe

  • Problem with connecting to free wifi after upgrading to Windows 8.1 from Windows 8

    Hi
    I had problems with connecting to free Wifi after upgrading my PC(Notebook) to Windows 8.1 from Windows 8. As I travel a lot within europe, I am used to being able to connect to Free Wifi(those that dont need a key or password to enter) but soon after downloading
    Windows 8.1 I almost never was able to do this. I'd always get «LIMITED» even though the signal was strong.This was so fustrating,so much so that I reset my PC to clear it of Windows 8.1 and am now back to Windows 8.This is a shame because I was really liking
    using Windows 8.1 and if not for this problem(which is a big one) I'd still be using it. If I download Windows 8.1 again from the Windows store what is the probability that I'll have the same problems?
    Thanks Portozzygirl

    More often than not when a device isn't working it is because the driver has become corrupted. Re-installing a fresh copy should help
    http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly?SignedIn=1
    http://captaindbg.com/how-to-update-drivers-on-windows-7/   (works on win 8 too)
    Wanikiya and Dyami--Team Zigzag

  • My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported"

    My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported", I can't charge or sync at all. I tried plug and unplug many time, still can't detect/charge my iPhone5, but sometime will 'lucky' that can connect to my iTunes and charge battery…
    This message will auto pop up also when I don't have plug anything in my iPhone 5, It is very annoying…
    The lighting cable is original and now i'm using OS 7.0.4 / iTunes is 11.1.3
    What I can do to fix this problem? Thank you.

    I would try using another cable you can likely borrow one to test from somebody
    if it's the same then likely the connector in your iphone have been damaged

  • After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    1. Download the iOS 5.0.1: http://www.tobias-hartmann.net/2011/11/download-ios-5-0-1-veroffentlicht-direkte -downloadlinks/
    2. open itunes,Click in iTunes while holding down the Shift key (on Windows) or Alt key (Mac) to restore and firmware

  • I bought a new MacBook Pro (Mac Os 10.8.4) when conecting my mobile broadband dongle (Huawei E122) the computer does not read it at all. I do not have problems when connecting it to my former computer (PC) and a Mac from last year. Any suggestions?

    I bought a new MacBook Pro (Mac Os 10.8.4) when conecting my mobile broadband dongle (Huawei E122) the computer does not read it at all. I do not have problems when connecting it to my former computer (PC) and a Mac from last year. Any suggestions?

    Thanks,
    Yes, I did that. They have uppgrades for the dongles, but just untill Mac Os 10.7. Their solution is to buy a new modem from them or getting one for free if I sign a contract for 24 months! So, i think from that side not very helpful.
    It is just that I do not want to buy a new modem, when it works in quite recent computers and after having spent money in the new Mac.
    But thank you for your reply!

  • Problem on connect to two servers with SSL

    Hey all!
    I've got a problem with connecting to two different servers via SSL in one Application. Every Connection works fine on its one via SSL.
    But if i try to initialize a new connection it fails every time.
    My thought is that the problem is the DriverManager. I'm not quite sure how this DriverManager works, but what i know is that it's a single-ton Class and with that maybe stores some parameters from the first connection which didn't get reloaded when trying to make a new connection.
    Here's the way i create the connection ..
        String host="best.host.ever";
        int port="3306";
        String MYSQL_URL="jdbc:mysql://"+this.host+":"+this.port+"/";
        DBName="db_foobar";
        sqlProps = new Properties();
        sqlProps.setProperty("user","foo");
        sqlProps.setProperty("password","bar");
        sqlProps.setProperty("zeroDateTimeBehavior","convertToNull");
        sqlProps.setProperty("useSSL","true");
        System.setProperty("javax.net.ssl.trustStore", trustStore);
        System.setProperty("javax.net.ssl.trustStorePassword", "trustpass");
        System.setProperty("javax.net.ssl.keyStore", keyStore);
        System.setProperty("javax.net.ssl.keyStorePassword", "keypass");
        System.setProperty("javax.net.debug","ssl");
        printDebug("[Konstruktor] : Connecting to "+MYSQL_URL);
        try {
             Class.forName("org.gjt.mm.mysql.Driver").newInstance();
             this.conn = DriverManager.getConnection(MYSQL_URL+DBName,sqlProps);     
            connectionCount++;
            initOK=true;
        //Catch stuff following...Is it possible that the System.properties i'm setting are only readed one time by the DriverManager (if it's readed by the DriverManager at all)?
    So when i initialize a new Object with different System.properties they may not get used again.
    Hopefully somebody has an explanation or a solution for this.
    Besides: If i launch the programm twice it's no problem to have to differen SSL connections at the same time.
    Thanks for reading and in advance for trying to help!

    Yep, it's the standard authentication failure message. (The error code is 1045).
    The Exception which is thrown is a SQLException with the message:
    Access denied for user 'username'@'p54BB743D.dip.t-dialin.net' (using password: YES)
    errorcode: 1045
    The code i'm using runs well with one connection and even with multiple connections as long as not more than one connection are using SSL.
    To explain:
    The user has the possibility to run the application with a user defined data-source (the connection). You can add a new connection and the application will then add a tabbed pane with the same gui but uses the other data source then.
    This runs fine with multiple connections (I managed to work on 3 differen intranet servers and 2 different servers online, one of them using SSL)
    So all together 5 Connections. Now i wanted to add a 6th server with SSL two and thats the point where it crashes. (Both SSL Servers run perfect on their own with my application - only both together doesnt work).
    About that: Class.forName, yes i'm using it every time when i make a new Connection. This is wrong? Could you explain why?
    Anyway thanks for your answers so far!
    Message was edited by:
    Hotkey_ger

  • Sharing problems - internet connection

    Hi, I can't share my script. It tells me that I have some problems with my internet connection, but it's impossible.
    Help me
    Thanks
    Fabio

    I'd like to share both. By for now I need to share just a script, not the whole project. I tried to share both, but it's the same, same problem.
    My Adobe ID is [email protected]
    Thanks
    Fabio
    Date: Thu, 26 Jan 2012 20:39:28 -0700
    From: [email protected]
    To: [email protected]
    Subject: sharing problems - internet connection
        Re: sharing problems - internet connection
        created by Ratnesh(Adobe Story Team) in Adobe Story - View the full discussion
    Hi, Are you attempting to share a document or a project ?Please send me your AdobeId (story username) so that I can take a deeper look. Thanksratnesh
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4168072#4168072
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4168072#4168072. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Story by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I had this problem: "cannot connect to itunes" while trying to download an app so i went to the settings and i kinda messed it up that now i have not apps or itunes icon on my ipad! :( can anyone help me?

    I had this problem: "cannot connect to itunes" while trying to download an app so i went to the settings and i kinda messed it up that now i have not apps or itunes icon on my ipad! can anyone help me?

    First, try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Problems importing connections from a SAN directory

    Is anybody having a problem importing connections from a directory that's on a SAN?
    My network is setup so that the Application Data directory is out on a SAN and when SQL Developer opens up the file dialog, current directory is listed as C:\ and entry in the file name field is file://<server>/<path to my stuff>/Application Data/SQL Developer/. This looks fine but when I click on the "Open" button to get the directory listing, an error dialog pops up with the following message:
    The directory C:\file:\<server>\<path to my stuff>\Application Data\SQL Developer is not accessible. Please select a different directory.
    When I change the current directory to the drive that maps the SAN location, I get the same message only with C: replaced with another drive letter.
    If I had to guess, the dialog is not processing the file:// protocol indicator properly before it attempts to get the directory listing. Does anyone have a work around?

    Other users also had problems with network shares, so you're right that might very well be the cause of your problems.
    As workaround, try mapping the settings folder to a local drive. Add this to \sqldeveloper\bin\sqldeveloper.conf:
    AddVMOption -Dide.user.dir=C:\sqldeveloperHope that helps,
    K.

  • I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer.

    I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer. Does anyone have a similar problem???

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Problem in connecting CRM to SAP R/3  plz help

    Hi friends,
      I am ravi. I am facing problem making connection between CRM to SAP R/3.
    In my pc i installed ECC 5.0 version and CRM 4.0 in Windows 2003 OS.
    He installed CRM server in Virtual Mechine of OS, and ECC 5.0 in normal mode.
    I am starting two servers simultaniously while starting VM and i am working with both
    but i am not able to maintain connection I tried but failed. he installed login pad in
    normal OS. What  have to maintain to make connection between these.
    Please  help me.
    Thank u,
    with regards,
    Ravi

    Hi,
       I used the following Steps to do the process..
    1. Created a logical system in R/3 and CRm Server.
    2. Created a RFC destination in both server.
    3. Assigned an RFC user.
       What is the next step I need to proceed. I struk up with the following steps.
    1. Transaction EWFC0( Configure Action Box)..Created the transaction group (J1f), Created the transaction J1FM.J1F is the namespace for my ADD-ON in R/3.Selected BOR.Given logical system.It asks for the object type and method.
    My doubt is,
    What object type to be selected or Do we need to create the object type for customer specific transaction...if so where?
    After assignening what are the steps I have to do.
    Please help me.
    Thanks
    Mani

Maybe you are looking for

  • Measure Values are not shown in the pivot tables

    Measures without aggregation (in rpd) are not shown in pivot table. Im trying to add multiple columns in the fact table as measures,one which is summable had has the SUM function and three which are not summable. The initial report will be as follows

  • Photos disappeared from Library and Rebuilding with iPhoto Libr. Mgr worse

    1. For several days, when I attempted to transfer photos from Iphoto to Ofoto, the programs would freeze and I couldn't do the transfer. 2. When that problem disappeared, I created a few small albums, uploaded them on Ofoto, and sent them out via the

  • Cannot get cloud to work on my ipad

    I've followed all the directions and I get nothing. It says everything is on, but it's not listening to itself. Now that my school has a new wifi that insists I go online for my .mac account, I cannot check email on my ipad. It's making me crazy. Any

  • IPhoto Library Manager info

    So, I've been getting the dreaded "you've got waaaaaay too much stuff on your computer" messages so I have been reading up on Time Machine and then wanted to know what to do with my photos. As soon as I back everything up my iPhoto decides to "not re

  • Un-ordered Lists

    ok - probably a dumb question to you, but I have yet to figure out how to do this with DW8. Say I typing in Design View and I type Item 1 Item 2 Item 3 in Code View these are each distinct paragraphs surrounded by <p> tags. Is there a quick and easy