Bluetooth - the list of pre know devices for discovery

Hello,
Here's my problem:
My application is a 1 waiter - 1 caller program where the waiter sends its BLUETOOTH ADDRESS to the database. Then the caller checks the database for the BLUETOOTH ADDRESS of the waiter. After that the caller connects to the waiter do trade messages (strings).
So the thing is, I already did the "waiter" getting its own "address" and sending it to the database. I can also get it back from the database to the "caller".
But now in the "caller" the code must search for devices and services... so I think it would be nice to use the "PRE KNOWN" (since he already knows the bluetooth address) to get the service list from the "waiter".
Is this "pre known" a good approach for this problem?
How can I set the "pre know" addresses for pre know discovery - is it doable by code or only manually by the user ?
Thanks for your comments.
Message was edited by:
ZeroOneZeroOneOne

Hi ZeroOneZeroOneOne
I've been watching this topic hoping to learn something I might want to use later, but nobody seems to be responding.
So I went through the javadoc for the BT API, and it appears that "A device can be set as a pre-known device in the Bluetooth Control Center." i.e. cannot be added programatically. From the point of view of security, this seems reasonable, I wouldn't want a free download to add BT devices to my preknown list !!
Have you considered doing the search just once, when your app is first run, and storing the (now known) address in a RecordStore? Then on following runs you could getRecord() the address instead of searching for devices.
Do post on whether this was useful, and whether you found a way to add a preknown address in code.
Regards, Darryl

