Hi
I'm using the the masterSlaveSwitch app as the basis of a project I'm working on for the CC2541DK-MINI Keyfob using v1.2 ie linking against CC2541_ble_single_chip_all. The problem I'm having is seeing the GAP_DEVICE_INFO_EVENT my callback looks like this:
static void blePlatformCentralEventCB(gapCentralRoleEvent_t *pEvent)
{
switch (pEvent->gap.opcode)
{
case GAP_DEVICE_INIT_DONE_EVENT:
GAPCentralRole_StartDiscovery(DEFAULT_DISCOVERY_MODE, DEFAULT_DISCOVERY_ACTIVE_SCAN, DEFAULT_DISCOVERY_WHITE_LIST);
break;
....
case GAP_DEVICE_DISCOVERY_EVENT:
case GAP_DEVICE_INFO_EVENT:
seeWhatIsAdvert();
It never hits the seeWhatIsAdvert even though I can verify there are ads from an app (simpleBLEPeripheral) and I can discover this device using the BTool commands.
Are there any gotcha's in setup I'm using?
TIA
Kevin