Hello,
I am trying to setup the counter in the following way in the SC_EVT_ADV_REPORT Case of SimpleCentral_processAppMsg function -
if (strcmp(Util_convertBytes2Str(pAdvRpt->addr) == "F0F8F228E445"))
{
counter = counter + 1;
Display_print1(dispHandle, 4, 0, "Counter: %d",counter);
}
I keep on receiving - error: function definition is not allowed here.
Can you please help me resolve this?