problems with security_webserver project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

problems with security_webserver project

ソリューションへジャンプ
675件の閲覧回数
feraro
Contributor IV

Hello.

I'm testing the demo "security_webserver" and I have the following problem, if DEMOCFG_ENABLE_SNTP = 1 and DEMOCFG_ENABLE_DHCP = 1, it works fine, but if DEMOCFG_ENABLE_SNTP = 1 and DEMOCFG_ENABLE_DHCP = 0, the function "RTCS_resolve_ip_address ()" returns me a 0. Anyone know the cause?.

I need to use this function with DHCP to OFF.

I´m working with MQX3.7


Thanks in advance.

ラベル(1)
0 件の賞賛
1 解決策
453件の閲覧回数
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Fernando,

Are you sure you are assigning a static IP address to the board that is in the same network where it is connected?

You can set the IP in the file Security.h. Look for the ENET_IPADDR define:

#define ENET_IPADDR  IPADDR(169,254,3,3)

If you are using the IP 192.168.1.5, for instance then you have to change to:

#define ENET_IPADDR  IPADDR(192,168,1,5)

Hope this helps,

Regards,

-Garabo

元の投稿で解決策を見る

0 件の賞賛
1 返信
454件の閲覧回数
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Fernando,

Are you sure you are assigning a static IP address to the board that is in the same network where it is connected?

You can set the IP in the file Security.h. Look for the ENET_IPADDR define:

#define ENET_IPADDR  IPADDR(169,254,3,3)

If you are using the IP 192.168.1.5, for instance then you have to change to:

#define ENET_IPADDR  IPADDR(192,168,1,5)

Hope this helps,

Regards,

-Garabo

0 件の賞賛