#ifndef __SENSOR_THREAD_H__
#define __SENSOR_THREAD_H__

#include "sensor_sdr.h"
#include "sensor_tbl.h"
#include <stdint.h>
#include "bmc_type.h"
#include "bmc_conf.h"
#include "bmc_main.h"
void 		*sensor_main(void *args);
sensor_tbl_t *getSensorDev(uint8_t sensorNum);
SDRRec_T *getSensorSdr(uint8_t sensorNum);

int GetSDRRepositoryInfo (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);

int GetSDR (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);

int ReserveSDRRepository (_NEAR_ INT8U* pReq, INT8U ReqLen, _NEAR_ INT8U* pRes,_NEAR_ int BMCInst);

#endif /* __SENSOR_THREAD_H__ */
