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!