View previous topic :: View next topic |
Author |
Message |
Eskimo22
Joined: 31 Oct 2007 Posts: 1
|
Posted: Wed Oct 31, 2007 4:47 pm Post subject: MiniUpnp on 8bit µC like Atmel AVR or Microchip PIC |
|
|
Hello,
it's possible to run MiniUpnp with Atmel AVR ATmega128 and the uIP Stack from Adam Dunkels (w*w.sics.se/~adam/uip/index.php/Main_Page) ?
Or does someone know a solution for this combination ?
Thy for your replay
Ralf
PS: The mega128 has 128Kb Rom and 4k Ram |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Wed Oct 31, 2007 10:45 pm Post subject: |
|
|
The miniUPnPc library was designed to run on POSIX or MS Windows systems by using BSD style sockets.
It would require some coding effort to port it on another TCP/IP stack API but it is possible as long as the TCP/IP stack supports :
- Sending UDP packets to multicast address (should be ok for any stack, it requires a lot less than supporting the RECEIVING on multicast address)
- TCP.
What may be a show stopper is the 4KB RAM : UPnP protocol is using XML descriptions that are allready bigger than that. SOAP is also very memory consuming.
A better alternative for very low memory clients is NAT-PMP : UDP only, very simple messages. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
|