Skip to main content

Mpeos Section Filter Events

2 replies [Last post]
amirn
Offline
Joined: 2009-05-06
Points: 0

Hi,

I have a question regarding events generated by the mpeos section filter APIs.
The API descriptions seem to be incomplete.

Could you please clarify which events are to be posted in the queueID passed in mpeos_filterSetFilter() and which events are to be posted in the queueID from mpeos_filterRegisterAvailability() ?

And also when/which case these events need to be posted.

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
greg80303
Offline
Joined: 2008-07-03
Points: 0

The queue passed to mpeos_filterSetFilter only receives events related to the particular section request (MPE_SF_EVENT_SECTION_FOUND, MPE_SF_EVENT_FILTER_CANCELED, etc).

In most set-top platforms, hardware section filters are a scarce resource. The queue(s) passed to mpeos_filterRegisterAvailability receive an event when section filter resources become available (MPE_SF_EVENT_FILTER_AVAILABLE). The filter events are defined in $OCAPROOT/mpe/include/mpe_filterevents.h

NOTE: The MPEOS APIs are heavily commented in $OCAPROOT/mpe/os/include. For most APIs the header comments should describe their intent along with the format for all passed paramters. If you find any of these comments to be in error or misleading, please post those issues on these forums.

G

mmsjc
Offline
Joined: 2009-10-21
Points: 0

Where do I get the details of the following Error codes defined in \mpe\include\mpe_filterevents.h ?

#define MPE_SF_ERROR_CA (MPE_SF_ERROR + 7)
#define MPE_SF_ERROR_CA_ENTITLEMENT (MPE_SF_ERROR_CA + 1)
#define MPE_SF_ERROR_CA_RATING (MPE_SF_ERROR_CA + 2)
#define MPE_SF_ERROR_CA_TECHNICAL (MPE_SF_ERROR_CA + 3)
#define MPE_SF_ERROR_CA_BLACKOUT (MPE_SF_ERROR_CA + 4)
#define MPE_SF_ERROR_CA_DIAG (MPE_SF_ERROR_CA + 5)
#define MPE_SF_ERROR_CA_DIAG_PAYMENT (MPE_SF_ERROR_CA_DIAG + 1)
#define MPE_SF_ERROR_CA_DIAG_RATING (MPE_SF_ERROR_CA_DIAG + 2)
#define MPE_SF_ERROR_CA_DIAG_TECHNICAL (MPE_SF_ERROR_CA_DIAG + 3)
#define MPE_SF_ERROR_CA_DIAG_PREVIEW (MPE_SF_ERROR_CA_DIAG + 4)