diff --git a/.github/issue-branch.yml b/.github/issue-branch.yml new file mode 100644 index 00000000..02039e7e --- /dev/null +++ b/.github/issue-branch.yml @@ -0,0 +1,9 @@ +branches: + - label: enhancement + prefix: feature/ + - label: bug + prefix: bugfix/ + - label: documentation + prefix: chore/ + - label: '*' + prefix: issues/ diff --git a/ports/lwip/bip.c b/ports/lwip/bip.c index 07456248..28a3c584 100644 --- a/ports/lwip/bip.c +++ b/ports/lwip/bip.c @@ -236,8 +236,7 @@ static int bip_encode_bip_address(BACNET_IP_ADDRESS *baddr, /** Function to send a packet out the BACnet/IP socket (Annex J). * @ingroup DLBIP * - * @param dest [in] Destination address - * @param port [in] UDP port number + * @param dest [in] Destination address and port * @param mtu_len [in] PBUF packet * @return number of bytes sent, or 0 on failure. */ @@ -318,6 +317,10 @@ void bip_server_callback(void *arg, pbuf_free(pkt); } +/** + * @brief Get the BACnet/IP unicast address in full BACnet address format + * @param my_address - pointer to the #BACNET_ADDRESS to fill + */ void bip_get_my_address(BACNET_ADDRESS *my_address) { int i = 0; @@ -337,8 +340,12 @@ void bip_get_my_address(BACNET_ADDRESS *my_address) return; } +/** + * @brief Get the BACnet/IP broadcast address in full BACnet address format + * @param dest - pointer to the #BACNET_ADDRESS to fill + */ void bip_get_broadcast_address(BACNET_ADDRESS *dest) -{ /* destination address */ +{ int i = 0; /* counter */ if (dest) {