Shop OBEX P1 Docs P2 Docs Learn Events
DHCP for ENC28J60 — Parallax Forums

DHCP for ENC28J60

jmwachteljmwachtel Posts: 12
edited 2011-02-11 11:57 in Propeller 1
Has anyone implemented a DHCP client on the ENC28J60 and propeller? I know there is a stack that does the static IP. Is there a simple example of how to do this?

Thank you,
Joseph

Comments

  • jmwachteljmwachtel Posts: 12
    edited 2011-02-11 08:49
    I could also use a WIZNet chip if it were easier to use.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-02-11 09:01
    Look at the YBox2 code (here and here). It has a DHCP client and uses the ENC28J60.
  • jmwachteljmwachtel Posts: 12
    edited 2011-02-11 09:28
    What part of the source actually does the DHCP?
  • Mike GreenMike Green Posts: 23,101
    edited 2011-02-11 10:19
    I couldn't say without going through the source myself. I had a YBox2 for a while and remember seeing the routines somewhere in the code. There were comments identifying it.
  • RaymanRayman Posts: 14,887
    edited 2011-02-11 10:55
    I was wondering about DHCP also. I was hoping that Harrison has an MIT license version in OBEX.
    The YBox is GPL so I'm going to keep my distance, if possible...
  • jmwachteljmwachtel Posts: 12
    edited 2011-02-11 11:04
    From what I have seen, Harrison only supports a static IP, and doesn't look like he is has a need for DHCP. Why do you want to stay away from GPL?
  • RaymanRayman Posts: 14,887
    edited 2011-02-11 11:57
    I shun GPL because if I use any of it in my code, then all my code becomes GPL.
Sign In or Register to comment.