libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
|
02-09-2014, 10:33 AM
Post: #69
|
|||
|
|||
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
Hi Cristian
About your traces: 1) "unknown marker at beginning of image" means that the Code: if (pkt->data[8] == (uint8_t)format && pkt->data[9] == 0xFF && pkt->data[10] == 0xFF && pkt->data[11] == 0xFF && pkt->data[12] == 0xFF) 2) the calculator replied nothing in 2 seconds. That seemed to be a safe timeout value, as screenshots always took much less than this. 3) the calculator was available when the test_hpcalcs program was started (otherwise you wouldn't have reached this step), but it looks like the calculator somehow disappeared from under the program. 4) communication with the calculator couldn't even be started, as opening the device, in the underlying HID library, failed. libhpcalcs / test_hpcalcs fails gracefully in that event, there's nothing else it can do (besides crashing, but that's no good ). Bugginess in libhpcalcs is possible, but other reports until now tended to indicate it can work more consistently... and the first and last errors, especially, are hard to attribute to libhpcalcs (if communication fails completely, or returns garbage data, it can't do much). Are you sure your calculator is in a stable state ? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)