Core definitions and functions for the rtc.io suite