Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

NetX Http Client error

$
0
0

Hello,

 

I'm trying to fetch data from a server via Http. I'm using the PE-HMI1 Board and Synergy SSP 1.1.0 and NetX Http Client.

My problem is that my function:

status = nx_http_client_get_start(&my_client, IP_ADDRESS(172,26,106,42),"/weather.temp", NX_NULL, 0, NX_NULL, NX_NULL, 0xFFFFFFFF);

Always return the error "0xE2" -> HTTP Client error communicating with the HTTP Server. Any other function for initialisations/preparations before is returning 0x00.

I'm a bit supprised because I see on my sever using TCPDUMP that the communication is going well and I see the GET and the server send the right Http payload I'm looking for.

Also my question : once I've done nx_http_client_get_packet( ), how can I read my data in the payload ?

That's a bit upsetting that there is no example for reading the data in any PDF from Synergy or Express Logic !

Best regards,

Anthony Harivel

 


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>