mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 19:57:46 +00:00
[spinel] create spinel interface based on the radio url protocol (#9393)
The posix platform is able to support the HDLC, SPI and vendor spinel interfaces, but the spinel interface type can't be changed dynamically. It is inconvenient to use different spinel interfaces for Thread stack in Android. This commit enables the posix platform to support the HDLC, SPI and vendor interface at the same time, and the final spinel interface type is determined by the radio url protocol. Some other changes: 1. Not use CRTP style for the radio spinel. 2. Deprecate the OT_POSIX_CONFIG_RCP_BUS and OPENTHREAD_POSIX_CONFIG_RCP_TIME_SYNC_INTERVAL.
This commit is contained in:
@@ -38,3 +38,4 @@ expect_line "Done"
|
||||
send "region\n"
|
||||
expect "US"
|
||||
expect_line "Done"
|
||||
dispose_node 1
|
||||
|
||||
Reference in New Issue
Block a user