# devTool Implementation for deviceStatus & Log
###### tags: `server_Info`
> Assign to: Joes
> Date: 1st March 2022
> ETA: 00rd March 2022
> Device Type: Tool
> SubType: DevTool
> Command to get devTool details: curl http://localhost:3002/imageVersion
> Command to get version : cat /home/test/devToolServer/.version
#### Colection Name: deviceStatus
##### Structure :
```
{
"_id" : ObjectId("62187ac5ca283dc522a5a102"),
"date" : 1645771461902.0,
"serialNo" : "020",
"alive" : "on/off",
"version" : "V0.0.5_5a8e1a5",
"info" : "v0:V1.0.16A0_20210812, V1:V1.0.16A0_20210812..... ",
"error" : "",
"data" : {
"PCID" : "4c4c4544-0034-4b10-8034-b6c04f395832",
"commitID" : "5a8e1a5",
"tag" : "V0.0.5"
items:[
{
"v0":{
"version": "V1.0.16A0_20210812"
}},
{"v1":{
"version": "V1.0.16A0_20210812"
}}
]
}
}
deviceStatus.version:
command : cat /home/test/devToolServer/.version
Value: <tag_commitID>
deviceStatus.data:
command : curl http://localhost:3002/imageVersion
value: deviceStatus.data as shown above
```
### Device Log List
Type: usbVersion
```
{
"_id" : ObjectId("62189ded6af8ef001d586f64"),
"serialNo" : "024",
"type" : "usbVersion",
"info" : "Updates are, ......",
"data" : {
},
"date" : 1645780461602.0
}
```