Reading IP address of M52259

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

Reading IP address of M52259

ソリューションへジャンプ
1,299件の閲覧回数
rstdaf
Contributor I

Hi,

I'm having trouble about reading IP address of the M52259. I try to use ipcfg_get_ip() function but return value of the function does not make sense. 

Is there any idea about this?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
424件の閲覧回数
PetrM
Senior Contributor I

Have a look at sh_ipconfig.c in shell library, function Shell_ipconfig_status(), to see how to use such functions.

Anyway, did you initialize ethernet interface and got/set some IP address already?

The function doesn't change it's OUT parameters (so they can remain unitialized), if there's no information yet.

 

PetrM

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
425件の閲覧回数
PetrM
Senior Contributor I

Have a look at sh_ipconfig.c in shell library, function Shell_ipconfig_status(), to see how to use such functions.

Anyway, did you initialize ethernet interface and got/set some IP address already?

The function doesn't change it's OUT parameters (so they can remain unitialized), if there's no information yet.

 

PetrM

 

0 件の賞賛
返信