bip: decouple broadcast destination port from bind port (#1311)
Co-authored-by: Leunar Kalludra <Leunar.Kalludra@de.bosch.com>
This commit is contained in:
@@ -172,12 +172,24 @@ uint16_t bip_receive(
|
||||
*/
|
||||
void bip_set_port(uint16_t port);
|
||||
|
||||
/**
|
||||
* @brief Store the UDP broadcast destination port used by BACnet/IP
|
||||
* @param port UDP port number
|
||||
*/
|
||||
void bip_set_broadcast_port(uint16_t port);
|
||||
|
||||
/**
|
||||
* @brief Get the UDP port used by BACnet/IP
|
||||
* @return UDP port number
|
||||
*/
|
||||
uint16_t bip_get_port(void);
|
||||
|
||||
/**
|
||||
* @brief Get the UDP broadcast destination port used by BACnet/IP
|
||||
* @return UDP port number
|
||||
*/
|
||||
uint16_t bip_get_broadcast_port(void);
|
||||
|
||||
/**
|
||||
* @brief Store the local IPv4 address
|
||||
* @param net_address pointer to the 4-byte address
|
||||
|
||||
Reference in New Issue
Block a user