feat(*): add version check things of s2110.
This commit is contained in:
parent
5ecd4be222
commit
a04da7dafa
|
@ -53,6 +53,11 @@ static const firmware_version_match_table_unit FSVM_TABLE[] ={
|
|||
{"MYNT-EYE-S1030", ">2.3.3", "<2.4.0", WARN_DESCRIPTION_F},
|
||||
{"MYNT-EYE-S1030", ">0.0.0", ">2.2.0", PASS_DESCRIPTION},
|
||||
{"MYNT-EYE-S1030", ">0.0.0", "<2.3.0", WARN_DESCRIPTION_F},
|
||||
/** S2110 */
|
||||
{"MYNT-EYE-S2110", ">2.4.1", "1.4", PASS_DESCRIPTION},
|
||||
{"MYNT-EYE-S2110", "2.4.1", "1.4", PASS_DESCRIPTION},
|
||||
{"MYNT-EYE-S2110", "2.4.1", "<1.4", WARN_DESCRIPTION_F},
|
||||
{"MYNT-EYE-S2110", "<2.4.1", "<1.4", WARN_DESCRIPTION_S},
|
||||
/** S2100 */
|
||||
{"MYNT-EYE-S2100", "2.3.5", "<1.2", WARN_DESCRIPTION_F},
|
||||
{"MYNT-EYE-S2100", ">2.3.3", ">1.0", PASS_DESCRIPTION},
|
||||
|
@ -143,6 +148,7 @@ bool checkIfDeviceInTable(const std::string& devn) {
|
|||
|
||||
bool checkFirmwareVersion(const std::shared_ptr<API> api) {
|
||||
auto sdkv = api->GetSDKVersion();
|
||||
std::cout << sdkv;
|
||||
auto devn = api->GetInfo(Info::DEVICE_NAME);
|
||||
auto firmv = api->GetInfo(Info::FIRMWARE_VERSION);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user