System Time retrieval and settings
I have a question regarding MPEOS System Time API (mpeos_getTime).
The current implementation uses system call to retrieve the system time.
This works well on the PC emulator, because the system clock is correctly initialized.
However this may not work on an embedded device, because system time needs to be initialized first.
So MPEOS needs to acquire the system time from the CableCard by looking at the System Time Table (STT)
The OpenCable Host seems to indicate that local time shall be provided by host as defined in SCTE65.
The question is what should be the time base and format returned by mpeos_getTime()? The STT time is based on Jan, 6th 1980. And it looks like mpeos_getTime() is expected to be based on Jan. 1th 1970.
Is MPEOS required to convert from one base to another?