Skip to content

Commit

Permalink
Network: made kconfig chamos
Browse files Browse the repository at this point in the history
  • Loading branch information
eduazocar authored and Rocio committed Jul 10, 2022
1 parent 2375b91 commit 34b7d20
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion firmware/network/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ rsource "radio/Kconfig"
rsource "rpl_protocol/Kconfig"
rsource "udp_client/Kconfig"
rsource "udp_server/Kconfig"

endmenu
5 changes: 5 additions & 0 deletions firmware/network/chamos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ menu "Chamos server"
config HEADER_ADDRESS_MULTICAST
string "MULTICAST IPV6 HEADER"
default "ff02::1"

config SERVER_BUFFER_SIZE
int "Default server buffer size"
default 20
range 20 100
endmenu
4 changes: 2 additions & 2 deletions firmware/network/chamos/chamos.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
/**
* @brief CHAMOS Communication Handler for Addressing Management | Origin Server
* @brief CHAMOS Communication Handler for Addressing Management | Origin Server
*
* @author RocioRojas <[email protected]>
*/
Expand All @@ -27,7 +27,7 @@
#include "xtimer.h"

#define CHAMOS_MSG_QUEUE_SIZE (8)
#define SERVER_BUFFER_SIZE (20)
#define SERVER_BUFFER_SIZE (CONFIG_SERVER_BUFFER_SIZE)

/**
* @brief GNRC netif
Expand Down

0 comments on commit 34b7d20

Please sign in to comment.