Embed ware version interface in shimlib
This commit is contained in:
@@ -111,6 +111,8 @@ const char* GetDeviceInfo(DeviceInfo infoType) {
|
|||||||
switch (infoType) {
|
switch (infoType) {
|
||||||
case MEAN_TEMPERATURE:
|
case MEAN_TEMPERATURE:
|
||||||
return "28";
|
return "28";
|
||||||
|
case VERSION:
|
||||||
|
return "v6.6.06";
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,8 @@ typedef enum {
|
|||||||
|
|
||||||
//kinds of device information
|
//kinds of device information
|
||||||
typedef enum {
|
typedef enum {
|
||||||
MEAN_TEMPERATURE
|
MEAN_TEMPERATURE,
|
||||||
|
VERSION
|
||||||
} DeviceInfo;
|
} DeviceInfo;
|
||||||
|
|
||||||
extern int InitLib(void(*)(const char *msg));
|
extern int InitLib(void(*)(const char *msg));
|
||||||
|
|||||||
Reference in New Issue
Block a user