创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:libraries:ethercard:staticsetup

staticSetup()

描述

配置网络接口使用静态IP

语法

staticSetup ( *my_ip, *gw_ip=0, *dns_ip=0, *mask=0)

参数

my_ip: IP地址(4字节), 0无变化。

gw_ip: 网关地址(4字节), 0无变化,默认值= 0。

dns_ip:DNS地址(4字节), 0无变化,默认值= 0。

mask: 子网掩码(4字节), 0无变化,默认值= 0。

返回

实际上总是如此 - bool成功返回true

返回上一级

本页面的其他翻译:
arduino/libraries/ethercard/staticsetup.txt · 最后更改: 2016/12/25 22:15 (外部编辑)