logo.png

Mib Snmp

LibSnmp

Grammaire

Intégration

Home Up


Contents



1 Introduction


2 Grammaire théorique

Il faut ajouter un nouveau shell : fichier  /SBig/Server/Bigd/Big/POWERControl.c. Sa grammaire sera du type :

order: POWER command1
     | POWER idAlim command2
     | POWER idSensor command3

idAalim: NE
       | NW
       | SE
       | SW

idSensor: S[1-6]

command1: ON 
        | OFF
        | GET STATE
        | GET MAXTEMP

command2: GET SENSE VOLTAGE
        | GET NOMINAL VOLTAGE
        | GET CURRENT

command3: GET TEMP


3 Grammaire implémentée

order: POWER command1

command1: ON 
        | OFF

Home Up

This document is also available in PDF and PostScript format.



2016-02-15