Similar Messages

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • I buy the apple ipod from Channel Island Jersey UK and is dont find in the list of country to register for apple store. What i can do?

    i buy the apple ipod from Channel Island Jersey UK and is dont find in the list of country to register for apple store and i chose UK but my address biling for bank is in Jersey Uk. What i can do? wen i put the post code from jersey is tell that" Your post code does not mactch the country you selected for the Itunes store"

    I also just bought macbook pro completely legally and officialy.
    You can't officially buy an Apple product as far as Apple is concerned, in the Ukraine if Apple says that there are no Apple Authorized venders in the Ukraine.
    Here (in Ukraine) are official Apple's service centers, as like as in Belarus and Russia.
    According to Apple there are no Apple Authorized Serve Providers in the Ukraine.
    http://support.apple.com/kb/HT1434
    And why should I care about those kinda "support lists"?
    Because those lists are the official Apple statement of the state of affairs in your country. If you country is not on the list then Apple has no legal or official obligation to you or any products that you have managed to buy in the Ukraine.
    this is, for example, official distributor of Apple products in Ukraine.
    Not as far as Apple's statement on the issue is concerned.
    I bought legal macbook and have right for legal support, and that's all.
    Yes, if you get the product to a country with officially and legally Apple Authorized Service providers. There are none in the Ukraine.

  • Need to know the list of values (default one) for PAYMENT_STATUS

    we need to know the list of values for PAYMENT_STATUS in IBY_PAYMENTS_ALL
    (R12)
    presently the payment_status shows as follows.
    SELECT DISTINCT PAYMENT_STATUS FROM
    iby_payments_all
    PAYMENT_STATUS
    FORMATTED
    INSTRUCTION_CREATED
    REMOVED_INSTRUCTION_TERMINATED
    REMOVED_PAYMENT_STOPPED
    REMOVED_REQUEST_TERMINATED
    simillerly,
    Need to know the list of values for PAYMENT_INSTRUCTION_STATUS in IBY_PAY_INSTRUCTIONS_ALL
    (R12)
    PAYMENT_INSTRUCTION_STATUS
    CREATED
    CREATED_READY_FOR_PRINTING
    FORMATTED
    FORMATTED_ELECTRONIC
    PRINTED
    TERMINATED

    There is nothing called "service packs" for an Oracle database. That is an MS thing.
    I guess you mean patchsets which are available in Metalink as mentioned.

  • HT1349 When i click the buy it's asking me for a security question cause of the first time of using device for purchasing a game,but im already using this device before

    It's really not working..i always
    Buying an iTunes card and redeeming in one device but asking me a
    Security question cause of first time using device
    For purchasing oh my i already using this device

    Joiz wrote:
    {snip}. . . I don't remember..i know my email add and my password but I dont know the answer. . .
    There's not much anyone here can do for that particular issue.
    Your best bet is to seek assistance from iTunes Support.  If there is an alternate way to accsess your account, it will only be through them.
    http://www.apple.com/support/itunes/

  • Tcode to view the list of orders with reason for rejection

    Hi friends,
    Can any one tell the T.code or report to view the  list of sales orders or Scheduling agreements with Reason for Rejection updated.
    Kindly help.
    Regards,
    K.Vivek

    Hi Vivek,
    Use Tcode VA05 i.e. List of Sales Order. In this Tcode you can enter sales document type, sales area and other related data. After execution, from layout you can select Reason for Rejection from the list.
    This way you can filter all the sales documents including Scheduling agreements by using sales document types.
    Hope this will help you.
    regards,
    Sagar Wagh

  • Where is the list of categories and keys for calling AVAppGetPref?

    I want to obtain parameters in Preferences window by using AVAppGetPrefString() function,
    but I could not find the list of words that is usable for its parameters.
    For example, in order to acquire the value that placed on [Identity]-[Name] in Preference dialog, it should be written as follows?
    AVAppGetPrefString("Identity","Name")

    Conspicuously not documented. Settings appear on WIndows to be stored under HKCU\Software\ADOBE\Adobe Acrobat\version.  Try setting a specific name then search that registry hive for it.
    It appears that we find things like
    AVAppGetPrefInt ( ... "AVDisplay" , "OverprintPreview" ) stored in
    HKCU\Software\ADOBE\Adobe Acrobat\10.0\AVDisplay, key iOverprintPreview
    Do not take this as documentation or authoritative, just the results of 10 minutes poking around.

  • How to change the list box to F4 Help for Billing type in VF01

    Hi All,
    In VF01 for Billing type i am getting List box. Now  I have to add one more field to that list box.
    like  F1 invoice
           F2 Invoice returns.
    or
    Is there any possiblity of making it as F4 Help instead of List Box.
    Please throw some lite on this issue.
    Regards,
    Rohit.

    Hi ,
    The list box is getting the value from the table TVFK .
    You can get the table name from the VALUE  TABLE of  FKART which is the domain
    for the field Billing Type .
    You need to Update the table TVFk programatically. Like  - -
    TABLES : tvfk.
    tvfk-FKART = 'F1'.  " Billing type
    tvfk-KOPGR =
    tvfk-VTEXT = 'Invoice '.  " Billing type description
    UPDATE TVKF FROM TVKF.  " Update the table
    Similarly you have to update the table by the F2 and and description.
    tvfk-FKART = 'F2'.
    tvfk-KOPGR =
    tvfk-VTEXT = 'Invoice returns'.
    UPDATE TVKF FROM TVKF.
    Regards
    Pinaki

  • How to find the list of Parallel enabled tables for a User?

    Hi All,
    I created a table with parallel option. Now I want to find out the list of all tables created with that option. I searched in DBA tables but I couldn’t get it. Could some one help in it?
    Thanks,
    Darius

    You'll find this information in user_tables in the column DEGREE.
    degree=1 means noparallel
    degree=default means parallel default
    degree=2 means (parallel, 2)
    etc...

  • If you change the apple id on one device, is the id locked to that device for three months?

    I bought two ipod touches for my children last week (all kids under 10 if it makes a difference). Child #3 already has one. When I bought them, I was told that I can download movies on each for an upcoming long distance trip. If child 1 wants to watch something downloaded on child 2's ipod, they can sign in under child 2's account and watch it on their own ipod BUT it won't be saved to that device.
    However, I went in today to get them set up. I asked about this, and music and other things. I was told that if you sign in on one device under a different apple id, that device is locked to that apple id for three months. Its apparently an effort to stop pirating.  I was told its the same for music. If I buy a song on my account that my 5 year old wants, I have to buy it twice because if my son signs onto his ipod under my apple id, the ipod is then under my account for the next 3 months, along with all my games, music etc. and his apps are no longer accessible to him. 
    Is this acccurate? Honestly, I"m afraid to try. I don't want my kids to be stuck with my apple id, which has no apps or antyhing attached to it other than some music.
    BTW I had to set up their own itunes account despite that they're too young to have one because we're maxed at 5 devices (2 iphones, ipad and our own ipods). We couldn't add any others so I created a itunes account for my two youngest to share and a separate account for my 10 year old so that he could have his own facetime.
    Can anyone help? Can I sign onto my kids ipod with my id without having them locked out of their apps? Can the two of them share a movie?

    Not exactly but it is locked for the purpose of redownning past purchases. See:
    iTunes Store: Associating a device or computer to your Apple ID

  • How to get the list of USB connected devices

    Hi,
    I am looking for a simple function in labview to progammatically scan for connected devices and list them.
    This query concerns USB devices of all types: storage media, printer, mouse, game controller, networking accessory...
    Does .NET offer any solution ?
    Thanks,
    Eric
    Solved!
    Go to Solution.

    Find in french
    http://forums.ni.com/t5/Discussions-de-produit-de-NI/Liste-de-p%C3%A9riph%C3%A9riques-USB/td-p/19930...

  • To find out the list of user profiles marked for deletion using powershell or C# for SharePoint 2010

    I have Disabled the MysiteCleanup timer Job and disabled few user profile accounts in AD.  Then in SharePoint user profile service, ran the User profile full synchronise job.
    I am able to find the marked for deletion records from the table (UserProfile_Full) in SQL server and also in the Manage User profile menu of the central admin under "Profile missing from import"
    view.  But  am not getting these records, If I execute the  below powershell command.
    $upa = Get-spserviceapplication -name 'User Profile Service Application'
    Set-SPProfileServiceApplication $upa -GetNonImportedObjects $true
    This command shows only the system account and not the accounts, which are marked for deletion .
    Please suggest how to get this result.
    Thanks & Regards,
    Yoga

    What result do you get hen use use type below in powershell
    $upa

  • When I try to burn music from my Playlist to a blank CD, the notification tells me that the list has too many minutes for the CD, even if I try to burn just one song. What's going on?

    WHEN I TRY TO BURN MUSIC FROM MY PLAYLIST TO A BLANK CD, THE NOTIFICATION COMES UP AND TELLS ME I AM EXCEEDING THE NUMBER OF MINUTES THE CD WILL HOLD. THIS NOTIFICATION HAPPENS EVEN IF I TRY TO BURN JUST ONE SONG. WHAT'S GOING ON?

    Katy, you are completely doing things in the wrong order.  You can't burn songs if you can't even play them, and iTunes can't play them if it can't find them. 
    The exclamation point normally occurs if the song file, or one of its containing folders, has been moved, renamed or deleted.  So if you encounter a track with an exclamation point, don't do anything else until you find the file.  It is usually somewhere else on your hard drive, or else in the Recycle bin.  Failing both of those, get it from your most recent backup.
    After your restore it, make sure it can play.  If it can play you can put it into a playlist.  Then you can burn the playlist.

  • Where can we get the list of predefined services for the notification of events/signals

    We have a sample plugin docwatch which uses the responder to notify in case a new doc is created/saved/doc closed etc.
    I want to know if I can get the similar set of services for the text frame
    eg: Typing a text should generate the notification
            Deleting a text shoud generate a notification( in the form of alert window or something)
    Also, for pages,frames etc.
    Where can we check the list of default services available for these or can we do it some how in code?

    Hi Eton,
    To check the instances which have ran today, you can use the below query in query builder.
    SELECT SI_NAME,SI_ID FROM CI_INFOOBJECTS WHERE SI_INSTANCE=1 AND  SI_STARTTIME > '2014.08.20 00:00:00' Order by SI_STARTTIME DESC
    To check the instances which would be running in the future, that means you have recurring schedules. Check for the SI_NEXTRUNTIME to get the details of instances which will run in the future as per the recurrences.
    Thanks,
    Prithvi

  • Subsequent device(speaker) detection over USB, results in new interfaces in the list(System Preferences- Network)

    Hi,
    There is a problem when device(speaker) is unplugged and plugged in Mac OS version 10.7.5
    Every time unplug and plug the device over USB and re-plug, new interface is added in the list System Preferences->Network.
    For example, if the device interface name is device20, when the device is plugged first time, system shows "device20" in the detected device list i..e in System Preferences->Network. But next time when unplugged and plug again the device name gets changed(device number gets incremented), i.e. "device21" will be displayed. So if repeatedly unplugged and plugged, the device number gets incremented everytime and added to the list as device22, device23,....etc. The list will grow with many entries if we repeatedly unplug and plug the device.
    I am not sure why the system is behaving so. You help/support will be highly appreciated.
    Thanks in advance.
    - Tejonath

    Hi,
    There is a problem when device(speaker) is unplugged and plugged in Mac OS version 10.7.5
    Every time unplug and plug the device over USB and re-plug, new interface is added in the list System Preferences->Network.
    For example, if the device interface name is device20, when the device is plugged first time, system shows "device20" in the detected device list i..e in System Preferences->Network. But next time when unplugged and plug again the device name gets changed(device number gets incremented), i.e. "device21" will be displayed. So if repeatedly unplugged and plugged, the device number gets incremented everytime and added to the list as device22, device23,....etc. The list will grow with many entries if we repeatedly unplug and plug the device.
    I am not sure why the system is behaving so. You help/support will be highly appreciated.
    Thanks in advance.
    - Tejonath

Maybe you are looking for

  • Concurrent mailbox moves from Exchange 2007 to 2013

    We are in the process of migrating from Exchange 2007 to Exchange 2013. We have about 200 mailboxes and we want to move them in groups of 40-50 at a time. I am trying to get more then 1 mailbox to actually sync to the new database at once. I start th

  • Does the iPod touch 4th gen. Have siri?!?

    I want to get the iPod touch 4th gen but I want siri to I don't if the iPod touch 4th gen has siri?!?

  • How can I change "ownership" of my Photos iCloud to a new computer?

    I started using Photos with iCloud a couple days ago, and have my library stored successfully in iCloud.  However, now I'm migrating to a new MacBook (via Time Machine), and the sharing is screwed up.  Specifically, when I go into Photos Sharing, it

  • Changing IP Addresses

    OS: IBM/AIX 5.2 Unix DB: 10.2 Hello All, We have two oracle database servers located in out network. We need to change the IP Addresses of both servers. 1) which files do I need to check for the new IP Addresses, or Which files do I need to update or

  • How can I export my about:config page

    I would like to export my about:config page, so that when I reinstall Firefox I do not have to go back and manually change what I changed in the past