Bluetooth device discovery simple question

when the master device is discovering all the devices in the local neighbourhood, do the devices being discovered know that the someone is searching for them, even if no contact is made.
ie. Is there any java code in the bluetooth api's that i can use on the devices being discovered to alert sed device that someone has just searched its bluetooth address and name?
or is this all underlying in the stack and not accessible to me?
any minor response will do :)

i do not think there is. why would you want to do this anyway can i ask.

Similar Messages

  • Simple question: I placed a document in iCoud on my iMac and it appeared on my iOS devices. If I change it on my iPad it changes on my iMac. Now, how do I change it and save it on my iMac so it automatically changes on my iOS devices?

    Simple question: I placed a document in iCoud on my iMac and it appeared on my iOS devices.
    If I change it on my iPad it changes on my iMac.
    Now, how do I change it and save it on my iMac so it automatically changes on my iOS devices?

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • DFM device discovery issue "Devices stuck in Questioned state"

    Hi
    We have LMS 3.0.1 installed with DFM 3.0.4 The devices are showing Questioned with Error code "SNMP timeout" with no specific reason. The snmpwalk is coming for the device as I checked with snmpwalk command. The only device discovered as"known" has ICMP permitted from Server to device and no other device has. They only have SNMP permit. Can this affect the dicovery?? or what else can I try....Please suggest!!
    Rgds

    Yes. DFM requires that all devices be both SNMP and ICMP reachable. DFM uses ICMP to verify reachability to all IP addresses on the device. However, at the very least, the address by which you manage the device MUST be ICMP reachable.

  • Bluetooth device detection

    Hi everyone!
    (I am newb at Java, and im looking for a very simple application (i think), but im not sure how to find what im looking for, i tried sourceforge.net, but i dont know how to run the java source files.)
    What im looking for is an app for PC that searches for bluetooth devices in the area, and logs their MAC address into a file (preferably .xml)
    It should continuously search for devices, and update the .xml file everytime it finds a new device, or an old one dissapears, so i always know what devices are in the area at this excact moment.
    Have you ever heard of such a thing, or do you simply have some good keywords for me to use :) Either way i would be very thankful for your help! :)
    Cheers,
    Lars

    Ok, here is my code a bit more formatted:
    public void run() {
    lock = new Object();
    while (!done) {
      doSearch();
        try {
        thread.sleep(DISCOVERY_LATENCY); //2000ms
        } catch (Throwable t) {}
    * Start a new Device discovery
    synchronized public void doSearch() {
    try {
    //get local bluetooth device
    local = LocalDevice.getLocalDevice();
    //get discovery agent
    agent = local.getDiscoveryAgent();
    //start a new Bluetooth discovery inquiry
    agent.startInquiry(DiscoveryAgent.GIAC,this);
    //we lock the thread and wait the end of the current inquiry
    synchronized(lock) {
        try {
        lock.wait();
        } catch (InterruptedException e) {}
    } catch (Exception e) {}
    *We detected one bluetooth devices
    public void deviceDiscovered(javax.bluetooth.RemoteDevice remoteDevice, javax.bluetooth.DeviceClass deviceClass) {
    try {
    // get the bluetooth MAC address of that device and remove any white space
    String value = remoteDevice.getBluetoothAddress().trim();
    if(checkTable(value) && doneDetection == false)
    doneDetection = true;
    launchHotSpotPage("test");
    } catch (Exception e) {
    System.err.println("BLUETOOH ERROR");
    * The bluetooth discovery inquiry has been completed
    public void inquiryCompleted(int discType) {
    local = null;
    agent = null;
    //We unlock the thread in order to make a new discovery
    synchronized(lock) {
    try {
    lock.notify();
    } catch (Exception e) {
    System.err.println("BLUETOOH ERROR");
    lock = null;
    lock = new Object();
    }

  • CiscoWorks LMS 4.0.1 / Device Discovery

    Simple question, not so simple answer?
    I have tried multipule times to do device discoveries, the same 26 devices come up unreachable.  I have checked, double checked, and tripple checked the snmp community ro and rw strings on the switches and that snmp is enabled.. All seems configured correctly on the switches.  I have tried arp, ip ping, cdp, just about all of the proper discovery protocols.  I have tired using different seed devices, even already known reachable devices....  I'm stuck, no clue why I can't get this going! Please help.  As a side note.. If imanually added unreachable devices as an snmp target in snmp setting windows during device discovery configuration it will "reach" and add the devices.

    John...did you get this resolve? I am having the same issues. Several of my devices with subnet of 10.83.*.6 (seed switches) are unreachable in CW. I can telnet to many of the devices from the CW server and see that the community string (RO/RW) is the correct string in the configure however, still unreachable. Was you able to get this working? I do have a TAC case open for this. Still working through the issue. Write back...thanks in advance.

  • Cannot find where the issue is, Bluetooth service discovery

    Hi there,
    I am developing a client/server bluetooth messaging application and seem to have to run into a brick wall. I am able to perform a device discovery, and the client is able to locate the server, however I am not able to locate the service on the server even though the server and the client are both using the same UUID and service name.
    It gets to the point where it displays the status message, "Service search initiated" and then it seems like nothing else happens. I have been staring at the code for days and tried all sorts of tinkering, but have been unable to get it to work.
    The UUID and service name I am using is:
    48dd1cf559bb41009d0686f7862d26a2
    serverand below is the code for my class that I implement the device and services discovery in:
    import javax.microedition.io.*;
    import java.util.*;
    import java.io.*;
    import javax.bluetooth.*;
    public class SearchForServices implements DiscoveryListener
        private MessageClient client;
        private String StrUUID; //UUID of service
        private String nameOfService; // Name of service
        private LocalDevice local; //local device
        //Discovery Agent
        private DiscoveryAgent discover;
        //store list of found devices
        private Vector devicesFound;
        //table of matching services/ device name & service Record
        private Hashtable servicesFound;
        private boolean searchComplete;
        private boolean terminateSearch;
        public SearchForServices(MessageClient client, String uuid, String nameOfService)
            //create the discovery listener and then perform device and services search
            this.client = client;
            this.StrUUID = uuid;
            this.nameOfService = nameOfService;
             //create service search data structure
            this.servicesFound = new Hashtable();
            try
                //get discovery agent
                local = LocalDevice.getLocalDevice();
                discover = local.getDiscoveryAgent();
                //create storage for device search
                devicesFound = new Vector();
                //begin search: first devices, then services
                this.client.modifyStatus("Searching for devices...");
                discover.startInquiry(DiscoveryAgent.GIAC, this);
            catch(Exception e)
                this.client.reportError("Unable to perform search");
        /////////////Methods related to the device search called automatically///
        public void deviceDiscovered(RemoteDevice remote, DeviceClass rank)
            // a matching device is found.Only store if it's a PC or phone
            int highRankDevice = rank.getMajorDeviceClass();
            int lowRankDevice = rank.getMinorDeviceClass();
            //restrict devices
            if((highRankDevice == 0x0100) || (highRankDevice == 0x0200))
                devicesFound.addElement(remote);
                this.client.modifyStatus("Device Found");
            else
                this.client.reportError("Matching device not found");
        private String deviceName(RemoteDevice remote)
            String name = null;
            try
                name = remote.getFriendlyName(false);           
            catch(IOException e)
                this.client.modifyStatus("Unable to get Friendly name");
            return name;
        public void inquiryCompleted(int inquiryMode)
            showInquiryStatus(inquiryMode);
            //update status
            this.client.modifyStatus("Number of devices found: " + devicesFound.size());
            // start searching for services
            this.client.modifyStatus("Service search initiated");
            findServices(devicesFound, this.StrUUID);
        private void showInquiryStatus(int inquiryMode)
            if(inquiryMode == INQUIRY_COMPLETED)
                this.client.modifyStatus("Device Search Completed");
            else if(inquiryMode == INQUIRY_TERMINATED)
                this.client.modifyStatus("Device Search Terminated");
            else if(inquiryMode == INQUIRY_ERROR)
                this.client.modifyStatus("Error searching for devices");
        //service search////
        private void findServices(Vector devFound, String strUuid)
            //Perform search for services that have a matching UUID
            //and also check service name
            UUID[] uuids = new UUID[1]; //holds UUIDs for searching       
            //add the one for the service in question
            uuids[0] = new UUID(strUuid, false);
            //to include search for service name attribute
            int[] attributes = new int[1];
            attributes[0] = 0x100;      
            //carry out service search for each device
            //terminate search
            this.terminateSearch = false;
            RemoteDevice xremote;
            for(int i=0; i < devFound.size(); i++)
                xremote = (RemoteDevice)devFound.elementAt(i);
                findService(xremote, attributes, uuids);
                if(terminateSearch)
                    break;
            //report status
            if(servicesFound.size() > 0)
                this.client.displayServices(servicesFound);
            else
                this.client.reportError("No Matching services found");
        private void findService(RemoteDevice remote, int[] attributes, UUID[] uuid)
            try
                int transaction = this.discover.searchServices(attributes, uuid, remote, this);      
                searchFinished(transaction);
            catch(BluetoothStateException e)
        private void searchFinished(int transaction)
            this.searchComplete = false;
            while(!searchComplete)
                synchronized(this)
                    try
                        this.wait();
                    catch(Exception e)
        //below methods called automatically during a search for devices
        public void servicesDiscovered(int transID, ServiceRecord[] records)
            for(int i=0; i < records.length; i++)
                if(records[i] != null)
                    //get service records name
                    DataElement servNameElem = records.getAttributeValue(0x0100);
    String sName = (String)servNameElem.getValue();
    //terminate search
    this.terminateSearch = true;
    if(sName.equals(this.nameOfService)) //check name
    RemoteDevice rem = records[i].getHostDevice();
    servicesFound.put(deviceName(rem), records[i]); //add to hashtable
    public void serviceSearchCompleted(int transID, int respCode)
    //wake up the waiting thread for this search, enabling the next services
    //search to commence
    this.searchComplete = true;
    synchronized(this)
    this.notifyAll();
    After doing abit of troubleshooting, I realised that somehow the client is not able to locate the service on the Server, but I do not understand why that should be so, because the UUID and service name are matching on both the client and the server. It just beats me, and I would appreciate it if a 2nd pair of eyes could have a look at the code. Maybe there is something that I am missing.
    Thanks, I do appreciate..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi there,
    I tried a few things such as
    1) Changing the UUID for my application, but that didn't make the system work.
    2) I then went on to modify the implementation and use the selectService() method of the bluetooth class, but still without any luck.
    The only way it works, is if I get the server side to display the connection parameters and I manually enter them into the client side to connect. I do not understand why it is not working the automatic way. I have scanned through my code and logic multiple times, and still cannot figure out what the issue is. :(
    Any help would be appreciated...

  • Is there a way to get a log of the bluetooth devices my iphone has been connected to?   My Bluetooth car speaker phone was recently stolen from my car and appears to be on Craigslist.

    Is there any way to get a log of the bluetooth devices my Iphone has been connected to?  I recenly had my Bluetooth Jabra stolen from my car and now a simliar one is on Craigslist.  I'd like to give my connection log to the police before I go and see if my Iphone recognizes the device in question.  Any way to get any type of bluetooth device connection log out of my iphone?

    Your contacts should still be on whatever program you sync your iphone to (i.e. Outlook, address book).
    The iphone is not a stand alone device. It is designed to be synced with a computer. If you have not been syncing with a compatible program, then you are out of luck. Your contacts are not included in the back-up because it is meant to be synced with your computer.
    "Although iTunes backs up most of your iPhone and iPod touch settings, downloaded applications, and other information (Contacts, calendars, notes, images in the Camera Roll), your audio, video, and photo content are not included in the backup."
    http://support.apple.com/kb/HT1414

  • How do I upload the contacts from my iPhone 5S to the Bluetooth device on my Toyota RAV4.  The car manual says to consult the phone's bluetooth instruction manual, but I don't have one.

    How do I upload the contacts from my iPhone 5S to the Bluetooth device on my Toyota RAV4?  The car manual says to consult the phone's Bluetooth instruction manual, but I don't have a manual for that.

    That is very strange... I wonder if it has something to do with the firmware or some sort of error. I haven't ran into this but at the shop I work at I've ran into several firmware errors on iPhone 4 all the way through the 5s. Maybe its something as simple as putting a different part of the code into iTunes... I know you can something of this extent. I would look up error 1669, I know you have tried a number of things but look it up on the forum and see what fixes are available so that you may be able to restore it properly without all this garbage you are running into. Just a thought for you.

  • Have to "Set up Bluetooth Device" for wireless trackpad and keyboard almost every day

    Almost every day when I turn on my MacBook Air in my home office, my Apple wireless keyboard and trackpad do not automatically reconnect. They used to connect just fine when I was in the viscinity, but now (for the past 6 months or so) I almost always have to:
    Bluetooth > Set up Bluetooth Device
    Turn off the keyboard (hold down the power button for several seconds)
    Turn the keyboard back on (hold down power button for several seconds)
    Go through the setup wizard
    Repeat for the trackpad
    Things that don't work:
    Pressing the button on each Bluetooth device
    Restarting each Bluetooth device
    Turning Bluetooth on and off
    Setting the Bluetooth devices as "Favorites"
    Selecting the device from the Bluetooth menu item and clicking "Connect"
    Rebooting my MacBook Air
    Resetting  the NVRAM / PRAM
    Once the device is connected for the day, I do appear to be able to "Disconnect" and then "Connect" again from the Bluetooth menu item. The devices will also automatically reconnect by pressing a button on them. It just appears to lose the "lease" on them or whatever after a little less than a day.
    I'm trying to think of other troubleshooting steps I could take and it just occurred to me that I could try swapping them with the peripherals I use at work (which are possibly newer models, but otherwise identical). Any other suggestions?

    Huzzah! Less than 1 week after finally getting fed up and posting this question, I have discovered the root cause - my wife had been inadvertently stealing my keyboard and mouse connection whenever she turned on her laptop! She's using my hand-me-down MacBook Pro which I thought I had reset, but apparently it remembered its Bluetooth connections.
    I had suspected something similar since I occasionally used the wireless keyboard with my iPad, but had already ruled that out.
    I can't believe I figured this out after 6 months of mild frustration, but just days after posting this question

  • How do i add a bluetooth device to my mac? there is no " " button in my bluetooth preferences and turning the devices to discover mode doesn't work

    How do i add a bluetooth device to my mac?  There is no " +" button in my bluetooth preferences and turning the devices to discover mode doesn't work

    The Bluetooth setup assistant should "find" a device in range when that device is turned on. What are you trying to add?
    Wireless input devices: Bluetooth frequently asked questions ( How do I add or remove a wireless device to or from my Mac (pairing or unpairing)?)
    Barry

  • Can I connect multiple bluetooth devices, to an IOS device

    Hi I have a Logitech Ultrathin keyboard cover, for the new IPad. I'm using the keyboard, all the time my IPad is in use. And sometimes I want to connect my Bluedio R+ bluetooth stereo headset, with bluetooth 4.0 NFC technology. So my question is can I connect both of my external bluetooth devices, at th same time?
    Best Regards Alican!

    Yes.
    Barry

  • What is the Bluetooth device in the HP Touch Smart TX2-1275 DX ?

    Friends, I want to know what is the Bluetooth device in the HP Touch Smart TX2-1275 DX ? Im asking the manufacturer brand and model number  such as Ralink xxx, Broadcom xxx and so on for this laptop not the Software Support for HP Integrated Module with Bluetooth Wireless Technology for Microsoft Windows Vista driver. If anyone knows, can you please provide me the link to download it? My friend reformatted it without taking note of the original device name in the device manager. I appreciate your help friends, Thanks You. 
    This question was solved.
    View Solution.

    Check specification of your model here.
    This tablet is without bluetooth module.
    You may buy usb micro Bluetooth adapter.
    With that kind of device you don't need to even remember then it's plugged.
    Few propositions on Newegg: here, here, here, here and here.
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Using iPad as an iPhone Bluetooth Device

    I wanted to do what I thought would be a simple thing, using my iPad as a bluetooth device for my iPhone 5. An example of what I would like to do is say I'm watching a video on my iPad with headsets on, be able to have an incoming call show up on my iPad and answer it without having to take the phone out or take off my headsets. If iOS doesn't support this native, is there an app for the iPad that would do this?
    I've seen articles on here for hot-spot connecting, but I don't have that service and don't need it. Just looking for a simple Bluetooth "headset" function with the iPad.
    Sorry if this was already posted but I did a search and didn't find exactly what I'm looking for.
    Thanks!

    I've tried air displai on my Ipod touch and it connects perfectly to my Vista laptop. Now I have another challenge.
    I have no problem connecting the Ipod through my router (or any router) using wifi. The issue is I need to contact the laptop with wifi at locations where I don't have an existing network through a router.
    I've created an so called ad-hoc network in Vista. It's WPA-2. This network appears as an available network on the display of my Ipod, but wgen I try to make a connection it says it was unable to make this connection.
    Anybody out there who has an idea???
    The reason I use My Ipod is that I already am in the posession of this device. If it works I intend to purchase an Ipad. Dous anybody know if there is a difference between Ipod touch and Ipad in terms of connecting to an ad-hoc network?
    Ron

  • Simple question - minimize application

    I have a simple question to nokia developers. Why I cannot minimize most of my applications in Nokia Asha 302? In Nokia E50 I could. Why are you going backwards in usefulness of your software?

    It is not going backward. Asha series is based on s40 OS while E-series on Symbian. s40 doesn't support multitasking while Symbian does.
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • Other bluetooth devices on 10.9.4

    Can my 10.9.4 connect to other bluetooth devices like remote speakers?

    The question is reversed. Some Bluetooth devices will connect to a Mac - depends on the device manufacturer (check their specifications). I have connected BT mice and keyboards without problem.
    Barry

Maybe you are looking for