[][src]Function openthread_sys::otSntpClientSetUnixEra

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

This function 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.