Skip to content

Commit 8d3bcb7

Browse files
author
Arto Kinnunen
committed
Add new function to unit tests
Add arm_nwk_sleepy_device_parent_buffer_size_set to unit tests.
1 parent 56f66a4 commit 8d3bcb7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/nanostack/unittest/libNET/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ TEST_SRC_FILES = \
1212
test_net.c \
1313
../../stub/mbed_trace_stub.c \
1414
../../stub/ns_list_stub.c \
15+
../../stub/net_stub.c \
1516
../../stub/protocol_core_stub.c \
1617
../../stub/rpl_control_stub.c \
1718
../../stub/address_stub.c \

test/nanostack/unittest/stub/net_stub.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,8 @@ void arm_print_routing_table(void)
261261
void arm_ncache_flush(void)
262262
{
263263
}
264+
265+
int arm_nwk_sleepy_device_parent_buffer_size_set(int8_t interface_id, uint16_t big_packet_threshold, uint16_t small_packets_per_child_count, uint16_t big_packets_total_count)
266+
{
267+
return 0;
268+
}

0 commit comments

Comments
 (0)