Post Reply 
libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
12-28-2013, 10:56 AM
Post: #47
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
Ouch, that does not even remotely look like the reply which the calculator should return upon receiving FC 08... Perhaps something left from a previous transfer ?

The two recv_file traces which you posted / sent by e-mail (thanks !) contain:
Code:
hpcalcs WARN: prime_recv_data: expected 18672 bytes but only got 1575 bytes, output corrupted
hpcalcs WARN: prime_recv_data: expected 18672 bytes but only got 2961 bytes, output corrupted
libhpcalcs receives only a small subset of the data in the first place, and therefore, it cannot make any sense of it Sad

I've already witnessed severe packet loss ratio on libhpcalcs once. That was on Windows, when outputting all debugging output to the creaky slow Windows terminal. I had to redirect the output to a file for the packet loss ratio to become essentially zero.
Let's try the same for MacOS X Smile
In tests/test_hpcalcs.c, function output_log_callback()
replace
Code:
#ifndef _WIN32
by
Code:
#if 0

Thanks in advance Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library - debrouxl - 12-28-2013 10:56 AM



User(s) browsing this thread: 2 Guest(s)