From: Renier M. <re...@us...> - 2007-09-21 22:02:38
|
> ----- Message from "Toeung, Chanthy" <cha...@ca...> > on Fri, 21 Sep 2007 16:33:22 -0400 ----- > > Dear all, > I'm trying to create a function to get resource Id from entity path > by using the function saHpiGetIdByEntityPath . > while using this program, the function saHpiGetIdByEntityPath always > return some error code such as: > - SA_ERR_HPI_INVALID_RESOURCE > - or SA_ERR_HPI_CAPABILITY > The entity path is obtained from the function > oh_encode_entitypath(). So i'm sure that the entity path is correct. > Anyone have any idea on the error code that it return above ? Which version of OpenHPI are you using? and could you show the output that the function produces? --Renier > |