Home
last modified time | relevance | path

Searched refs:otError (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/modules/openthread/platform/
Dhdlc_interface.hpp73otError Init(ReceiveFrameCallback aCallback, void *aCallbackContext, RxFrameBuffer &aFrameBuffer);
103 otError SendFrame(const uint8_t *aFrame, uint16_t aLength);
114 otError WaitForFrame(uint64_t aTimeoutUs);
138 otError ResetConnection(void) { return OT_ERROR_NONE; } in ResetConnection()
147 otError HardwareReset(void) { return OT_ERROR_NOT_IMPLEMENTED; } in HardwareReset()
185 otError Write(const uint8_t *aFrame, uint16_t aLength);
187 void HandleHdlcFrame(otError aError);
188 static void HandleHdlcFrame(void *aContext, otError aError);
Ddiag.c40 static otError startModCarrier(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[]);
41 static otError processTransmit(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[]);
43 static otError parse_long(char *aArgs, long *aValue) in parse_long()
73 otError otPlatDiagProcess(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[]) in otPlatDiagProcess()
118 otError aError) in otPlatDiagRadioReceived()
126 otError otPlatDiagRadioTransmitCarrier(otInstance *aInstance, bool aEnable) in otPlatDiagRadioTransmitCarrier()
170 static otError gpio_get_spec(uint32_t gpio_idx, const struct gpio_dt_spec **spec) in gpio_get_spec()
196 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet()
199 otError error; in otPlatDiagGpioSet()
220 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet()
[all …]
Dradio_spinel.cpp159 otError otPlatRadioEnable(otInstance *aInstance) in otPlatRadioEnable()
164 otError otPlatRadioDisable(otInstance *aInstance) in otPlatRadioDisable()
170 otError otPlatRadioSleep(otInstance *aInstance) in otPlatRadioSleep()
176 otError otPlatRadioReceive(otInstance *aInstance, uint8_t aChannel) in otPlatRadioReceive()
182 otError otPlatRadioTransmit(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTransmit()
224 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry()
230 otError otPlatRadioAddSrcMatchExtEntry(otInstance *aInstance, const otExtAddress *aExtAddress) in otPlatRadioAddSrcMatchExtEntry()
242 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry()
248 otError otPlatRadioClearSrcMatchExtEntry(otInstance *aInstance, const otExtAddress *aExtAddress) in otPlatRadioClearSrcMatchExtEntry()
272 otError otPlatRadioEnergyScan(otInstance *aInstance, uint8_t aScanChannel, uint16_t aScanDuration) in otPlatRadioEnergyScan()
[all …]
Dcrypto_psa.c22 static otError psaToOtError(psa_status_t aStatus) in psaToOtError()
128 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, otCryptoKeyType aKeyType, in otPlatCryptoImportKey()
194 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, in otPlatCryptoExportKey()
204 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef) in otPlatCryptoDestroyKey()
220 otError otPlatCryptoHmacSha256Init(otCryptoContext *aContext) in otPlatCryptoHmacSha256Init()
234 otError otPlatCryptoHmacSha256Deinit(otCryptoContext *aContext) in otPlatCryptoHmacSha256Deinit()
247 otError otPlatCryptoHmacSha256Start(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoHmacSha256Start()
262 otError otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, in otPlatCryptoHmacSha256Update()
276 otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t aBufLength) in otPlatCryptoHmacSha256Finish()
290 otError otPlatCryptoAesInit(otCryptoContext *aContext) in otPlatCryptoAesInit()
[all …]
Dhdlc_interface.cpp66 otError HdlcInterface::Init(ReceiveFrameCallback aCallback, void *aCallbackContext, in Init()
70 otError error = OT_ERROR_NONE; in Init()
123 otError HdlcInterface::SendFrame(const uint8_t *aFrame, uint16_t aLength) in SendFrame()
125 otError error = OT_ERROR_NONE; in SendFrame()
152 otError HdlcInterface::WaitForFrame(uint64_t aTimeoutUs) in WaitForFrame()
154 otError error = OT_ERROR_RESPONSE_TIMEOUT; in WaitForFrame()
227 otError HdlcInterface::Write(const uint8_t *aFrame, uint16_t aLength) in Write()
229 otError otResult = OT_ERROR_NONE; in Write()
252 otError savedFrameFound = OT_ERROR_NONE; in TryReadAndDecode()
300 void HdlcInterface::HandleHdlcFrame(void *aContext, otError aError) in HandleHdlcFrame()
[all …]
Dble.c119 otError error = OT_ERROR_NONE; in ot_plat_ble_queue_msg()
193 otError error = ot_plat_ble_queue_msg(buf, len, 0); in on_receive()
215 otError error = OT_ERROR_NONE; in on_cccd_changed()
241 otError otPlatBleGattServerIndicate(otInstance *aInstance, uint16_t aHandle, in otPlatBleGattServerIndicate()
280 otError otPlatBleGattMtuGet(otInstance *aInstance, uint16_t *aMtu) in otPlatBleGattMtuGet()
295 otError otPlatBleGapDisconnect(otInstance *aInstance) in otPlatBleGapDisconnect()
317 otError error = OT_ERROR_NONE; in connected()
341 otError error = OT_ERROR_NONE; in disconnected()
367 otError error = OT_ERROR_NONE; in le_param_updated()
412 otError otPlatBleGetAdvertisementBuffer(otInstance *aInstance, uint8_t **aAdvertisementBuffer) in otPlatBleGetAdvertisementBuffer()
[all …]
Dspi.c16 otError otPlatSpiSlaveEnable( in otPlatSpiSlaveEnable()
33 otError otPlatSpiSlavePrepareTransaction( in otPlatSpiSlavePrepareTransaction()
Dplatform-zephyr.h77 otError platformRadioTransmitCarrier(otInstance *aInstance, bool aEnable);
84 otError platformRadioTransmitModulatedCarrier(otInstance *aInstance, bool aEnable,
Dradio.c119 static otError rx_result;
120 static otError tx_result;
539 static otError openthread_nat64_send(otInstance *instance, otMessage *message) in openthread_nat64_send()
551 static otError openthread_nat64_send(otInstance *instance, otMessage *message) in openthread_nat64_send()
560 otError error; in openthread_handle_frame_to_send()
757 otError otPlatRadioEnable(otInstance *aInstance) in otPlatRadioEnable()
766 otError otPlatRadioDisable(otInstance *aInstance) in otPlatRadioDisable()
775 otError otPlatRadioSleep(otInstance *aInstance) in otPlatRadioSleep()
779 otError error = OT_ERROR_INVALID_STATE; in otPlatRadioSleep()
792 otError otPlatRadioReceive(otInstance *aInstance, uint8_t aChannel) in otPlatRadioReceive()
[all …]
Duart.c158 otError otPlatUartEnable(void) in otPlatUartEnable()
191 otError otPlatUartDisable(void) in otPlatUartDisable()
206 otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength) in otPlatUartSend()
230 otError otPlatUartFlush(void) in otPlatUartFlush()
232 otError result = OT_ERROR_NONE; in otPlatUartFlush()
Dsettings.c220 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, in otPlatSettingsGet()
253 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, in otPlatSettingsSet()
277 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, in otPlatSettingsAdd()
302 otError otPlatSettingsDelete(otInstance *aInstance, uint16_t aKey, int aIndex) in otPlatSettingsDelete()
Dentropy.c19 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet()
Dmisc.c41 otError otPlatResetToBootloader(otInstance *aInstance) in otPlatResetToBootloader()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread.c152 otError err; in ncp_hdlc_send()
324 static void ot_joiner_start_handler(otError error, void *context) in ot_joiner_start_handler()
421 otError error = OT_ERROR_NONE; in openthread_start()
503 otError error; in openthread_stop()
528 otError err; in openthread_init()
/Zephyr-latest/tests/subsys/openthread/
Dradio_test.c107 static otError otPlatRadioReceiveDone_expected_error;
108 void otPlatRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatRadioReceiveDone()
118 FAKE_VOID_FUNC(otPlatRadioTxDone, otInstance *, otRadioFrame *, otRadioFrame *, otError);
134 FAKE_VALUE_FUNC(otError, otIp6Send, otInstance *, otMessage *);
142 FAKE_VALUE_FUNC(otError, otMessageAppend, otMessage *, const void *, uint16_t);