Appendix B ’SNMP Management’ — Getting Input Snapshot and Statistics
242 Amethyst III DTV Smart Switch
User Manual
Transport Stream Structure
The transport stream structure tables are updated after an update in the
transport stream structure and never more than once every 5 seconds:
supPhoIOTSTable
supPhoIOServiceTable
supPhoIOPIDTable
supPhoIONITDeliverySystemTable
Algorithm to get transport stream structures is as follows:
1. Wait for the notification of a transport stream structure change (SNMP trap).
2. Read and store the time of the last update (t1).
3. Read the content of the 4 following tables:
- supPhoIOTSTable
- supPhoIOServiceTable
- supPhoIOPIDTable
- supPhoIONITDeliverySystemTable
4. Read and store again the time of the last update (t2).
5. If t1 is equal to t2:
- The reading is good (no update during the reading step)
- Send the measurements to the task in charge to handle them
else:
- The reading is false (an update occurred during the reading step)
- Discard the measurements
6. Go to step 1.