B2C2, Inc. - Software Development Kit

Code Sample Applications > b2status

b2status

b2status is a Windows/Linux command-line application that reports the current tuner status, including tuner capabilities/settings/performance and information on the IP/Audio/Video/Raw Transport streams currently set/running.

Running the Application

Run b2status directly from the command prompt by typing b2settuner followed by the required command-line arguments. Note: Settings provided are for example only. Actual Tuner and PID settings vary with the local network.

Example:

b2status -a eth1

To run b2status from script, edit a *.bat file script such as run_tavf_sat.bat using required command-line arguments. Run the *.bat file by typing its name (run_tavf_sat.bat) at the command prompt.

Command-line Arguments

Required Argument

Description

Example

  -a  

Adapter name. (Linux only)

  -a eth1

Optional Arguments

 

 

   
  -all  

Show all information for selected adapter (default).

   
 
-tc
  Show tuner capabilities.    
 
-ti
  Show tuner information.    
 
-ip
  Show IP information.    
 
-ts
  Show TS information.    
 
-av
  Show A/V information.    
 
-h
  Help.    

b2status Output

**************** Tuner capabilities: ********************
Tuner type : Satellite
Transponder frequency range : 950000 kHz - 15000000 kHz
Tuner frequency range : 940000 kHz - 2200000 kHz
Symbol rate range : 1000 kS/s - 45000 kS/s
Auto Symbol Rate : SUPPORTED
BER : SUPPORTED
SNR : SUPPORTED
Signal Strength : NOT SUPPORTED
Signal Quality : SUPPORTED
Total Block Count : NOT SUPPORTED
Corrected Block Count : NOT SUPPORTED
Uncorrected Block Count : SUPPORTED Global Key : SUPPORTED
PID-only Key : SUPPORTED
PID-TSC Keys Max : 7 ************* Current Tuner information: ****************
Status In Lock : YES
Signal Strength : n/s
Signal Quality : 41 %
SNR : 6.273000
BER : 0.000062
Total Blocks : n/s
Corrected Blocks : n/s
Uncorrected Blocks : 0
Settings Frequency : 12515 MHz
Symbol Rate : 20000 kS/s
FEC : AUTO
Polarity : VERTICAL
Modulation : n/s
Diseqc : NONE
LNB Frequ. : 11250 MHz
LNB Select. : 0 kHz
Guard Interv. : n/s
Keys : Max 8, Current 3 :
1:0x0100(256),10 2:0x0100(256),11
3:GLOBAL **************** IP statistics: *************************
IP Streams : 1 open, 1 running
IP PIDs : Max 33, Current 0 Datagram Table ID : 3F Hardware MAC Address : 00:D0:D7:B2:C2:B0
Unicast MAC Address : 00:D0:D7:B2:C2:B0
Multicast MAC Filters: Currently 1 of 32 maximum set:
1 : 01:00:5E:00:00:01
Total received : 0 bytes in 0 IP packets.
**************** TS statistics: *************************
TS Streams : 1 open, 0 running.
TS PIDs : Max. 39, Current 0
**************** AV/TS information: *********************
Audio Streams : 1 open, 0 running
Audio PID : not set
Video Streams : 1 open, 0 running
Video PID : not set
*********************************************************

Return to Top


Copyright © 1998-2002 B2C2, Inc. Proprietary and Confidential