How do you act upon a slave connection in Bluetooth??

I have a serial port bluetooth adapter which i tried to find using my bluetooth device/service discovery Midlet. I could find the device but no services, but it's suppose to broadcast a SPP service!! I know my midlet is OK because it can find SPP on other PC's and phones.
So what i've now done is USE the serial port adapter to CONNECT TO MY phone as a master and my phone is slave. The question is what kind of code would i need to acknowledge this connection and receive data from the serial port adapter?? I can easily do it phone -> other device but i've never been pre-connected and not sure what to do..............

Hi,
Select characteristics
1.Total Value,
2.Department.
Link department to purchasing group."N" number departments link to one purachsing group but not vice versa.
In PFCG,,,,,,,,give authorisation of creation of purcahsing document for purchasing group for user/users(based on position).
Regards,
Biju K

Similar Messages

  • How do you get iPhone 5 to connect to iMac through bluetooth?

    How do you get iPhone 5 to connect to iMac through bluetooth?
    I know the basic steps, but all I get is pairing unsuccessful. I'm using an older bluetooth, would that make a difference? I got connected once with a Motorola bluetooth, but can't reconnect. TIA!

    Try the Bluetooth Troubleshooting steps here:
    http://support.apple.com/kb/TS2756
    Note that you need to have Personal Hotspot set up with your carrier and on your iPhone before you can connect the computer.
    Regards.

  • How do you detect url redirects when connecting to a URL

    how do you detect url redirects when connecting to a URL?
    Thanks in advance
    stev

    Hai
    (i) If it a jsp we can get the URL by request object.
    Like
    String url = request.getHeader("Referer");
    u can do it in Servlet aslo by request object variable.
    If this explanation is not ok, Explain ur doubt in more briefed Manner

  • How do you make one computer slave to another?

    My cd-rom doesnt work, and I want to install some programs using my friend´s cd-rom.
    How do you set the computers up so that his computer can be the slave (or mine???) and that the software is being installed onto my disk?
    Is there a shortcut when starting up the machine?
    Thanks,

    See if the information in this document is useful to you:
    http://docs.info.apple.com/article.html?artnum=58583
    Tuttle

  • How do you keep iPhone charged while connected to carplay

    How do you keep iPhone charged in the car while it is connected to the cable for CARPLAY?

    The next time you connect your iPad to your laptop, click on your iPad under Devices and then click on the Apps tab on top. Once it opens and lists all your apps in iTunes on the left (both iPad and iPhone ), simply uncheck the boxes next to the iPhone apps you wish to leave off from future syncs. They will still be in iTunes and available for your iPhone, but won't be synced to your iPad. Click on Apply.

  • How do you keep the same URL connection connected continuously?

    I am trying to extract information from a web page, but it puts a cust_id in the middle of the URL. It generates the cust_id randomly everytime you use the site. I connect to the initial URL to find the cust_id, I substring that to the new URL and then make a new connection to extract the information, but the web page gives me an error saying that it doesn't recognise the cust_id. As if it was a new connection with the wrong cust_id.
    How can I keep the first connection open and with the same cust_id information and then jump to another web page but using the initial connection. Using IE6 I can just cut and paste the second URL and get to the page, but with my java application it doesn?t work. Please have a look at my code and let me know if I am doing anything wrong.
    URL inputURL;
         String inputLine;
         URLConnection connection;
         String page = "";
         int x;
         String cust_id1 = "";
         String cust_id2 = "";
         String site;
         File outputFile = new File("web.txt");
         FileWriter out = new FileWriter(outputFile);
       try
         inputURL = new URL("http://www-ets.woolworths.com.au/ets/owa/login?topage=search");
         connection = inputURL.openConnection();
         BufferedReader inputStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         while ((inputLine = inputStream.readLine()) != null)
              page = page + inputLine;
              System.out.println(inputLine);
              x = inputLine.indexOf("cust_id=");
              if (x != -1)
              cust_id1 = inputLine.substring(x, x + 14);
              PrintWriter file = new PrintWriter(new FileOutputStream("web.txt"));
              out.write(page);
              out.close();
              System.out.println("1st time successful");
              System.out.println(cust_id1);
              //inputStream.close();
              //extracted the customer id, now able to search for the product
              //test for milk
         site = "http://www-ets.woolworths.com.au/ets/owa/items?search_pattern=milk&";
         site = site + cust_id1;
         site = site + "&imode=search&search_option=";
         System.out.println(site);     
         inputURL = new URL(site);
         BufferedReader inagain = new BufferedReader(new InputStreamReader(inputURL.openStream()));
         //tried the connection way
         //connection = inputURL.openConnection();          
         //BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         while ((inputLine = inagain.readLine()) != null)
              //System.out.println(inputLine);          
              x = inputLine.indexOf("cust_id=");
              if (x != -1)
              cust_id2 = inputLine.substring(x, x + 14);
              System.out.println(cust_id1);
              System.out.println(cust_id2);
              System.out.println("2nd time completed");
              inputStream.close();
       catch(ArrayIndexOutOfBoundsException obe)
                System.out.println("Usage: FetchURL url");
       catch(IOException ioe)
                System.out.println("IO Exception");

    Please have a quick look at my code and see if I am doing anything wrong. I havent been able to set the correct cookies and the output html page comes up with an error saying that it could not retrieve my request. This time there is no mention of invalid cust_id.
              try
                   URL inputURL = new URL("http://www-ets.woolworths.com.au/ets/owa/login?topage=search");
                   connection = inputURL.openConnection();
                   System.out.println("filename = " + inputURL.getFile());
                   BufferedReader inputStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                   while ((inputLine = inputStream.readLine()) != null)
                        //System.out.println(inputLine);
                        page = page + inputLine;     
                        x = inputLine.indexOf("cust_id=");
                        if (x != -1)
                             cust_id = inputLine.substring(x + 8, x + 14);
                   out.write(page);
                   out.close();
                   System.out.println("extracted cust_id: " + cust_id);
                   for (int i = 1; i <= 30; ++i)
                        System.out.println("    Header " + i + ":  " + connection.getHeaderFieldKey(i) + ": " + connection.getHeaderField(i));
                        header = header + connection.getHeaderFieldKey(i);
                        header = header + ": ";
                        header = header + connection.getHeaderField(i);
                   outcookie.write(header);
                   outcookie.close();           
                   inputStream.close();          
                   //extracted the customer id, now able to search for the product
                   //test for milk
                   String url2 = "http://www-ets.woolworths.com.au/ets/owa/items";
                   //String url2 = "http://www-ets.woolworths.com.au/ets/owa/login?topage=search";
                   inputURL = new URL(url2);     
                   connection = inputURL.openConnection();     
                   connection.setDoOutput(true);
                   //connection.setUseCaches(false);
                   System.out.println("filename = " + inputURL.getFile());
                   String date = "; expires=Mon, 28 Jan 2002 02:53:17GMT; path/;";     
                   String date1 = "expires=Sun, 31 Dec 1989 14:00:00 GMT; path/;";
                   connection.setRequestProperty("cookie", "qwc=" + cust_id + date);
                   connection.setRequestProperty("cookie", "cust_id=" + cust_id + "; path=/;");
                   connection.setRequestProperty("cookie", "cd=2%40142%40%40%40%40N%40; path=/;");
                   connection.setRequestProperty("cookie", "state=NSW; path=/;");
                   connection.setRequestProperty("cookie", "dsd=1; path=/;");
                   connection.setRequestProperty("cookie", "sb1=0%2A%2D645746%2D0%2A; path=/;");
                   connection.setRequestProperty("cookie", "sb2=0; " + date1);
                   connection.setRequestProperty("cookie", "sb3=0; " + date1);
                   connection.setRequestProperty("cookie", "sb4=0; " + date1);
                   connection.setRequestProperty("cookie", "sb5=0; " + date1);
                   connection.setRequestProperty("cookie", "sb6=0; " + date1);
                   connection.setRequestProperty("cookie", "sb7=0; " + date1);
                   connection.setRequestProperty("cookie", "sb8=0; " + date1);
                   connection.setRequestProperty("cookie", "sb9=0; " + date1);
                   connection.setRequestProperty("cookie", "sb10=0; " + date1);
                   connection.setRequestProperty("cookie", "sbn=; path=/");
                   connection.setRequestProperty("cookie", "search=milk; " + date1);               
                   //connection.setRequestProperty("Content-type", "application/octet-stram");
                   //connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
                   //String parms = "?search_pattern=" + URLEncoder.encode("milk") + "&cust_id=";
                   //parms = parms + URLEncoder.encode(cust_id);
                   //parms = parms + "&imode=" + URLEncoder.encode("search") + "&search_option=";
                   //System.out.println("parms : " + parms);
                   String parms = "?search_pattern=milk&cust_id=";
                   parms = parms + cust_id;
                   parms = parms + "&imode=search&search_option=";
                   System.out.println("parms : " + parms);
                   PrintWriter outStream = new PrintWriter(connection.getOutputStream());
                   outStream.println("parms");
                   outStream.close();               
                   BufferedReader inputStream1 = new BufferedReader(new InputStreamReader(connection.getInputStream()));     
                   //BufferedReader inagain = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                   while ((inputLine = inputStream1.readLine()) != null)
                        //System.out.println(inputLine);
                        page2 = page2 + inputLine;
                        x = inputLine.indexOf("cust_id=");
                        if (x != -1)
                             cust_id2 = inputLine.substring(x + 8, x + 14);
                   out2.write(page2);
                   out2.close();
                   System.out.println("2nd attempt cust_id" + cust_id2);
                   for (int i = 1; i <= 30; ++i)
                        System.out.println("    Header " + i + ":  " + connection.getHeaderFieldKey(i) + ": " + connection.getHeaderField(i));
                        header2 = header2 + connection.getHeaderFieldKey(i);
                        header2 = header2 + ": ";
                        header2 = header2 + connection.getHeaderField(i);
                   outcookie2.write(header2);
                   outcookie2.close();      
                   inputStream.close();
              }The original web page to get the cookie is
    http://www-ets.woolworths.com.au/ets/owa/login?topage=search
    Enter a search product eg milk and that is the second page I am trying to extract.
    You will notice in the middle of the url is cust_id.
    Am I going about this 2 pages completely wrong?

  • How do you break the cycles in "connect by nocycles" query.

    I looked at the documentation of the oracle hierarchical queries to see if there is a deterministic way of breaking the cycles.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/queries003.htm
    I understand that plain connect by query fails if there are cycles in the data, this can be over come by using the nocycles clause. But how does oracle handle the cycles if it finds one, is there a deterministic way of breaking the cycles, or is random? If it is deterministic, Is there a sophisticated algorithm you use to break the cycles?
    My sample query is as shown below:
    SELECT ename "Employee", CONNECT_BY_ISCYCLE "Cycle",
    LEVEL, SYS_CONNECT_BY_PATH(ename, ’/’) "Path"
    FROM scott.emp
    WHERE level <= 3 AND deptno = 10
    START WITH ename = ’KING’
    CONNECT BY NOCYCLE PRIOR empno = mgr AND LEVEL <= 4;
    Thanks,
    Paul

    Hi, Paul,
    849708 wrote:
    Thanks for the very detailed explanation Frank.
    It is interesting that the cycles are not broken at the time of the creation of the hierarchies, but at the time of the traversal.The relationship is only defined in the CONNECT BY clause of a query. When you create and populate tables, you don't indicate in any way that certain columns will be used in a CONNECT BY clause. You're free to use any columns you want when you write the query. You can use different columns and different relationships in different queries.
    This leads me to one more question:
    Lets say there are multiple routes from a given ancestor node to a decedent node, what would be the value of PATH pseudo column. Does it consider the shortest path or the longest path? If the two routes are of the same length? which would be used?The same node can appear more than once as a descendant of the same ancestor. All paths that satisfy the CONNECT BY clause (and the WHERE clause, if there is one) will be included. For example, the following query shows how Prince William is related to one of his ancestors, Anna Sophie (1700-1780):
    SELECT     LEVEL
    ,     SYS_CONNECT_BY_PATH (name, ' \ ')     AS path
    FROM     royal
    WHERE     name     = 'Anna Sophie of Schwarzburg-Rudolstadt'
    START WITH     name     = 'William of Wales'
    CONNECT BY     id     IN (PRIOR mother_id, PRIOR father_id)
    ;The genealogy table I used showed 8 different line of descent, ranging from 10 to 12 generations:
    LEVEL PATH
       11  \ William of Wales \ Charles, Prince of Wales \ Elizabeth II \ George
           VI \ George V \ Edward VII \ Victoria \ Victoria of Saxe-Coburg-Saalf
          eld \ Franz Frederick of Saxe-Coburg-Saalfeld \ Ernst Frederick of Sax
          e-Coburg-Saalfeld \ Anna Sophie of Schwarzburg-Rudolstadt
       12  \ William of Wales \ Charles, Prince of Wales \ Elizabeth II \ George
           VI \ George V \ Edward VII \ Albert of Saxe-Coburg and Gotha \ Louise
           of Saxe-Gotha-Altenburg \ Louise Charlotte of Mecklenburg \ Frederick
           Francis I of Mecklenburg \ Charlotte Sophie of Saxe-Coburg-Saalfeld \
           Anna Sophie of Schwarzburg-Rudolstadt
       11  \ William of Wales \ Charles, Prince of Wales \ Elizabeth II \ George
           VI \ George V \ Edward VII \ Albert of Saxe-Coburg and Gotha \ Ernest
           I, Duke of Saxe-Coburg and Gotha \ Franz Frederick of Saxe-Coburg-Saa
          lfeld \ Ernst Frederick of Saxe-Coburg-Saalfeld \ Anna Sophie of Schwa
          rzburg-Rudolstadt
       11  \ William of Wales \ Charles, Prince of Wales \ Elizabeth II \ George
           VI \ George V \ Alexandra of Denmark \ Louise of Hesse-Kassel \ Louis
          e Charlotte of Denmark \ Sophia Frederica of Mechlenburg-Schw. \ Charl
          otte Sophie of Saxe-Coburg-Saalfeld \ Anna Sophie of Schwarzburg-Rudol
          stadt
       11  \ William of Wales \ Charles, Prince of Wales \ Philip, Duke of Edinb
          urgh \ Alice of Battenberg \ Montbatten, Victoria \ Alice, Duchess of
          Hesse \ Victoria \ Victoria of Saxe-Coburg-Saalfeld \ Franz Frederick
          of Saxe-Coburg-Saalfeld \ Ernst Frederick of Saxe-Coburg-Saalfeld \ An
          na Sophie of Schwarzburg-Rudolstadt
       12  \ William of Wales \ Charles, Prince of Wales \ Philip, Duke of Edinb
          urgh \ Alice of Battenberg \ Montbatten, Victoria \ Alice, Duchess of
          Hesse \ Albert of Saxe-Coburg and Gotha \ Louise of Saxe-Gotha-Altenbu
          rg \ Louise Charlotte of Mecklenburg \ Frederick Francis I of Mecklenb
          urg \ Charlotte Sophie of Saxe-Coburg-Saalfeld \ Anna Sophie of Schwar
          zburg-Rudolstadt
       11  \ William of Wales \ Charles, Prince of Wales \ Philip, Duke of Edinb
          urgh \ Alice of Battenberg \ Montbatten, Victoria \ Alice, Duchess of
          Hesse \ Albert of Saxe-Coburg and Gotha \ Ernest I, Duke of Saxe-Cobur
          g and Gotha \ Franz Frederick of Saxe-Coburg-Saalfeld \ Ernst Frederic
          k of Saxe-Coburg-Saalfeld \ Anna Sophie of Schwarzburg-Rudolstadt
       10  \ William of Wales \ Charles, Prince of Wales \ Philip, Duke of Edinb
          urgh \ Andrew of Greece and Denmark \ George I of Greece \ Louise of H
          esse-Kassel \ Louise Charlotte of Denmark \ Sophia Frederica of Mechle
          nburg-Schw. \ Charlotte Sophie of Saxe-Coburg-Saalfeld \ Anna Sophie o
          f Schwarzburg-RudolstadtBy the way, SYS_CONNECT_BY_PATH is a function, not a pseudo-column. Pseudo-columns don't take arguments.
    I could have tested all this myself, but currently I do not have access to the database. Is there a publicly available database (through ssh) which I can use in the mean time :)You can download Oracle Express Edition.
    http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
    It's free if all you're using it for is learning.
    You can also get a free workspace in an Oracle-hosted database at apex.oracle.com.
    Edited by: Frank Kulash on Apr 4, 2011 6:51 PM

  • How do you set up a vpn connection using WVR200

    Hey guys,
    I'm new to this forum. I have the WVR200 vpn router at home and I want to be able to vpn to it from work so I can use radmin to remote control my laptop. I have the latest firmware and quickvpn software. I've messed around with it for a couple of days now and I'm surpriesed that it's this difficult to set up. I also havn't found very many documents regarding this router and the vpn setup process. Please help if you can.

    Thanks for the reply! I have already read this document but maybe someone can help clear my understanding. I have a dsl wireless router/modem which is connected to my WVR200. The IP of the WVR200 is 192.168.1.1 and the IP of the DSL router/modem is 192.168.2.1. When I enter in the WAN IP(Server IP) into quick VPN I am getting confused as to which IP I should enter. I would think that either would work becasue they are connected to each other.
    Also, do you have to set up a tunnel on the wvr200 web interface in order for it to work? In the instructions above it just says to create a vpn account and then click the vpn summary tab and it will show the tunnel information, but how can it, if you never even created one and it doesn't give the insructions too?

  • How do you configure which YouTube iPhone connects to?

    How/where is the configuration for the YouTube application on the iPhone 3G?
    How does it know which country you want it to connect to?
    YouTube Australia or YouTube USA?
    My iPhone with no sim card connects to YouTube USA and iTunes Australia. The one WITH the Australian Sim Card connects to everything Australian.
    I am in Australia and want my Phone with no sim to connect to YouTube AU. How do I force it to do that?
    -Frankie

    Frankiedude,
    I'm sorry to tell you but there is no configuration setting for YouTube. It will use the information on the Sim card to determine where it should be.

  • How can you execute a form without connecting to database?

    Hello,
    Is it possible to run a form without connecting to database? If Yes, how?
    Thanking you very much
    Thobula Rakesh

    Hello Form Friends,
    After R&D I found that, it is very much possible to execute a form without connecting to Database.
    Example:
    Step 1: Create a new form 'Form1'
    Step 2: Create a block 'Block1' and add button'But1'. Write a exit_form built-in on when-button-pressed trigger on 'But1' and compile it.
    Step 3: Create a on-logon trigger at form level and just give a message('on-logon');
    Step 4: Execute the form.
    The form executes perfectly without asking any connection to the database. On-Logon trigger initiates a logon process to non-oracle data source.
    Regards
    Thobula Rakesh
    Gati Intellect Systems Ltd

  • How do you turn off automatic wireless connection

    I have comcast on my desktop PC, but my computer searches for and connects to the wireless before it will conect to the lan.  Is there anyway to stop this???  
    Also, the bar that pops up when I adjust volume is a big white box.  there is no longer the graphics showing.  Any suggestions on how to get this working properly again??

    Zookey65, welcome to the forum.
    When requesting help, you should always include the make/model of the computer and/or monitor. This information is necessary for us to review the specifications of them.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • How can you get your iphone to connect to the computer

    i wanna know how do i connect ma iphone to the computer

    Windows PC or Mac?
    Which OS and iTunes version is your computer running?
    Your iPhone is not recognized by iTunes when connected to your computer?

  • How do you get these ipods to connect to your computer

    someone help me to know how to connect the ipod to your computer?

    iPod touch User Guide (For iOS 4.3 Software)

  • Dialup configured AP Extreme--How do you configure a PC to connect/dialup??

    I have an Airport Extreme Basestation that is configured to connect via the dialup modem within the basestation. I have a MacBook that has XP installed via BootCamp. The MacOS side connects easily (I can tell it to connect via the menu bar icon for the airport). HOWEVER, HOW do I tell/configure the XP side to "connect" or dialup the Airport?? The XP side sees the wireless fine and will go out on the Internet ONLY if I start in the MacOS, leave the connection open, then restart in Windows, this is a real pain. Is there a way to tell Windows to "connect"/start the dialup process and also a way to tell the connection to "disconnect" when I am done--without having to restart in MacOS and then disconnect??
    Thanks.
    MacBook Mac OS X (10.4.8) Apple Airport Extreme Basestation configured for Dialup
    Powerbook G4   Mac OS X (10.3.6)  

    Thanks so much for the information and for responding to my question so quickly. I'll give it a try.
    Thanks.
    Lisa
    MacBook Mac OS X (10.4.8)

  • How do you stop tabs from displaying "Connecting..." forever and even after the pages have loaded?

    Even after all of my pages have loaded, the tabs continue to say "Connecting..." I don't have any kind of add-on/plugin like tabrenamer are anything that should be affecting the titles of my tabs. This can be an inconvenience when working with several pages at a time. Help would be greatly appreciated. Thanks!

    Some pages are using scripts like GoogleAPIs ,YahooAPIs, GoogleAnalytics, webTools pages and etc. sometimes the requested URL for the script or any web page element (like pictures and icons) are missing or so busy and there is no response from the server. The requests are sent to server using '''UDP '''protocol (means high speed, but '''no accuracy for very busy servers and lost connections'''!). UDP is a high speed protocol and send and receive your requested elements rapidly!
    1- You can try clicking in the address bar and pressing enter. this may help you sometimes.
    2- Also you can use add-ons like '''NoScript '''for disabling unwanted scripts. You can try installing NoScript and click on "Allow scripts globally". Then, at the pages you mentioned load too long and never stop, try to disable scripts while you find the bad or not respinding script (Scripts)!

Maybe you are looking for