Pages: [1]   Go Down
Author Topic: Ethernet Shield retrieve IP address?  (Read 351 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
Karma: 0
Posts: 60
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I'd like to be able to query the DHCP assigned IP address of my xport from within my arduino sketch. I've played with this and gotten it to work:

However, this requires the xport to be in Connect mode FE (modem mode), and the code for the clock I'm making (as well as the shield examples) require the port to be in Connect mode D4. I think it might be possible to query the IP while in mode D4 by dropping it into monitor mode on startup, however I haven't gotten this to work.

Has anyone gotten this to work? Thanks!

Pages: [1]   Go Up
Jump to: