RE: BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
- From: gregsco@xxxxxxxxxxxxxxxxxxxx (Greg Scott [MS])
- Date: Fri, 29 Apr 2005 19:52:29 GMT
You should only see this error code in the following scenarios:
1) The BT stack is not in your image (i.e. SYSGEN_BTH not set).
2) There is currently no BT hardware in the system or the stack has been
programatically stopped (via "btloader stop card")
3) It is too early in the boot process and btd.dll has not loaded yet.
If OBEX and other services are working fine none of the above cases should
be true. That is strange.
It is expected that BthReadLocalAddr will fail if the BT stack has not
loaded yet. You can listen on the following named event to get a
notification when the BT stack comes up:
In bt_api.h:
#define BTH_NAMEDEVENT_STACK_INITED
L"system/events/bluetooth/StackInitialized"
I hope this helps.
Greg Scott
Software Design Engineer, Windows CE
Microsoft Corporation
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
--------------------
| Thread-Topic: BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
| thread-index: AcVLzQvifRFxJ71GRgCsOlgy0GdRwA==
| X-WBNR-Posting-Host: 81.208.46.106
| From: =?Utf-8?B?bWFyY29z?= <marcos@xxxxxxxxxxxxxxxxxxxxxxxxx>
| Subject: BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
| Date: Thu, 28 Apr 2005 01:34:08 -0700
| Lines: 21
| Message-ID: <494C84EB-A7D1-4819-AF38-FE12C5176FE3@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.windowsce.platbuilder
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsce.platbuilder:18362
| X-Tomcat-NG: microsoft.public.windowsce.platbuilder
|
| Hi
| I'm using the microsoft stack with big satisfaction
| with an uart hci module by ZeeVo
|
| anyway sometimes the BthReadLocalAddr returns ERROR_SERVICE_NOT_ACTIVE
| even if the stack is running and is working fine with
| port emulation , obex and headset gateway.....
|
| maybe does it exist some bug fix or qfe about the BthReadLocalAddr ?
|
| it seems that if I call the BthReadLocalAddr after few seconds after the
| system boot the function fails and it continues to fail on the next calls
|
| while if I call it later, it works always fine
|
|
|
| best regards
|
| --
| Marco
|
.
- References:
- BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
- From: marcos
- BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
- Prev by Date: Re: In CEPB 4.2, Target -> Run, never gets activated.
- Next by Date: Re: Issue with Video rendering capabilities.
- Previous by thread: BthReadLocalAddr return ERROR_SERVICE_NOT_ACTIVE
- Next by thread: What is the purpose with DRIVER\DRVLIB?
- Index(es):
Relevant Pages
|
|