This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Configuration API > BS2_GetIPConfigViaUDPEx


[+ 2.6.3] Host ip를 지정하여, 장치의 IP 설정 정보를 udp broadcasting을 통해 가져옵니다.
다수의 Ethernet card가 설치되어 있는 시스템에서 유용합니다.

함수

#include "BS_API.h"
 
int BS2_GetIPConfigViaUDPEx(void* context, uint32_t deviceId, BS2IpConfig* config, const char* hostipAddr);

파라미터

  • [In] context : Context
  • [In] deviceId : 장치 식별자
  • [Out] config : IP 설정 정보를 저장할 포인터
  • [In] hostipAddr : 호스트 IP 주소

반환값

성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.