Re: HTTP client with RTEMS

2017-10-06 Thread Joel Sherrill
On Fri, Oct 6, 2017 at 7:53 AM, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Hello Yie, > > 64k seems very few RAM. > > Maybe you are aware that there are currently two versions of the network > stack: One (very old) fork of the FreeBSD stack that is integrated into > RTEMS

Re: HTTP client with RTEMS

2017-10-06 Thread Christian Mauderer
Hello Yie, 64k seems very few RAM. Maybe you are aware that there are currently two versions of the network stack: One (very old) fork of the FreeBSD stack that is integrated into RTEMS and a mostly up to date fork in libbsd. I'm really not sure about the old network stack but then new one needs

Re: HTTP client with RTEMS

2017-10-06 Thread Sebastian Huber
Hello, a very simple HTTP client is this: https://github.com/nodejs/http-parser -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public

Re: HTTP client with RTEMS

2017-10-06 Thread Hui Yie Teh
Hi Christian, No, it's not an RTEMS based server. I have a simple server running on python. I am emulating the LM3S6965 ARM board on Qemu, and I think it has 64kB of RAM? On 6 October 2017 at 19:52, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > > Am 05.10.2017 um 22:44 sc

Re: HTTP client with RTEMS

2017-10-05 Thread Christian Mauderer
Am 05.10.2017 um 22:44 schrieb Hui Yie Teh: > I'm trying to initialize bsdnetwork using > 'rtems_bsdnet_initialize_network()' as in the mghttpd example but it > doesn't work.  > > It is giving me an error "Can't get network cluster memory".  > > Any help would be much appreciated.  > > Thanks.

Re: HTTP client with RTEMS

2017-10-05 Thread Hui Yie Teh
I'm trying to initialize bsdnetwork using 'rtems_bsdnet_initialize_network()' as in the mghttpd example but it doesn't work. It is giving me an error "Can't get network cluster memory". Any help would be much appreciated. Thanks. On 6 October 2017 at 08:46, Hui Yie Teh wrote: > Hi Christian,

Re: HTTP client with RTEMS

2017-10-05 Thread Hui Yie Teh
Hi Christian, Thank you for the reply! My app will be doing some simple HTTP, with GET and POST requests that has a text response body, e.g. "Received". I think following the mghttpd test will suffice. However, I'm currently looking at the code for the mghttpd test and I was wondering if there i

Re: HTTP client with RTEMS

2017-10-05 Thread Christian Mauderer
Am 05.10.2017 um 17:52 schrieb Hui Yie Teh: > Hi, > > I am trying to build a HTTP client using RTEMS. Is there any tutorials > that I can follow? I already have a server running, and I just need to > send some GET and POST requests. > > I am new to RTEMS and embedded programming in general. Any h

HTTP client with RTEMS

2017-10-05 Thread Hui Yie Teh
Hi, I am trying to build a HTTP client using RTEMS. Is there any tutorials that I can follow? I already have a server running, and I just need to send some GET and POST requests. I am new to RTEMS and embedded programming in general. Any help is much appreciated. Cheers, Yie