![]() |
DVBCore
22.3.0
Open Source DVB Engine
|
Function prototypes for HW control. More...
#include "techtype.h"
Go to the source code of this file.
Typedefs | |
typedef enum e_hw_status | E_HW_STATUS |
Enumerations | |
enum | E_STB_SP_HANDSHAKING { HANDSHAKING_NONE, HANDSHAKING_XONXOFF, HANDSHAKING_RTSCTS } |
enum | e_hw_status { HW_OK = 0, HW_GEN_ERROR, HW_BAD_PARAM, HW_NO_MEMORY } |
Functions | |
void | STB_SPWrite (U8BIT *data, U32BIT len, U32BIT timeout, U32BIT *written) |
void | STB_SPRead (U8BIT *data, U32BIT len, U32BIT timeout, U32BIT *read) |
void | STB_SPDebugWrite (const char *format,...) |
Write debug string to serial/debug port. <CR><LF> characters will be automatically added to the end of the string. More... | |
void | STB_SPDebugNoCnWrite (const char *format,...) |
Writes debug string to the serial port without <CR><LF> More... | |
void | STB_SPDebugAssertFail (const char *file, int line, const char *eval_str) |
Report Assertion failure. More... | |
U8BIT | STB_HWGetTunerPaths (void) |
Returns the number of front end (Tuner) paths on the platform. More... | |
U8BIT | STB_HWGetNumRecorders (void) |
Returns the number of recordings that can take place at the same time. More... | |
U8BIT | STB_HWGetAudioDecodePaths (void) |
Returns the number of audio decoding paths on the platform. More... | |
U8BIT | STB_HWGetVideoDecodePaths (void) |
Returns the number of video decoding paths on the platform. More... | |
U8BIT | STB_HWGetDemuxPaths (void) |
Queries the number of demux paths available. More... | |
U8BIT | STB_HWGetNumCISlots (void) |
Returns the serial number of the Set Top Box. More... | |
U8BIT | STB_HWGetNumSCSlots (void) |
Returns the number of CI slots on the platorm. More... | |
U8BIT * | STB_HWGetOUI (void) |
Returns the number of smart card slots on the platorm. More... | |
U16BIT | STB_HWGetHwId (void) |
Returns the platform hardware identifier code. More... | |
U16BIT | STB_HWGetCustomerId (void) |
Returns the platform customer identifier code. More... | |
U32BIT | STB_HWGetBoxSerialNumber (void) |
Returns the serial number of the Set Top Box. More... | |
BOOLEAN | STB_GetSqlFileName (U8BIT *pathname, U16BIT max_pathname_len) |
Gives the name (optionally including path) of the SQL database file. More... | |
void | STB_HWInitialiseVBI (void) |
void | STB_HWVBIInsert (U8BIT *pes_data_field, U32BIT num_bytes) |
Function prototypes for HW control.
BOOLEAN STB_GetSqlFileName | ( | U8BIT * | pathname, |
U16BIT | max_pathname_len | ||
) |
Gives the name (optionally including path) of the SQL database file.
pathname | - array into which the full path will be written |
max_pathname_len | - size of the pathname array |
U8BIT STB_HWGetAudioDecodePaths | ( | void | ) |
Returns the number of audio decoding paths on the platform.
U32BIT STB_HWGetBoxSerialNumber | ( | void | ) |
Returns the serial number of the Set Top Box.
U16BIT STB_HWGetCustomerId | ( | void | ) |
Returns the platform customer identifier code.
U8BIT STB_HWGetDemuxPaths | ( | void | ) |
Queries the number of demux paths available.
U16BIT STB_HWGetHwId | ( | void | ) |
Returns the platform hardware identifier code.
U8BIT STB_HWGetNumCISlots | ( | void | ) |
Returns the serial number of the Set Top Box.
U8BIT STB_HWGetNumRecorders | ( | void | ) |
Returns the number of recordings that can take place at the same time.
U8BIT STB_HWGetNumSCSlots | ( | void | ) |
Returns the number of CI slots on the platorm.
U8BIT* STB_HWGetOUI | ( | void | ) |
Returns the number of smart card slots on the platorm.
U8BIT STB_HWGetTunerPaths | ( | void | ) |
Returns the number of front end (Tuner) paths on the platform.
U8BIT STB_HWGetVideoDecodePaths | ( | void | ) |
Returns the number of video decoding paths on the platform.
void STB_SPDebugAssertFail | ( | const char * | file, |
int | line, | ||
const char * | eval_str | ||
) |
Report Assertion failure.
file | name of source file |
line | line number of source file |
eval_str | evaluation string that failed |
void STB_SPDebugNoCnWrite | ( | const char * | format, |
... | |||
) |
Writes debug string to the serial port without <CR><LF>
format | string & format |
void STB_SPDebugWrite | ( | const char * | format, |
... | |||
) |
Write debug string to serial/debug port. <CR><LF> characters will be automatically added to the end of the string.
format | string & format |