I am trying to access the watchdog timer in Solaris using the IPMI v2. But not able to figure out how to start with. I am trying to access watchdog using /dev/bmc interface. I read the whole documentation for IPMI v2 on site. But no sample prgram has been given, just a lame algorithm has been mentioned.
Can any one please let me know, or give me a demo code of how to connect to /dev/bmc inteface, how to fire the command, how to send the command and get the response from BMC, in a simple way so that I can understand the concept.
Please give a small working program in C. I have tried looking to OpenIPMI, FreeIPMI and various other things, but they are far too complex to understand.