473,396 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Mscomm Modem via Bluetooth Problem

Hello, here is my first question at thescripts.com :) Experts please help me

I use the following code to dial the bluetooth phone modem connected to my Laptop via serial port. The code dials the phone number well but after the sleep, it disconnects("ATH") resulting in the system crashes with the blue screen of death showing the following error:
IRQL_NOT_LESS_THAN_OR_EQUAL

I think the problem with the drivers and memory conflicts. Please give me an idea.

Expand|Select|Wrap|Line Numbers
  1. Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
  2.  
  3. Private Sub Form_Load()
  4.     Dim DialString As String, FromModem As String, dummy As String
  5.     MSComm1.InputLen = 0
  6.     MSComm1.CommPort = 9
  7.     MSComm1.Settings = "115200,n,8,1"
  8.     MSComm1.PortOpen = True
  9.     MSComm1.InBufferCount = 0
  10.     MSComm1.Output = "ATD 99863227654;" + vbCr
  11.     Sleep 5000
  12.     MSComm1.Output = "ATH" + vbCr
  13.     MSComm1.PortOpen = False
  14. End Sub
  15.  
For more information:
I use a HP Pavilion Laptop which has an integrated bluetooth, the phone is LG Dynamite.
Nov 27 '07 #1
1 2730
Dököll
2,364 Expert 2GB
Hello, here is my first question at thescripts.com :) Experts please help me

I use the following code to dial the bluetooth phone modem connected to my Laptop via serial port. The code dials the phone number well but after the sleep, it disconnects("ATH") resulting in the system crashes with the blue screen of death showing the following error:
IRQL_NOT_LESS_THAN_OR_EQUAL

I think the problem with the drivers and memory conflicts. Please give me an idea.

Expand|Select|Wrap|Line Numbers
  1. Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
  2.  
  3. Private Sub Form_Load()
  4.     Dim DialString As String, FromModem As String, dummy As String
  5.     MSComm1.InputLen = 0
  6.     MSComm1.CommPort = 9
  7.     MSComm1.Settings = "115200,n,8,1"
  8.     MSComm1.PortOpen = True
  9.     MSComm1.InBufferCount = 0
  10.     MSComm1.Output = "ATD 99863227654;" + vbCr
  11.     Sleep 5000
  12.     MSComm1.Output = "ATH" + vbCr
  13.     MSComm1.PortOpen = False
  14. End Sub
  15.  
For more information:
I use a HP Pavilion Laptop which has an integrated bluetooth, the phone is LG Dynamite.
Hello Sakibanda!

I found a number of links I thought might interest you:
http://www.google.com/search?sourcei...THAN_OR_EQUAL+

Please give them a whirl...
Nov 30 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: jinoy | last post by:
how can i detect an incoming caller's telephone keystroke using modem, using mscomm or other? how can i detect an outgoing call using mscomm? how can i get a caller id using mscomm?
1
by: jinoy | last post by:
how can i detect the dtmf tone using the mscomm control. pls send me the code of it.
1
by: caid | last post by:
Hi there. I'm writing a C# app (in VS.NET 2003) that sends a binary sms using MSComm. I got it going with a gsm modem, but ideally we want to use a cellphone as the sending device. However, when...
1
by: Recep TARAKÇI | last post by:
hi everbody i am using visual basic 2005. i am write a modem control program and get callerID value. i am send a AT command to modem. Dim mscomm1 As New MSCommLib.MSComm mscomm1.CommPort...
3
vijaydiwakar
by: vijaydiwakar | last post by:
I'm intrested to know abt TAPI,MSCOMM port communication with modem. I like to record the call on Modem using vb6 If any one have solution to this problem pls guide me....
2
vijaydiwakar
by: vijaydiwakar | last post by:
Hi, to all I like to record the call with the help of TAPI or Mscomm ctrl on modem. If any one have the ans then pls give it me with sample code
2
by: gregmartin | last post by:
It would be great to use my bluetooth connected phone to dial and start a voice call from a form. Have done this before using the pc internal modem but dont know where to start using a bluetooth...
0
by: daveman | last post by:
Hello, I'm encountering a "Blue Screen of Death" when I try to send data to a bluetooth sensor via a serial port, using the MSCOMM ActiveX object. I was wondering if anyone has any ideas how to...
3
by: MarkTingson | last post by:
Hello Scripters, I have a project that needs to connect with a bluetooth device. My bluetooth is connected to my USB Port..Is it possible to use MSCOMM control to access my bluetooth?. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.