ARM/Nordic/nRF52/nRF52840/exemples/MeshLgtSwServer/src/main.c
static void app_onoff_server_transition_cb(const app_onoff_server_t * p_server,
                                                uint32_t transition_time_ms, bool target_onoff)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Transition time: %d, Target OnOff: %d\n",
                                       transition_time_ms, target_onoff);
}
/* Callback for updating the hardware state */
Callback for updating the hardware state
Callback for updating the hardware state
static void app_onoff_server_transition_cb(const app_onoff_server_t * p_server,
                                                uint32_t transition_time_ms, bool target_onoff)
{
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Transition time: %d, Target OnOff: %d\n",
                                       transition_time_ms, target_onoff);
}
static void app_onoff_server_transition_cb ( const app_onoff_server_t * p_server , uint32_t transition_time_ms , bool target_onoff ) { __LOG ( LOG_SRC_APP , LOG_LEVEL_INFO , " \n " , transition_time_ms , target_onoff ) ; }
Callback for updating the hardware state
Callback for updating the hardware state