Specifications
4
Changing Shelf Settings Using HPI
57
Writing HPI applications
ThefollowingarerequiredtocreateanHPIapplication:
SaHpi.h TheofficialHPIB.03.02headerfile,whichisrequiredtocreateanyHPI
B.03.02userapplication.Theheaderfileisalsobackwardcompatiblewith
HPIB.01.01andHPIB.02.01.YoucandownloadthisfromtheService
AvailabilityForum(SAF)Website(http://www.saforum.org),anditisalso
includedaspartoftheRadisysHPIclientlibraryandapplicationpackage.
SaHpiAtca.h TheAdvancedTCA‐specificheaderfile,whichprovidesdefinitionsand
symbolsforallstandardresourcesandmanagementinstrumentsmodeling
differentaspectsandentitiesofanAdvancedTCAplatform.Although
SaHpiAtca.hisnotnecessarytocreateastandardHPIapplication,an
AdvancedTCA‐specificHPIapplicationcanusethesymbolsdefinedinthisfile
todirectlycalloutAdvancedTCA‐specificresources,sensors,andcontrols.
ThisfileisincludedaspartoftheRadisysHPIclientlibraryandapplication
package,andcanalsobedownloadedfromtheSAFWebsite.
libhcl.so TheHCLforLinux,whichuserapplicationsneedtolinkwithinorderto
communicatewiththeHPIserver.TheHCLcanbelinkedatcompiletimeor
loadedduringruntimewithanHPI‐compliantapplication.TheHCLis
installedontheShelfManagermodule,andisalsoavailableontheRadisys
FTPsiteassourcecodewithbuildinstructionsforLinuxoperatingsystems.
Thearchivealsoincludesthehpiappexampleapplication sourcecode,along
withotherHPIdemoapplications.