Start Back Next End
  
ZBasic System Library
ZBasic Microcontrollers
52
Wifi.SetIP
Type
Subroutine
Invocation
Wifi.SetIP(ifc, ipAddr, gwAddr, netmask)
Parameter
Method
Type
Description
ifc
ByRef
anyIntegral
The interface selector.
ipAddr
ByVal
UnsignedLong
The host IP address.
gwAddr
ByVal
UnsignedLong
The gateway IP address.
netMask
ByVal
UnsignedLong
The network mask.
Discussion
This subroutine sets the network parameters for either the Station interface (ifc = 0) or the AccessPoint
interface (ifc = 1).  If the network parameters are not set explicitly, the DHCP protocol will be used to
obtain an IP address and the other parameters from any available DHCP server.
Previous page Top Next page