libnrfserialization/serialization_tock.c
void timeout_timer_cb (int a, int b, int c, void* ud) {
    UNUSED_PARAMETER(a);
    UNUSED_PARAMETER(b);
    UNUSED_PARAMETER(c);
    UNUSED_PARAMETER(ud);

    // Uh oh did not get a response to a command packet.
    // Send up an error.
    _ser_phy_rx_event.evt_type = SER_PHY_EVT_HW_ERROR;
    if (_ser_phy_event_handler) {
        _ser_phy_event_handler(_ser_phy_rx_event);
    }
}
/*******************************************************************************
 * Callback from the UART layer in the kernel
 ******************************************************************************/
Callback from the UART layer in the kernel
Callback from the UART layer in the kernel
void timeout_timer_cb (int a, int b, int c, void* ud) {
    UNUSED_PARAMETER(a);
    UNUSED_PARAMETER(b);
    UNUSED_PARAMETER(c);
    UNUSED_PARAMETER(ud);
    _ser_phy_rx_event.evt_type = SER_PHY_EVT_HW_ERROR;
    if (_ser_phy_event_handler) {
        _ser_phy_event_handler(_ser_phy_rx_event);
    }
}
void timeout_timer_cb ( int a , int b , int c , void * ud ) { UNUSED_PARAMETER ( a ) ; UNUSED_PARAMETER ( b ) ; UNUSED_PARAMETER ( c ) ; UNUSED_PARAMETER ( ud ) ; _ser_phy_rx_event . evt_type = SER_PHY_EVT_HW_ERROR ; if ( _ser_phy_event_handler ) { _ser_phy_event_handler ( _ser_phy_rx_event ) ; } }
Callback from the UART layer in the kernel
Callback from the UART layer in the kernel
// Uh oh did not get a response to a command packet. // Send up an error.