Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Dear Team,
I am implementing observer functionality in my project using the CC2340R5 module as a peripheral with SDK 8.40.
In SysConfig, I know I can change the role to Peripheral + Observer, but due to the structure of my code, I want to manually
include app_observer.c in my project.
Upon testing, I found that the Observer_start() function does not return SUCCESS and instead gives a bleIncorrectMode error,
indicating that BLE is not set up properly to perform the requested task. I suspected that this might be due to the inability
to run advertising and scanning simultaneously, so I attempted to stop advertising before starting scanning. However,
I still received the same error.
I would appreciate any support in resolving this issue at the earliest. Additionally, if there is any relevant documentation
on this topic, please share it.
void App_StackInitDoneHandler(gapDeviceInitDoneEvent_t *deviceInitDoneData)
{
bStatus_t status = SUCCESS;
//DevInfo_start();
Observer_start();
vfn_BCPT_Init();
s_DSM_Init();
Peripheral_start();
Connection_start();
Pairing_start();
Data_start();
}
Regards,
Shivam

