×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    8

    Unhappy A question about bluetooth devices communication!

    Can anyone resolve my question as following?I need your help!
    Two different bluetooth device with different baud rate can communicate to each other on btspp protocol?
    on pc,I don't care about baud rate,it can communicate with my bluetooth reader and nokia 3250 ok! All results are correct!
    but using nokia 3250,it can talk with my bluetooth reader ,but result is another string ,not the correct response !
    The baud rate on nokia 3250 is 115200;my bluetooth reader baud rate is only 19600; The baud rate is the problem or not !?
    Last edited by DaphneH; 2006-05-24 at 11:03.

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: A question about bluetooth devices communication!

    Hi,
    I have looked for ages at this and the CommConnection code is either a modem or its a simulator. I found the code for the simulated port ans it does not have any speed control, the rather expensive Atinav software has supposely RS232 code, but actually does not use it!. It is in principal a radio based on 2.4Ghz transmission using 16 channel in hopping sequence.
    This only leave the famous Bluetooth 1.2 versus Bluetooth 2.0 the speed difference is amazing and on of the BT 2.0 far to fast to talk to the phone using PC Suite.

    The Bt1.0 was 70kBytes/Sec and BT2.0 100KBytes/Sec significantly faster.

    c:\> mode

    Status for device COM7:
    -----------------------
    Baud: 115200
    Parity: None
    Data Bits: 8
    Stop Bits: 2
    Timeout: OFF
    XON/XOFF: OFF
    CTS handshaking: OFF
    DSR handshaking: OFF
    DSR sensitivity: OFF
    DTR circuit: OFF
    RTS circuit: OFF


    Status for device COM15:
    ------------------------
    Baud: 115200
    Parity: None
    Data Bits: 8
    Stop Bits: 1
    Timeout: OFF
    XON/XOFF: OFF
    CTS handshaking: ON
    DSR handshaking: OFF
    DSR sensitivity: OFF
    DTR circuit: ON
    RTS circuit: HANDSHAKE

    COM15: is simply a place holder beacuse its for PC Suite and bluetooth does not configure this.

    I have not solved the problem but I should still check the adaptor speeds.
    I would try using the sleep function when sending each charcter and make sure the buffer the message read in twice the size of biggest message.

    Jim

  3. #3
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: A question about bluetooth devices communication!

    Hi,

    I tried changing the speed in standard bluetooth link from 115200 baud to 9600 and then tryin PC Suite and it worked,same with Hyperterminal
    Seem to have no effect at all.

    I feel it have something to do with previous problems with readChar and in the end the person used read as integer -int- and converted using a cast

    int nchar in.read();

    char c = (char) nchar;

    in particular worry that you have same problem as readUTF() which fails when written by os.write(text.getBytes()); or writeChar()



    int count = is.read( buffer, i, available);

    is worrying while j2me uses byte and char are similar I wonder if the characters being sent are Unicode double byte codes.

    The code in delay is much to small and the value of 10 should be increased to 100 for sleep in the original example.
    See
    http://discussion.forum.nokia.com/fo...ad.php?t=81074


    Jim

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    8

    Re: A question about bluetooth devices communication!

    Jim,thank you!
    I have try your solution but it doesn't work!
    It means the communication between nokia 3250 and my bluetooth reader is not correct
    my bluetooth reader only support SPP and baud rate is 19200
    my bluetooth reader can communicate with PC,no problem (the result is correct)
    maybe PC support autobauding
    maybe my problem is whether nokia 3250 support autobauding or not?(because it's baud rate is different from my device)
    some nokia series phone support autobauding(including Nokia 7110...)
    Does nokia 3250 support autobauding?
    or autobauding is not default configuration how I configure it?
    can anyone help me?

  5. #5
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: A question about bluetooth devices communication!

    Hi Daphne,
    Nice phone! No sign for envious!.

    The specification for Bluetooth 3250 is given at the web page
    http://www.forum.nokia.com/main/0,,0...tml?model=3250


    The specification for my 6230i is given at the web page
    http://www.forum.nokia.com/main/0,,0...ml?model=6230i

    The 3250 has superior bluetooth,it supports full OBEX.

    Some questions for you.

    Can you pair your Nokia 3250 with your PC by bluetooth ?.

    If yes,
    Is your 3250 still have an active connection to your PC via PC Suite or the other applications. Look at the bluetooth control panel under Active connections and see if its still connected.

    I presume your bluetooth reader cannot "pair" with your 3250 phone.
    How does it connect with your PC. Do you connect with device using bluetooth hardware address.

    What is the bluetooth reader Makers/model name. Is it a specialist board reader and therefore is has a default speed ie 19200?.

    Do you leave the bluetooth reader paired with the PC?.
    If you do the like my 6230i you may find that you cannot open a channel.

    In other words parameter "bluetooth.connected.devices.max" has been exceeded.

    I cannot connect more than one paired device at a time to my phone or transmission/receive errors occur.

    I wonder if you BT reader slips into L2CAP protocol to work with PC.
    This would then means the parameter called "bluetooth.l2cap.receiveMTU.max" could be used to cut the maximum number of bytes transmitted.

    Using the lower level protocol and so the slower speed of the reader does not matter as packets of data are smaller.

    The answer I believe is in the fact of whether the BT reader can successfully pair with the Nokia 3250.

    some nokia series phone support autobauding(including Nokia 7110...)
    I am a little puzzled about the Nokia 7110 and the autobauding speed control as this is for the FAX and Infra Red ports and make no mention about bluetooth?

    From Nokia 7710 Web page:-
    Yes, the Nokia 7110 has a built-in infrared (IrDA) link and a built-in data capability. Using your phone's infrared (IR) port, you can use the Nokia 7110 as a fax modem with a compatible PC.

    see full description http://nokia-asia.com/nokia/0,,32933...=14&step=step3


    Good Luck,
    Jim
    Last edited by jimgilmour1; 2006-06-02 at 13:04.

  6. #6
    Registered User
    Join Date
    May 2006
    Posts
    8

    Re: A question about bluetooth devices communication!

    Thanks for Jim's reply!!!


    "I presume your bluetooth reader cannot "pair" with your 3250 phone.
    How does it connect with your PC. Do you connect with device using bluetooth hardware address "


    ------>first , my 3250 phone and pc sould find the bluetooth reader for the first time. My test program use the reader address to connect the reader and send command (byte array) to the reader, the response string is correct . But the program run on 3250 phone ,the response string is not expected.
    Also PC and 3250 can communicate correctly!


    What is the bluetooth reader Makers/model name. Is it a specialist board reader and therefore is has a default speed ie 19200?.
    ----->the reader is made by 3rd party company,and it is a sample. the baud rate is 19200.the reader just only implement SPP profile.

    Nokia 3250 has multiconnection bluetooth devices. I can connect more than one bt device at the same time.

    Should my reader do some adjust ?the baud rate is the key problem in SPP profile or not ?Spp profile should need to configure the baud rate ? the almost same program to connect bluetooth reader run on pc and 3250 phone,the result is different. I still can't
    find out the main reason. I hope someone else can give me suggestion.

    Thanks!

Similar Threads

  1. Replies: 0
    Last Post: 2006-01-16, 02:53
  2. How to get a device's bluetooth address before I connect to it.
    By doglovecat527 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-09-02, 07:50
  3. Replies: 1
    Last Post: 2004-04-21, 13:05
  4. Discovering BT devices with HostResolver: Timeout question
    By tvollmer in forum Bluetooth Technology
    Replies: 2
    Last Post: 2003-10-20, 09:37
  5. communication between PC and Nokia 7650 via bluetooth
    By zhang_guoqing in forum Bluetooth Technology
    Replies: 2
    Last Post: 2003-05-05, 14:25

Posting Permissions

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