Results 1 to 8 of 8

Thread: Help with Bluetooth commands

  1. #1
    Low Bitrate erie's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    89

    Help with Bluetooth commands

    Hey I've decided to try and make my own bluetooth phone control.

    The problem is that using the VB MSComm control everytime I sent the phone a command, my PC reboots. Also every time I try to set the baud to a value over 9600 I get an error.

    Could someone please lead me to a peice of VB sample code of a working mscomm control that works with a GSM phone?
    06 Galaxy Gray Si #0308
    CarPc Progress -
    10%---------50%---------100%
    -[XXXXXXXXXXXXXXXXXXXXXX]-

  2. #2
    Low Bitrate erie's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    89
    Update:
    I can talk to the phone using HyperTerm and FreeFone, but every time I try to send a command to the phone, my machine power cycles its-self. Any ideas? Could someone please help me, even the correct port parameters for a GSM modem would be a huge help.
    -=ew
    06 Galaxy Gray Si #0308
    CarPc Progress -
    10%---------50%---------100%
    -[XXXXXXXXXXXXXXXXXXXXXX]-

  3. #3
    Low Bitrate
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    63
    Ill see if I have the code for the app I wrote. (See this thread for details simple bluetooth dialer )

    If it works I'll see if I can find the code, its not on this PC, but I can grab it off another one that I have it on.

    In the meantime if you want post a little of your code, maybe there is something we can catch in there.

    As well just another thought, do you have any other serial device you can try to connect to in VB, maybe there is something wrong with your VB6 install?

  4. #4
    Low Bitrate erie's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    89
    I have code for both a serial XM reciver and serial control of my directTV receiver.

    There really isnt any code, hell even just "MSComm1.Output = "AT"& vbCRLF reboots my PC . . .
    Strange thing is that FreeFon works without a problem. Any help would be very appricated
    06 Galaxy Gray Si #0308
    CarPc Progress -
    10%---------50%---------100%
    -[XXXXXXXXXXXXXXXXXXXXXX]-

  5. #5
    Low Bitrate
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    63
    Are you able to open the com port successfully? ( MSComm1.PortOpen = True) or does that reboot too?

  6. #6
    Low Bitrate erie's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    89
    Ican open the port without problem . . . tray icon shows connected. Its when I send data it reboots. I tested with your app and it also rebooted my PC. Im pretty sure CDr also used the mscomm and his works. Damn him
    06 Galaxy Gray Si #0308
    CarPc Progress -
    10%---------50%---------100%
    -[XXXXXXXXXXXXXXXXXXXXXX]-

  7. #7
    Low Bitrate
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    63
    Haha wow, well if my app was doing the same thing, I would tend to lean towards a software issue with VB maybe? Sorry I can't be of much more help. but you've got me stumped

  8. #8
    Variable Bitrate kamikaze2112's Avatar
    Join Date
    Feb 2005
    Location
    Barrie Ontario
    Posts
    406
    is sounds like a port issue. I'd try uninstalling your BT adapter and removing all the devices that it installs, reboot, and reinstall the adapter. The other thing you can try is to disable the automatic reboot on system failure if you are using XP. Right-click "My Computer" and select "Properties". Click on the advanced tab, and then the "Settings" button under the Startup and recovery section. Uncheck the box that says "Automatically Restart on System Failure", and click OK, then OK again and reboot. Now instead of rebooting, your machine should display a BSoD with an error number. That might help you narrow your issue to a specific file or driver.


Similar Threads

  1. Bluetooth Dongle Not Working correctly
    By KingsDude in forum Wireless Communications
    Replies: 6
    Last Post: 05-17-2007, 02:30 PM

Bookmarks

Posting Permissions

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