zephyr/subsys/net
Lukasz Maciejonczyk 4500862af1 net: openthread: Init NCP after USB communication is established
The device has sent RESET_POWER_UP message before the communication
with the host hadn't been established. It could be observed with
pyspinel which displayed `Framing error`.

This commit fixes the bug by initializing NCP after the host stated
is ready to communicate.

This commit reverts initialization the USB stack into function
otPlatUartEnable to be consistent with others OpenThread platforms.
OpenThread co-processor samples are not affected by #27071 as they use
USB for SPINEL communication with host and not for UART console.

Note:
When co-processor communicates by USB CDC ACM and it is hard reset
(what is happening in current Zephyr OpenThread platform)
the connection needs to be properly handled by the host.

For posix platform used together with RCP it was implemented in:
https://github.com/openthread/openthread/pull/6454

and for NCP:
https://github.com/openthread/wpantund/pull/492 .

Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
2021-04-30 12:58:31 -05:00
..
ip net: dhcpv4: use dns_resolve_reconfigure() API 2021-04-29 08:00:09 -04:00
l2 net: openthread: Align with the new NCP API 2021-04-30 12:55:02 -05:00
lib net: openthread: Init NCP after USB communication is established 2021-04-30 12:58:31 -05:00
buf.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
CMakeLists.txt
hostname.c net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig Bluetooth: controller: ISO adaptation layer, Rx unframed 2021-04-14 18:17:09 +02:00
Kconfig.hostname net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net