Skip to content

Commit df18487

Browse files
Ayush1325jhedberg
authored andcommitted
samples: net: sockets: coap_server: Add 802154 subg support
- Tested with BeagleConnect Freedom. - Also enable build in CI similar to echo_server/client Signed-off-by: Ayush Singh <[email protected]>
1 parent d553207 commit df18487

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
CONFIG_BT=n
2+
3+
# Disable IPv4
4+
CONFIG_NET_IPV4=n
5+
6+
CONFIG_NET_CONFIG_NEED_IPV6=y
7+
CONFIG_NET_CONFIG_NEED_IPV4=n
8+
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
9+
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
10+
11+
CONFIG_NET_L2_IEEE802154=y
12+
CONFIG_NET_L2_IEEE802154_SHELL=y
13+
CONFIG_NET_L2_IEEE802154_LOG_LEVEL_INF=y
14+
15+
# Uncomment for 868 MHz
16+
#CONFIG_NET_CONFIG_IEEE802154_CHANNEL=0
17+
# Uncomment for 906 MHz:
18+
CONFIG_NET_CONFIG_IEEE802154_CHANNEL=1

samples/net/sockets/coap_server/sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ tests:
2828
- CONFIG_BUILD_ONLY_NO_BLOBS=y
2929
platform_allow:
3030
- nrf7002dk/nrf5340/cpuapp
31+
sample.net.sockets.coap_server.802154.subg:
32+
extra_args: EXTRA_CONF_FILE="overlay-802154-subg.conf"
33+
platform_allow: beagleconnect_freedom

0 commit comments

Comments
 (0)