BUG: http_request_url failure
Moving Open2300 to a Raspberry Pi 2 model B.
~ $ cat /etc/issue
Raspbian GNU/Linux 7 \n \l
~ $ uname -a
3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux
Fetch2300 works correctly, establishing weather station connectivity.
Changed most "unsigned char" types to "char" to get a compile without warnings. Normally when running wu2300, the site will respond with "success", but I did not receive this or any error message.
Set DEBUG on, recompiled and captured the url string. Sent it by curl and received a "success" response. This leads me to conclude the failure is in http_request_url. This same code was working fine in the old computer, so something is different in the Raspberry Pi environment.
My C coding days were long ago but this is my work-around (end of wu2300.c) :
/* http_request_url(urlline); */
char * str = "/usr/bin/curl \"";
| Open2300 version:
| Shared libraries:
| Server OS:
|| Raspbian 7
- 04 Jun 2015