miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MiniUpnp on 8bit µC like Atmel AVR or Microchip PIC

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
Eskimo22



Joined: 31 Oct 2007
Posts: 1

PostPosted: Wed Oct 31, 2007 4:47 pm    Post subject: MiniUpnp on 8bit µC like Atmel AVR or Microchip PIC Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Wed Oct 31, 2007 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.