DVBCore  20.3.0
DVBCore Documentation
Typedefs | Enumerations | Functions
stbhwc.h File Reference

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)
 

Detailed Description

Function prototypes for HW control.

Date
26/09/2000

Definition in file stbhwc.h.

Function Documentation

◆ STB_GetSqlFileName()

BOOLEAN STB_GetSqlFileName ( U8BIT *  pathname,
U16BIT  max_pathname_len 
)

Gives the name (optionally including path) of the SQL database file.

Parameters
pathname- array into which the full path will be written
max_pathname_len- size of the pathname array
Returns
TRUE if the pathname is returned successfully.

◆ STB_HWGetAudioDecodePaths()

U8BIT STB_HWGetAudioDecodePaths ( void  )

Returns the number of audio decoding paths on the platform.

Returns
The number of audio decode paths

◆ STB_HWGetBoxSerialNumber()

U32BIT STB_HWGetBoxSerialNumber ( void  )

Returns the serial number of the Set Top Box.

Returns
The serial number

◆ STB_HWGetCustomerId()

U16BIT STB_HWGetCustomerId ( void  )

Returns the platform customer identifier code.

Returns
The platform id

◆ STB_HWGetDemuxPaths()

U8BIT STB_HWGetDemuxPaths ( void  )

Queries the number of demux paths available.

Returns
The number of demux paths

◆ STB_HWGetHwId()

U16BIT STB_HWGetHwId ( void  )

Returns the platform hardware identifier code.

Returns
The platform id

◆ STB_HWGetNumCISlots()

U8BIT STB_HWGetNumCISlots ( void  )

Returns the serial number of the Set Top Box.

Returns
The serial number

◆ STB_HWGetNumRecorders()

U8BIT STB_HWGetNumRecorders ( void  )

Returns the number of recordings that can take place at the same time.

Returns
The number of recordings

◆ STB_HWGetNumSCSlots()

U8BIT STB_HWGetNumSCSlots ( void  )

Returns the number of CI slots on the platorm.

Returns
The number of CI slots

◆ STB_HWGetOUI()

U8BIT* STB_HWGetOUI ( void  )

Returns the number of smart card slots on the platorm.

Returns
The number of smart card slots

◆ STB_HWGetTunerPaths()

U8BIT STB_HWGetTunerPaths ( void  )

Returns the number of front end (Tuner) paths on the platform.

Returns
The number of tuner paths

◆ STB_HWGetVideoDecodePaths()

U8BIT STB_HWGetVideoDecodePaths ( void  )

Returns the number of video decoding paths on the platform.

Returns
The number of video decode paths

◆ STB_SPDebugAssertFail()

void STB_SPDebugAssertFail ( const char *  file,
int  line,
const char *  eval_str 
)

Report Assertion failure.

Parameters
filename of source file
lineline number of source file
eval_strevaluation string that failed

◆ STB_SPDebugNoCnWrite()

void STB_SPDebugNoCnWrite ( const char *  format,
  ... 
)

Writes debug string to the serial port without <CR><LF>

Parameters
formatstring & format

◆ STB_SPDebugWrite()

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.

Parameters
formatstring & format