Geeks With Blogs
Doug Moore All Things WM / CE5 / CE6 / WEC7 / WEC2013

RE: "Bluetooth Protocol Stack with Transport Driver Support" catalog items

For our device, the interface to our built in Bluetooth radio is a UART (COM port) so
the only Bluetooth transport we need in our OS Design is the "Bluetooth Stack with Integrated UART Driver". (SYSGEN_BTH_UART_ONLY)

However, when choosing just that (instead of choosing the "Universal Loadable Driver") my OS image ended up not having the REG or BIB file entries I expected for "bthuart.dll", there was no transport at all.

Looking into the issue I found the reason why.

C:\WINCE600\PUBLIC\CEBASE\OAK\MISC\winceos.bat
is missing the BTD_DRIVERS and CE_MODULES entries for :bth_uart_only and :bth_csr_only
(like the other similar transports have)

When finished editing this file it should look like this:

:bth_uart_only
set BTD_COMPONENTS=%BTD_COMPONENTS% uart
set BTD_DRIVERS=bthuart
set CE_MODULES=%CE_MODULES% %BTD_DRIVERS%
goto endbluetooth
:bth_csr_only
set BTD_COMPONENTS=%BTD_COMPONENTS% csr
set BTD_DRIVERS=bthcsr
set CE_MODULES=%CE_MODULES% %BTD_DRIVERS%
goto endbluetooth

You must do a clean sysgen of your OS Design to pick up the change.

Posted on Tuesday, August 2, 2011 6:36 PM | Back to top


Comments on this post: SYSGEN_BTH_UART_ONLY (winceos.bat bug fix)

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Doug Moore | Powered by: GeeksWithBlogs.net