×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    4

    Bluetooth on a Nokia 6630

    I have developed a Bluetooth Application that works fine on the emulator, but when I deploy it to a real device it does not work.

    I have established that the device discovery is working and the devices can be successfully discovered. the Problem seems to be that I can write out data e.g. dataOut.writeInt(x);

    but the receiving device just sits their waiting and never goes further than the first read statement dataIn.readInt(x1);

    Has anybody had this problem before?

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,104
    The threading model is different in a real device. Make sure to use threads for everything. In my Nokia 6680 every Bluetooth event runs within the main event dispatcher thread. You must not block that thread, otherwise all other system events (Bluetooth, user interface, etc.) are queued. Perhaps, raising an excpetion in such an event, is no good idea either; not sure about this one. Nokia forgot to create a new thread and still calls the event: A developer can block the main event dispatcher thread. In Nokia Series 40 everything is fine.

    Did this help?
    Last edited by traud; 2010-02-02 at 08:19.

Similar Threads

  1. Nokia 6310 or 8910 : PC suite not possible today
    By olivieradler in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-10-13, 00:12
  2. Sending message between Nokia 6260 and Nokia 6630 problem
    By fgozman in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-03-18, 11:10
  3. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47
  4. Nokia 6310i bluetooth link with Sony laptop
    By MikeCrouch in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-10-30, 16:48
  5. Nokia DTL-4 and Socket Bluetooth Card - What is the real story?
    By cansana in forum Bluetooth Technology
    Replies: 0
    Last Post: 2002-07-29, 04:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •