Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection.
From: Greg Scott [MS] (gregsco_at_online.microsoft.com)
Date: 05/25/04
- Next message: Greg Scott [MS]: "RE: WIDCOMM vs Microsoft for bluetooth"
- Previous message: Steve Maillet \(eMVP\): "Re: Preventing thread context switching"
- In reply to: PrasadBM: "Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection."
- Next in thread: PrasadBM: "Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection."
- Reply: PrasadBM: "Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 01:13:43 GMT
HP Pocket PCs do not use Microsoft's Bluetooth stack. They use a Bluetooth
stack from Widcomm. That is why you are seeing this error code. You are
pretty much out of luck on this device. Sorry...
I think Widcomm provides an SDK although it would only run on devices using
Widcomm's stack. You can check their website.
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
--------------------
| From: bashyam_p@yahoo.com (PrasadBM)
| Newsgroups: microsoft.public.windowsce.embedded.vc
| Subject: Re: ERROR_SERVICE_NOT_ACTIVE when i try to use
BthCreateACLConnection.
| Date: 23 May 2004 22:04:12 -0700
| Organization: http://groups.google.com
| Lines: 91
| Message-ID: <74bf46d5.0405232104.4fce7b3b@posting.google.com>
| References: <74bf46d5.0405200510.79d54e94@posting.google.com>
<sSU21y0PEHA.3960@cpmsftngxa10.phx.gbl>
| NNTP-Posting-Host: 202.56.254.13
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1085375052 9238 127.0.0.1 (24 May 2004
05:04:12 GMT)
| X-Complaints-To: groups-abuse@google.com
| NNTP-Posting-Date: Mon, 24 May 2004 05:04:12 +0000 (UTC)
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwi
x.com!newsfeed.cwix.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news
glorb.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsce.embedded.vc:32566
| X-Tomcat-NG: microsoft.public.windowsce.embedded.vc
|
| Thanks Greg for the reply,
|
| As you said AVDTP is a protocol over L2CAP, I have refferd to the
| samples
| public\common\oak\drivers\bluetooth\sample\l2capapi
| public\common\oak\drivers\bluetooth\sample\l2capdev
|
| Using the samples i have written the l2cap extension layer, and from
| the application i load the driver and when i make an L2CAPConnect api
| call i get an ERROR message saying request ERROR_SERVICE_NOT_ACTIVE.
|
| Iam using HP Pocket PC 2003 with WinCE 4.2. This Pocket PC has
| built-In Bluetooth Hardware Support, And Iam assuming that iam using
| the Built-In Bluettoth Hardware device and MS bluetooth Stack.
|
| Pls also Tell me can i use the Built In Bluetooth Hardware, if yes How
| can i use it?
|
| Thanks in advance,
| Prasad.
|
| gregsco@online.microsoft.com (Greg Scott [MS]) wrote in message
news:<sSU21y0PEHA.3960@cpmsftngxa10.phx.gbl>...
| > I believe AVDTP is a protocol on top of l2cap. Therefore, you will
have to
| > create an l2cap extension layer. See the following samples:
| >
| > public\common\oak\drivers\bluetooth\sample\l2capapi
| > public\common\oak\drivers\bluetooth\sample\l2capdev
| >
| > If any BT functions return ERROR_SERVICE_NOT_ACTIVE it usually means
the BT
| > stack is not up. What type of BT hardware are you using? Ensure that
you
| > are able to discover BT devices from the Bluetooth control panel app.
When
| > you get that working, your APIs should work fine.
| >
| > Try turning on debug zones in the BT stack to see what is happening
when
| > you plug in the BT hardware. If the hardware is not plug and play you
| > might try the following sample:
| >
| > public\common\oak\drivers\bluetooth\sample\btloader
| >
| > And run:
| > > btloader start card
| >
| > I hope this helps.
| >
| > Greg Scott
| > _____________________________________________________________
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| > _____________________________________________________________
| >
| > --------------------
| > | From: bashyam_p@yahoo.com (PrasadBM)
| > | Newsgroups: microsoft.public.windowsce.embedded.vc
| > | Subject: ERROR_SERVICE_NOT_ACTIVE when i try to use
| > BthCreateACLConnection.
| > | Date: 20 May 2004 06:10:33 -0700
| > | Organization: http://groups.google.com
| > | Lines: 19
| > | Message-ID: <74bf46d5.0405200510.79d54e94@posting.google.com>
| > | NNTP-Posting-Host: 202.56.254.13
| > | Content-Type: text/plain; charset=ISO-8859-1
| > | Content-Transfer-Encoding: 8bit
| > | X-Trace: posting.google.com 1085058633 25095 127.0.0.1 (20 May 2004
| > 13:10:33 GMT)
| > | X-Complaints-To: groups-abuse@google.com
| > | NNTP-Posting-Date: Thu, 20 May 2004 13:10:33 +0000 (UTC)
| > | Path:
| >
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
| >
ul.t-online.de!t-online.de!news.glorb.com!postnews1.google.com!not-for-mail
| > | Xref: cpmsftngxa10.phx.gbl
microsoft.public.windowsce.embedded.vc:32536
| > | X-Tomcat-NG: microsoft.public.windowsce.embedded.vc
| > |
| > | I wanted to develop a AVDTP profile on WinCE platform, using the
| > | Bluetooth Stack provided by the microsoft.
| > |
| > | But iam facing problems.
| > |
| > | Iam getting ERROR_SERVICE_NOT_ACTIVE error value when i try to use
any
| > | of the Bluetooth functioon like (BthCreateACLConnection, BthReadCOD,
| > | ....etc)
| > |
| > | Iam using WinCE 4.2, and iam building the bluetooth application for
| > | Pocket PC 2003.
| > |
| > | Please tell be what is the problem, and tell me what are the steps i
| > | need to follow to develop a AVDTP profile using Microsoft Bluetooth
| > | Stack.
| > |
| > | Thanks,
| > |
| > | -Prasad
| > |
|
- Next message: Greg Scott [MS]: "RE: WIDCOMM vs Microsoft for bluetooth"
- Previous message: Steve Maillet \(eMVP\): "Re: Preventing thread context switching"
- In reply to: PrasadBM: "Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection."
- Next in thread: PrasadBM: "Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection."
- Reply: PrasadBM: "Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|