Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor uday.neo's Avatar
    Join Date
    Sep 2008
    Posts
    88
    Dear All,
    i want connect to perticular bluetooth device whose address AllReady saved in databse.& next onward i want to avoid device discovery if any BT_ADDR saved in database.Currently i am using database creted using RDbNamedDatabase.But once i restart application the address is not retrived from DB.i tried to save it in INTEGER & VARCHAR format but its not working .Can any one have solution please reply.. Thanks!!!

  2. #2
    Registered User atonical's Avatar
    Join Date
    Apr 2008
    Posts
    105
    I want to do a similar thing. I wish to hide the bluetooth connection dialog by having the bluetooth connection address+port before hand. Is it possible to do this? Has anyone do that b4?

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    A 32-bit integer is just too narrow for storing a 48-bit device address. However storting as text should work - especially if you really convert the address to text (see TBTDevAddr::Set/GetReadable).
    If you do not store anything else, a database is a bit overkill for this purpose, a simple file could also do the job.
    Also note that some kind of known-devices list already exists, check Bluetooth Engine API from the plugin pack (http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in)
    Atonical: you were already told in an other thread that ports/channels should not be stored, since they are assigned dynamically upon each execution.
    Both of you: note that it is also possible to do device discovery without the user: RHostResolver is capable of doing that. If you search for it in the SDK Help, "How to inquire about remote devices" is the BT-related hit.

  4. #4

Similar Threads

  1. Connect Bluetooth device
    By merchan in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-11-13, 11:45
  2. Content Plays/Displayed; No prompt to save to device?
    By arlojj in forum Digital Rights Management & Content Downloading
    Replies: 4
    Last Post: 2006-04-21, 23:36
  3. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26
  4. Bluetooth discovery with device scanning
    By arto_koskela in forum Symbian C++
    Replies: 2
    Last Post: 2004-09-10, 08:40
  5. Device discovery for connected device
    By ilotsala in forum Bluetooth Technology
    Replies: 3
    Last Post: 2004-07-21, 08:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved