-
Bug
-
Resolution: Fixed
-
Medium
-
SimpleLink CC2640R2 SDK BLE Stack
-
BLESTACK-5227
-
BLE Stack BLE5-1.1.7
-
-
CC2640R2
Installer: simplelink_cc2640r2_sdk_3_30_00_20
Problem description:
When using Host Test with the Broadcaster configuration, after sending GAP_DeviceInit() the device becomes unresponsive.
Steps to reproduce:
- Import Host test. Change build_config.opt to use the Broadcaster configuration.
/* 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 */
2. Build stack and app project and load the project.
3. Open the device in BTool.
4. BTool will automatically send a GAP_DeviceInit() cmd with the central role which will put the device in a fail state. At this point reset the device by pressing the Reset button on the LP.
5. Send HCIExt_ResetSystemCmd and check that the device is responding.
6. In BTool, enter "Advanced Commands" and send a GAP_DeviceInit command with only the Broadcaster role enabled.
The device never returns an event for this command. Expected: That the GAP_DeviceInit() command is successful and BTool prints out a success return event.