从https://developer.brewmp.com/forum 找到的 希望对大家有用。
What state is the device in when you try to obtain the IP address? Remember that in order for the network to assign an IP address to the device, you have to establish a PPP session. The best way to do that is probably to open a socket and bind to it.