Hi,
I checked http://ti.com/ble-wiki and download CC2640_PeripheralObserverPatchV2_1.zip.
Then I tried to execute Observer + Peripheral function using CC2650STK,
but Observer function does not work at all while Peripheral function works good.
The error happens at following function which returns status=2(illegal parameter?!).
status = GAPObserverRole_StartDiscovery(DEFAULT_DISCOVERY_MODE, DEFAULT_DISCOVERY_ACTIVE_SCAN, DEFAULT_DISCOVERY_WHITE_LIST);
What I did is,
0. download SensorTag.hex file in ble_cc26xx_setupwin32_2_01_00_44423.exe to CC2650STK using Smart RF Programmer2.
1. using SensorTag project, merge simpleBLEPeripheral.c to SensorTag.c and merge peripheralObserver.c to peripheral.c , mainly #ifdef PLUS_OBSERVER part. (As I couldn't do well changing board setting to CC2650STK by importing SimpleBLEPeripheralObserver project.)
2. change buildConfig.cfg with -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG
3. add define of PLUS_OBSERVER
4. build and download to CC2650STK
Could anyone tell me how to make it work with Observer + Peripheral using CC2650STK step by step?
(I have checked all posts here, but anyone does not show how to setup Observer(or Central) function with CC2650STK.)
Thanks