Part Number: CC2650
Tool/software: TI-RTOS
Hi,
I am using cc2650 launchpad for development, in that i used simple_peripheral as example. everything worked fine but when i included blink led operation in this example, code get complied but over the launch board led blink operation does not perform well.
I included led blink function in SimpleBLEPeripheral_taskFxn() in for(;;) loop, when i perform this code led blink for 2-3 time after that it does not blink. So i changed task stack size(3024) as well as run time stack size(2024) also(took random values- i tried with low values first), but for every value of combinations same kind of output seen.
code format:
==========
static void SimpleBLEPeripheral_taskFxn(UArg a0, UArg a1)
{
// Initialize application
SimpleBLEPeripheral_init();
// Application main loop
for (;;)
{
doWork();
CPUdelay(24e6); .........................................
//Led_Blink Function
void doWork(void)
{
PIN_setOutputValue(ledPinHandle, Board_LED0, 1);
CPUdelay(24e6);
PIN_setOutputValue(ledPinHandle, Board_LED0, 0);
}
Is there any kind of stack overflow problem or something else?
2) after hit scan key in BLE_Device _Monitor i am able to see simple peripheral in device list but when i hit connect key that time i get following error-
GAP Link Established : Status=18 h=0000
& this error comes with all provided examples in sdk (ble_sdk_2_02_01_18).
what kind of error is this?
Thank you.