Hello all,
Hardware Setup :
- MSP430F5438A Experimentor board
- CC256xQFN EM (rf3 block simulated with jumpers, except connection 11 - 14, otherwise BT stack will not initialize)
- MSPFET
Software setup :
- CCS : CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples
I followed instructions from http://processors.wiki.ti.com/index.php/CC256x_MSP430_Bluetopia_Basic_SPPDemo_APP, so I flashed to SPP+LE demo app to be able to setup connection between blueterm and msp-board...
Log :
<minicom>
SPP+LE>OpenStack().
?Bluetooth Stack ID: 1.
Device Chipset: 4.1.
BD_ADDR: 0xD03972CD54C7
SPP+LE>server
....
SPP+LE>SetPairabilityMode 1
Pairability Mode Changed to lpmPairableMode.
LE: I/O Capabilities: No Input/Output, MITM: TRUE.
BR/EDR: I/O Capabilities: Keyboard Only, MITM: TRUE.
SPP+LE>SetDiscoverabilityMode 2
Discoverability: General.
SPP+LE>SetConnectabilityMode 1
Connectability Mode: Connectable.
SPP+LE>ChangeSimplePairingParameters 2 1
LE: I/O Capabilities: No Input/Output, MITM: TRUE.
BR/EDR: I/O Capabilities: Keyboard Only, MITM: TRUE.
(I tried all param combinations 2 0, 1 0, 3 0 ...)
SPP+LE>open 1
Server Opened: Server Port 1, Serial Port ID 5.
Server Port Context Stored.
.. Now i can already see the device show up after I scan for BT-enabled devices on my android phone ...
I try to "pair" it, the android device pops up the "enter pin code" window, I type in a pincode, but nothing happens in my minicom terminal. According to the Wiki page, the demo app should ask for passkey confirmation, but I'm not seeing anything.
I also tried with the SSPDemo, but I couldn't even set Discoverability, not Pairability ...
Server>SetDiscoverabilityMode 2
GAP_Set_Discoverability_Mode Failed: -14.
Function Error.
What am I missing here ? Any advice much appreciated ...
thnx
Gert