Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define posix radio RadioSpinel accessor (#9018)
When adding cli commands to be used by a posix platform is is useful to have access to the spinel interface when trying to communicate with a RCP using vendor specific spinel properties. It is inadvisable to create a separate spinel interface for custom properties as the two interfaces would need to avoid contention on the hardware interface. This accessor method allows access to the static spinel interface defined in radio.cpp for external code segments. Dependent source files can do so with: `(RadioSpinel<InterfaceType, ProcessContextType>*)Posix::Radio::getSpinelInstance()` or similar.
- Loading branch information