在线时间73 小时
UID2074257
注册时间2014-2-19
NXP金币15
TA的每日心情 | 开心 2019-9-17 17:18 |
---|
签到天数: 3 天 连续签到: 1 天 [LV.2]偶尔看看I
高级会员

- 积分
- 967
- 最后登录
- 2019-10-9
|

楼主 |
发表于 2014-11-26 19:38:04
|
显示全部楼层
这个我有参考。在使用RTCS_if_bind_DHCP()函数下面的例子时,
params.CHOICE_FUNC = DHCPCLNT_test_choice_func;
params.BIND_FUNC = DHCPCLNT_test_bind_func;
params.UNBIND_FUNC = DHCPCLNT_test_unbind_func;
这三个参数在MQX库中没有定义。
uint_32 RTCS_if_bind_DHCP(
_rtcs_if_handle rtcs_if_handle,
DHCP_DATA_STRUCT_PTR callback_ptr,
char_ptr optptr,
uint_32 optlen)
Parameters
rtcs_if_handle [in] — RTCS interface handle.
callback_ptr [in] — Pointer to the callback functions for DHCP.
optptr [in] — One of the following:
pointer to the buffer of DHCP params (see RFC 2132)
NULL
optlen [in] — Number of bytes in the buffer pointed to by optptr.
RFC2132没有理解透,不知道如何使用该参数
|
|