Jukka Rissanen
61cc71e4c1
samples: net: echo-*: Add openthread tag for sanitychecker
...
Add "openthread" tag for sanitychecker when it is running
OpenThread specific tests. This way it is easier to run just
those few OpenThread specific tests.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
e5ab098ceb
samples: net: wpanusb: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
b8f70b749b
samples: net: wpan_serial: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
ef6eb3d628
samples: net: mqtt_publisher: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5f2f8629d0
samples: net: rpl_node: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5ead61089b
samples: net: rpl_border_router: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
782655f89b
samples: net: nats: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
e1f45c6733
samples: net: lldp: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
f5a3e77434
samples: net: sntp: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
22c8ccbca9
samples: net: zperf: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
77c9071495
samples: net: ws_echo_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
2883d92c5e
samples: net: telnet: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
b08d420fad
samples: net: stats: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
7b2bdfc491
samples: net: sockets: Convert to use new logging
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
9bae75dbd3
samples: net: ws_console: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
3565d7ff5b
samples: net: vlan: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
96be19ae23
samples: net: traffic_class: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
0ccba6a14b
samples: net: throughput_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
1bcf1cf475
samples: net: promiscuous: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
d38694af80
samples: net: mdns_responder: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
de5cbf9ed4
samples: net: irc_bot: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
31a6d93c41
samples: net: ipv4_autoconf: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
7218467055
samples: net: http_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
c69cdc0599
samples: net: http_client: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
749e957e62
samples: net: gptp: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
be7ea732e4
samples: net: eth_native_posix: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
85e7610fab
samples: net: dns_resolve: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
2f0f88ebf1
samples: net: dhcpv4_client: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
11a019053d
samples: net: coap_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5f238ac2ea
samples: net: echo_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
d671c4693c
drivers: net: loopback: Convert to use new logging
...
Convert the driver to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
1fea1418de
drivers: net: slip: Convert to use new logging
...
Convert the driver to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
90dc38f8c9
drivers: ieee802154: Convert to use new logging
...
Convert the IEEE 802.15.4 drivers to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
20295c821b
drivers: eth: Convert to use new logging
...
Convert the ethernet drivers to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
9b460b1105
net: Use logger hexdump print macro
...
As the logger provides hexdump macro, use that instead of our own.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
15e7e3ea4b
net: ip: Split debug prints into smaller pieces
...
Currently logging subsystem supports quite small number of function
parameters. So split some long functions into smaller pieces.
Hopefully this is just a temporary patch and we can support more
parameters to logging macros.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
2bc38a8f88
net: mgmt: Use correct printf modifier in debug print
...
Net event information debug print was using wrong printf modifiers.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
502130d6ea
net: lib: Convert mqtt library to use log level
...
Use network log level in mqtt library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
1165f0d400
net: lib: Convert websocket library to use log level
...
Use network log level in Websocket library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
dc29ed0bd9
net: lib: Convert socket library to use log level
...
Use network log level in BSD socket library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
51e9297c4d
net: lib: Convert sntp library to use log level
...
Use network log level in SNTP library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
1fbf7862f2
net: lib: Convert openthread library to use log level
...
Use network log level in OpenThread library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
8ffb0fc968
net: lib: Convert http library to use log level
...
Use network log level in HTTP library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
d880d7c9c8
net: lib: Convert dns library to use log level
...
Use network log level in DNS library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
cb4fa371c5
net: lib: Convert config library to use log level
...
Use network log level in config library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
dc018376f2
net: lib: Convert coap API to use log level
...
Use network log level in CoAP library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
3ab1f90822
net: lib: Convert net_app to use log level
...
Use network log level in net_app library.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
46bc51d8c1
net: buf: Convert to new logging system
...
This commit replaces syslog with new logging subsystem in buf.c
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
a76814bfb6
net: Convert core IP stack to use log levels
...
Instead of one global log level option and one on/off boolean
config option / module, this commit creates one log level option
for each module. This simplifies the logging as it is now possible
to enable different level of debugging output for each network
module individually.
The commit also converts the code to use the new logger
instead of the old sys_log.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Vinayak Kariappa Chettimada
3d1a659019
Bluetooth: controller: Fix default Tx buffers
...
Fix the default Tx buffers to 3. While the first Tx-ed
buffer generates the HCI Number of Completed Packets Event,
the controller needs to have 2 additional Tx buffers queued
so that the second Tx PDU has the More Data (MD) bit set so
as to have the connection event to continue to transmit any
additional Tx buffers that the Host will enqueue in the same
connection event.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2018-10-04 11:45:54 +02:00