Part Number: CC2640R2F
Tool/software: Code Composer Studio
Hello!
I have my app based on cc2640r2 simple peripheral example using blestack on custom board. It works fine with ble 5 ( i have a phone with ble 5 and a laptop with ble 4 and a few more devices with ble 4 ). But if i try to use ble 4 device - it can't connect with my application. Trying to fix it i found an intresting thing - if i don't call my simple periodic task
if (events & SBP_PERIODIC_EVT)
{
Util_startClock(&periodicClock);
// Perform periodic application task
SimplePeripheral_performPeriodicTask();
}
, or if i would call it with a few simple actions inside - all parts of cc2640r2 application would work fine with all my ble 4 and ble 5 external devices, but if it perfoms my task - i can work with my cc2640r2 device only using ble 5 devices..
How can i fix this problem?
And i have a problem with GAPROLE_WAITING - when i connect with phone to cc2640r2 device and then disconnect - gap task goes into GAPROLE_WAITING and stops simple_peripheral task clock - so the task stoping to performing, if i connect again - simple peripheral task would start. Why do i have such a problem?
Best regards, Dmitriy.
