Home
last modified time | relevance | path

Searched refs:NcpBase (Results 1 – 21 of 21) sorted by relevance

/openthread-latest/src/ncp/
Dncp_base_ftd.cpp62 otError NcpBase::EncodeChildInfo(const otChildInfo &aChildInfo) in EncodeChildInfo()
89 void NcpBase::HandleParentResponseInfo(otThreadParentResponseInfo *aInfo, void *aContext) in HandleParentResponseInfo()
93 static_cast<NcpBase *>(aContext)->HandleParentResponseInfo(*aInfo); in HandleParentResponseInfo()
99 void NcpBase::HandleParentResponseInfo(const otThreadParentResponseInfo &aInfo) in HandleParentResponseInfo()
122 void NcpBase::HandleNeighborTableChanged(otNeighborTableEvent aEvent, const otNeighborTableEntryInf… in HandleNeighborTableChanged()
127 void NcpBase::HandleNeighborTableChanged(otNeighborTableEvent aEvent, const otNeighborTableEntryInf… in HandleNeighborTableChanged()
197 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_LOCAL_LEADER_WEIGHT>(void) in HandlePropertyGet()
202 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_LEADER_WEIGHT>(void) in HandlePropertyGet()
207 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CHILD_TABLE>(void) in HandlePropertyGet()
231 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_ROUTER_TABLE>(void) in HandlePropertyGet()
[all …]
Dncp_base_mtd.cpp166 uint8_t NcpBase::LinkFlagsToFlagByte(bool aRxOnWhenIdle, bool aDeviceType, bool aNetworkData) in LinkFlagsToFlagByte()
188 otError NcpBase::EncodeNeighborInfo(const otNeighborInfo &aNeighborInfo) in EncodeNeighborInfo()
216 otError NcpBase::EncodeLinkMetricsValues(const otLinkMetricsValues *aMetricsValues) in EncodeLinkMetricsValues()
262 template <> otError NcpBase::HandlePropertySet<SPINEL_PROP_THREAD_CSL_PERIOD>(void) in HandlePropertySet()
275 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CSL_PERIOD>(void) in HandlePropertyGet()
280 template <> otError NcpBase::HandlePropertySet<SPINEL_PROP_THREAD_CSL_TIMEOUT>(void) in HandlePropertySet()
293 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CSL_TIMEOUT>(void) in HandlePropertyGet()
298 template <> otError NcpBase::HandlePropertySet<SPINEL_PROP_THREAD_CSL_CHANNEL>(void) in HandlePropertySet()
311 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CSL_CHANNEL>(void) in HandlePropertyGet()
318 template <> otError NcpBase::HandlePropertySet<SPINEL_PROP_THREAD_MLR_REQUEST>(void) in HandlePropertySet()
[all …]
Dncp_base.cpp59 uint8_t NcpBase::InstanceToIid(Instance *aInstance) in InstanceToIid()
81 Instance *NcpBase::IidToInstance(uint8_t aIid) in IidToInstance()
112 spinel_status_t NcpBase::ThreadErrorToSpinelStatus(otError aError) in ThreadErrorToSpinelStatus()
241 NcpBase *NcpBase::sNcpInstance = nullptr;
244 NcpBase::NcpBase(Instance **aInstances, uint8_t aCount) in NcpBase() function in ot::Ncp::NcpBase
245 : NcpBase(aInstances[0]) in NcpBase()
263 otDiagSetOutputCallback(mInstances[i + skipped], &NcpBase::HandleDiagOutput_Jump, this); in NcpBase()
269 NcpBase::NcpBase(Instance *aInstance) in NcpBase() function in ot::Ncp::NcpBase
280 , mUpdateChangedPropsTask(*aInstance, NcpBase::UpdateChangedProps) in NcpBase()
339 mTxFrameBuffer.SetFrameRemovedCallback(&NcpBase::HandleFrameRemovedFromNcpBuffer, this); in NcpBase()
[all …]
Dncp_base_radio.cpp54 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_RCP_API_VERSION>(void) in HandlePropertyGet()
59 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_RCP_MIN_HOST_API_VERSION>(void) in HandlePropertyGet()
69 otError NcpBase::PackRadioFrame(otRadioFrame *aFrame, otError aError) in PackRadioFrame()
129 void NcpBase::NotifySwitchoverDone(otInstance *aInstance, bool aSuccess) in NotifySwitchoverDone()
135 void NcpBase::NotifySwitchoverDone(bool aSuccess) in NotifySwitchoverDone()
144 void NcpBase::LinkRawReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in LinkRawReceiveDone()
149 void NcpBase::LinkRawReceiveDone(uint8_t aIid, otRadioFrame *aFrame, otError aError) in LinkRawReceiveDone()
164 void NcpBase::LinkRawTransmitDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFr… in LinkRawTransmitDone()
169 void NcpBase::LinkRawTransmitDone(uint8_t aIid, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otEr… in LinkRawTransmitDone()
213 void NcpBase::LinkRawEnergyScanDone(otInstance *aInstance, int8_t aEnergyScanMaxRssi) in LinkRawEnergyScanDone()
[all …]
Dmultipan_platform.cpp48 Ncp::NcpBase *ncpBase = Ncp::NcpBase::GetNcpInstance(); in otPlatMultipanIidToInstance()
56 Ncp::NcpBase *ncpBase = Ncp::NcpBase::GetNcpInstance(); in otPlatMultipanInstanceToIid()
66 Ncp::NcpBase *ncpBase = Ncp::NcpBase::GetNcpInstance(); in otPlatMultipanSwitchoverDone()
Dexample_vendor_hook.cpp40 otError NcpBase::VendorCommandHandler(uint8_t aHeader, unsigned int aCommand) in VendorCommandHandler()
55 void NcpBase::VendorHandleFrameRemovedFromNcpBuffer(Spinel::Buffer::FrameTag aFrameTag) in VendorHandleFrameRemovedFromNcpBuffer()
71 otError NcpBase::VendorGetPropertyHandler(spinel_prop_key_t aPropKey) in VendorGetPropertyHandler()
92 otError NcpBase::VendorSetPropertyHandler(spinel_prop_key_t aPropKey) in VendorSetPropertyHandler()
163 if (ncpVendor == nullptr || ncpVendor != ot::Ncp::NcpBase::GetNcpInstance()) in otAppNcpInit()
185 if (ncpVendor == nullptr || ncpVendor != ot::Ncp::NcpBase::GetNcpInstance()) in otAppNcpInitMulti()
Dncp_hdlc.cpp52 … ot::Ncp::NcpBase::kSpinelCmdHeaderSize -
53 ot::Ncp::NcpBase::kSpinelPropIdSize,
74 if (ncpHdlc == nullptr || ncpHdlc != NcpBase::GetNcpInstance()) in otNcpHdlcInit()
98 if (ncpHdlc == nullptr || ncpHdlc != NcpBase::GetNcpInstance()) in otNcpHdlcInitMulti()
108 : NcpBase(aInstance) in NcpHdlc()
126 : NcpBase(aInstances, aCount) in NcpHdlc()
259 NcpHdlc *ncpHdlc = static_cast<NcpHdlc *>(NcpBase::GetNcpInstance()); in otNcpHdlcSendDone()
275 NcpHdlc *ncpHdlc = static_cast<NcpHdlc *>(NcpBase::GetNcpInstance()); in otNcpHdlcReceive()
Dncp_base_dispatcher.cpp38 constexpr bool NcpBase::AreHandlerEntriesSorted(const HandlerEntry *aHandlerEntries, size_t aSize) in AreHandlerEntriesSorted()
45 NcpBase::PropertyHandler NcpBase::FindGetPropertyHandler(spinel_prop_key_t aKey) in FindGetPropertyHandler()
49 aPropertyName, &NcpBase::HandlePropertyGet<aPropertyName> \ in FindGetPropertyHandler()
406 NcpBase::PropertyHandler NcpBase::FindSetPropertyHandler(spinel_prop_key_t aKey) in FindSetPropertyHandler()
410 aPropertyName, &NcpBase::HandlePropertySet<aPropertyName> \ in FindSetPropertyHandler()
702 NcpBase::PropertyHandler NcpBase::FindInsertPropertyHandler(spinel_prop_key_t aKey) in FindInsertPropertyHandler()
706 aPropertyName, &NcpBase::HandlePropertyInsert<aPropertyName> \ in FindInsertPropertyHandler()
758 NcpBase::PropertyHandler NcpBase::FindRemovePropertyHandler(spinel_prop_key_t aKey) in FindRemovePropertyHandler()
762 aPropertyName, &NcpBase::HandlePropertyRemove<aPropertyName> \ in FindRemovePropertyHandler()
811 NcpBase::PropertyHandler NcpBase::FindPropertyHandler(const HandlerEntry *aHandlerEntries, in FindPropertyHandler()
Dncp_spi.cpp51 OPENTHREAD_CONFIG_NCP_SPI_BUFFER_SIZE - ot::Ncp::NcpBase::kSpinelCmdHeaderSize -
52 ot::Ncp::NcpBase::kSpinelPropIdSize - ot::Spinel::SpiFrame::kHeaderSize,
74 if (ncpSpi == nullptr || ncpSpi != NcpBase::GetNcpInstance()) in otNcpSpiInit()
83 : NcpBase(aInstance) in NcpSpi()
Dncp_hdlc.hpp49 class NcpHdlc : public NcpBase
51 typedef NcpBase super_t;
Dncp_base.hpp84 class NcpBase class
103 explicit NcpBase(Instance *aInstance);
112 explicit NcpBase(Instance **aInstances, uint8_t aCount);
121 static NcpBase *GetNcpInstance(void);
327 typedef otError (NcpBase::*PropertyHandler)(void);
354 NcpBase::PropertyHandler mHandler;
722 static NcpBase *sNcpInstance;
Dncp_spi.hpp44 class NcpSpi : public NcpBase
/openthread-latest/src/ncp/platform/
Ddnssd.cpp39 return ot::Ncp::NcpBase::GetNcpInstance()->DnssdGetState(); in otPlatDnssdGetState()
48 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatDnssdRegisterService()
59 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatDnssdUnregisterService()
70 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatDnssdRegisterHost()
81 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatDnssdUnregisterHost()
92 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatDnssdRegisterKey()
103 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatDnssdUnregisterKey()
Dinfra_if.cpp36 return ot::Ncp::NcpBase::GetNcpInstance()->InfraIfHasAddress(aInfraIfIndex, aAddress); in otPlatInfraIfHasAddress()
44 ot::Ncp::NcpBase *ncp = ot::Ncp::NcpBase::GetNcpInstance(); in otPlatInfraIfSendIcmp6Nd()
/openthread-latest/src/core/instance/
Dextension.hpp47 class NcpBase;
93 void SignalNcpInit(Ncp::NcpBase &aNcpInstance);
Dextension_example.cpp85 void ExtensionBase::SignalNcpInit(Ncp::NcpBase &aNcpBase) in SignalNcpInit()
/openthread-latest/tests/unit/
Dtest_ncp_srp_server.cpp69 Ncp::NcpBase ncpBase(instance); in TestNcpSrpServerSetEnabled()
95 Ncp::NcpBase ncpBase(instance); in TestNcpSrpServerSetAutoEnableMode()
Dtest_ncp_infra_if.cpp80 Ncp::NcpBase ncpBase(instance); in TestNcpInfraIfSetUp()
112 Ncp::NcpBase ncpBase(instance); in TestNcpInfraIfUpdate()
Dtest_ncp_dnssd.cpp100 Ncp::NcpBase ncpBase(instance); in TestNcpDnssdGetState()
118 Ncp::NcpBase ncpBase(instance); in TestNcpDnssdRegistrations()
Dtest_multipan_rcp_instances.cpp119 class TestNcp : public NcpBase
126 , NcpBase(aInstance) in TestNcp()
137 , NcpBase(aInstances, aCount) in TestNcp()
/openthread-latest/tools/gerrit/
DREADME.md47 1ca81fbb1 [ncp] add support for child supervision in spinel/NcpBase (#2939)