I have a board that could be populated with one of two slightly different
serial bluetooth modules.
They have different baudrate capabilities and some other differences. I have
a hardware switch that I can read to determine the populated module.
I would like to build just one image to support them both.
I think I can do something like:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\BuiltIn\1]
"Driver"="brf6300.dll"
"Flags"=dword:0
"Name"="COM1:"
"Baud"=dword:1c200
"ResetDelay"=dword:DAC
"Priority256"=dword:78
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Transports\BuiltIn\2]
"Driver"="brf6300.dll"
"Flags"=dword:0
"Name"="COM1:"
"Baud"=dword:2580
"ResetDelay"=dword:200
"Priority256"=dword:78
I can detect at run time which module is populated but how do I control
which transport to bind too?
I would think there is some kind of API call I can make??