Hi,
I'm developing a windows service that controls/monitors the above mentioned mining applications by their API. Currently I facing the problem that I have to map the information that I receive from "dev" command to the information I received from "devdetails". As reponse of "devdetails" I get an unique ID, but how I can identify which device is the related in the "dev" response? I could imagine it would be possible to bypass the problem by first receiving all devices from the "devdetails" command, and then to request the information explicit by "gpu"/"cpu"/"pga" and the ID I received from "devdetails" command. Unfortunately I have no possibilities for testing it as I don't have multiple mining devices. Some advice would be highly appreciated.
Thank you very much in advance!
In the response for "devdetails" I get the property "ID" for every device. For my GPU its 0. Where do you see the ID in the response for dev command?
{"command":"dev"}
{"STATUS":[{"STATUS":"S","When":1369551768,"Code":9,"Msg":"1 GPU(s) - 0 ASC(s) -
0 PGA(s) - ","Description":"cgminer 3.1.1"}],"DEVS":[{"GPU":0,"Enabled":"Y","St
atus":"Alive","Temperature":0.00,"Fan Speed":0,"Fan Percent":0,"GPU Clock":0,"Me
mory Clock":0,"GPU Voltage":0.000,"GPU Activity":0,"Powertune":0,"MHS av":63.17,
"MHS 5s":63.27,"Accepted":122,"Rejected":0,"Hardware Errors":0,"Utility":0.83,"I
ntensity":"D","Last Share Pool":0,"Last Share Time":1369551716,"Total MH":556876
.3003,"Diff1 Work":122,"Difficulty Accepted":122.00000000,"Difficulty Rejected":
0.00000000,"Last Share Difficulty":1.00000000,"Last Valid Work":1369551715}],"id
":1}