openthread_sys

Function otSntpClientSetUnixEra

Source
pub unsafe extern "C" fn otSntpClientSetUnixEra(
    aInstance: *mut otInstance,
    aUnixEra: u32,
)
Expand description

Sets the unix era number.

The default value of unix era is set to 0. The subsequent eras start after year 2106.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aUnixEra Unix era number.