Results 1 to 22 of 22

Thread: [2005] Bluetooth Connection

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Lightbulb [2005] Bluetooth Connection

    Hi there! I've just wondering, how to connect 2 or more PCs with Bluetooth?
    I've read some threads about this, I figured, that Bluetooth is like a COM Port (representing COM Port) and all to do it is work with Serial Port tool in VS. But there are many questions. How to send and receive any data? What is OBEX (everything I know about OBEX, that is for file trasfering between mobile phone and PC)? Can you tell me, how to do something with BT? You know, send a data just, thank you so much!
    Code Hard, Go Pro!

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [2005] Bluetooth Connection

    Actually, there are a number of resources out there. Here are just a few I found with a down and dirty quick search.

    http://www.topshareware.com/Bluetoot...load-41507.htm

    http://www.windowsfordevices.com/news/NS8086026541.html

    http://www.sharewareconnection.com/bluetooth-net.htm

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    There is something wrong. I wanted some code and maybe some instructions how to use Serial Port.
    Some incredibly expensive add-ons is not especialy good a way to learn Bluetooth.
    Please, can anybody send some code? Thanks
    Last edited by iMPR3SSiON; Sep 9th, 2008 at 11:56 AM.
    Code Hard, Go Pro!

  4. #4
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    I guess it depends on your Bluetooth. Mine is an IOGear and I just added Serial ports to its configuration. After that I didn't worry about it being Bluetooth, it was just a serial device.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    Thanks. Just some questions. Do I have still full BT speed? I mean something about 260 kb/s? When I send a file or something ... And, could you send there some code how to open serial port and receive some data? Thank you.
    Code Hard, Go Pro!

  6. #6
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    I have used BT serial and had about 1Mbps.

    See my signature for my serial port stuff.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  7. #7

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    Cool! But I can't open your stuff, cos I have VS 2005. Is it works in 2005, or only in 2008?

    Does it matter when I open port COM5 (for example) and user on other PC opens COM3 port?
    Can we comunicate then?
    Code Hard, Go Pro!

  8. #8
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    Sorry, it is 2008.

    You can use different ports on the PC's. I used Hyperterminal at one end when I was testing.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  9. #9

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    Nice! And ... I am sorry, but still a few questions are there.
    How can I retrieve BT Device Name and Adress?
    You know, I have some rubbish from Manufacturer, that normally works win my mobile phone etc., it retrieves adress (MAC Adress...??) and name ...
    I hope you help me, I'll rate everything
    Code Hard, Go Pro!

  10. #10
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    Check Serial Port in my signature. Untested 2005 version.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  11. #11
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    Quote Originally Posted by iMPR3SSiON
    Nice! And ... I am sorry, but still a few questions are there.
    How can I retrieve BT Device Name and Adress?

    Should not need it for serial port, but it would depend on Manufacturer.

    You know, I have some rubbish from Manufacturer, that normally works win my mobile phone etc., it retrieves adress (MAC Adress...??) and name ...
    I hope you help me, I'll rate everything

    I think you need to find out how to add a serial port device to the BlueTooth config.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  12. #12
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    I am pretty sick, so don't count on me being here much.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  13. #13

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    ok...
    Code Hard, Go Pro!

  14. #14

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Angry Re: [2005] Bluetooth Connection

    Actualy, I've been laborating with this Bluetooth Technology and I found, that it isn't so great. To communicate thru the COM port you must to set up BT drivers (set a COM connection with other PC). So question: How can I find a BT Devices in VB.NET? I already know how to communicate thru COM, but I can't find any device in range with my code. PLS Help
    Code Hard, Go Pro!

  15. #15

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    Anybody can help?
    Code Hard, Go Pro!

  16. #16
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    If there are not devices in range then what makes you think switching to direct driver interaction will help?
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  17. #17
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: [2005] Bluetooth Connection

    I've done smaller things with BT to connect with a robot. However, I was connecting at 9600, which is WAY slower than what you are talking about. My needs were also relatively trivial, as I never did need to discover devices via code. DBasnett has done more of the high speed stuff, and probably more BT stuff.

    It may be that some of what will be necessary for you is manufacturer specific. There must be BT standards, but for the device I work with, I use the device software to discover other devices and connect to the remote (the robot in my case). However, if I don't do the connection part, it will still send the information, there is just a delay that is normally fatal to the operation prior to the send. I guess the serial port for the connection is fixed by the software, as well, now that I think about it.

    Not very helpful I'm afraid. This is a topic that I have been meaning to look into further such that I can avoid the step where I actually connect the BT devices, but I haven't gotten to it, yet.
    My usual boring signature: Nothing

  18. #18
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    OT - Shaggy - Is NXT a good place to start with robots? A little pricey. I am so bored and idle, which causes me to dwell on things that there isn't any point in.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  19. #19
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: [2005] Bluetooth Connection

    I haven't looked at NXT, but I certainly will. I'm stalled out for two reasons: 1) All my money is going into some yard work, 2) My $300 worth of sensors are producing so little useable data that my design is right down the chute. I need to find a sensor that will do the job, and that will take a bit of trial and error.

    Oh yeah, take a look at RoboticsConnections. I really like their traxter base, and it looks like they have fairly good .NET software. The price may be a bit high, though.
    My usual boring signature: Nothing

  20. #20

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    Thank you, man
    everything you sad was not very helpful, but I am persuaded about this question and I will mark this thread as RESOLVED, thank you so much
    dbasnet also
    Code Hard, Go Pro!

  21. #21

    Thread Starter
    Member
    Join Date
    Jul 2008
    Location
    Czech Republic
    Posts
    55

    Re: [2005] Bluetooth Connection

    Please, can you tell me this thing ...
    I found that COM8 is BT Connection Port (with this port I am able to connect to "server", guy, who started connection (it usually takes longer time) ), but can I start multiconnection with this port? I mean, can I somebody connect to our started connection? Thanks.
    Code Hard, Go Pro!

  22. #22
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] Bluetooth Connection

    i have a serial port link in my signature that has worked over BT serial ports.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Posting Permissions

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



Click Here to Expand Forum to Full Width