[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:
Zhanglong Xia
2023-10-10 10:15:32 -07:00
committed by GitHub
parent 2fe077037d
commit 7568e31c08
31 changed files with 835 additions and 691 deletions
+1
View File
@@ -38,3 +38,4 @@ expect_line "Done"
send "region\n"
expect "US"
expect_line "Done"
dispose_node 1