-
Bug
-
Resolution: Fixed
-
Medium
-
SimpleLink CC2640R2 SDK BLE Stack
-
BLESTACK-5222
-
BLE Stack 3.3.1
-
-
CC2640R2
Installer: simplelink_cc2640r2_sdk_3_30_00_20
Problem description:
When building a project with the broadcaster role configured in build_config.opt, you will get a warning:
Description Resource Path Location TypeDescription Resource Path Location Type#10189-D null: archive symbol directory is missing from archive "C:\ti\simplelink_cc2640r2_sdk_3_30_00_20\source\ti\blestack\blelib\host\cc26xx_l2cap_xxbx.a" host_test_cc2640r2lp_app C/C++ Problem
If you try to call GAP_deviceInit() in this project it will fail.
Steps to reproduce:
- Import host test
- Change the gaprole configuration in build_config.opt:
/* BLE Host Build Configurations */ /* -DHOST_CONFIG=PERIPHERAL_CFG */ /* -DHOST_CONFIG=CENTRAL_CFG */ -DHOST_CONFIG=BROADCASTER_CFG /* -DHOST_CONFIG=OBSERVER_CFG */ /* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */ /* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */ /* -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG*/
3. Rebuild the stack and app projects. In the app project you will get the warning.
4. Optional: Open BTool. Send a reset command followed by a GAP_deviceInit() for Broadcaster.
The GAP_deviceInit command will fail with status 0x02 invalid parameter.