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_SetIPConfigViaUDPEx


[+ 2.6.3] Stores IP configuration through UDP broadcast with host IP.
It is useful on systems with multiple Ethernet cards installed.

Declaration

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

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] config : IP configuration pointer
  • [In] hostipAddr : Host IP address

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.