Bluetooth_Mesh_Network_Project_Source/Mesh_Comm_Files/app.c
void BleApp_GenericCallback (gapGenericEvent_t* pGenericEvent)
{
    switch (pGenericEvent->eventType)
    {
        case gInitializationComplete_c:    
        {
            AppConfig();
        }
        break;    

        case gInternalError_c:
        {
            Led2On();
            panic(0,0,0,0);
        }
        break;
        
        default: 
            break;
    }
}
/*! *********************************************************************************
* \brief        Handles BLE generic callback.
*
* \param[in]    pGenericEvent    Pointer to gapGenericEvent_t.
********************************************************************************** */
\brief        Handles BLE generic callback.
\ brief Handles BLE generic callback .
void BleApp_GenericCallback (gapGenericEvent_t* pGenericEvent)
{
    switch (pGenericEvent->eventType)
    {
        case gInitializationComplete_c:    
        {
            AppConfig();
        }
        break;    
        case gInternalError_c:
        {
            Led2On();
            panic(0,0,0,0);
        }
        break;
        default: 
            break;
    }
}
void BleApp_GenericCallback ( gapGenericEvent_t * pGenericEvent ) { switch ( pGenericEvent -> eventType ) { case gInitializationComplete_c : { AppConfig ( ) ; } break ; case gInternalError_c : { Led2On ( ) ; panic ( 0 , 0 , 0 , 0 ) ; } break ; default : break ; } }
\brief        Handles BLE generic callback.
\ brief Handles BLE generic callback .