Home
last modified time | relevance | path

Searched refs:OT_ERROR_NONE (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/modules/openthread/platform/
Dble.c119 otError error = OT_ERROR_NONE; in ot_plat_ble_queue_msg()
195 if (error != OT_ERROR_NONE) { in on_receive()
215 otError error = OT_ERROR_NONE; in on_cccd_changed()
223 if (error != OT_ERROR_NONE) { in on_cccd_changed()
228 if (error != OT_ERROR_NONE) { in on_cccd_changed()
277 return OT_ERROR_NONE; in otPlatBleGattServerIndicate()
292 return OT_ERROR_NONE; in otPlatBleGattMtuGet()
307 return OT_ERROR_NONE; in otPlatBleGapDisconnect()
317 otError error = OT_ERROR_NONE; in connected()
331 if (error != OT_ERROR_NONE) { in connected()
[all …]
Ddiag.c47 return (*endptr == '\0') ? OT_ERROR_NONE : OT_ERROR_PARSE; in parse_long()
189 return OT_ERROR_NONE; in gpio_get_spec()
199 if (error != OT_ERROR_NONE) { in otPlatDiagGpioSet()
213 return OT_ERROR_NONE; in otPlatDiagGpioSet()
224 if (error != OT_ERROR_NONE) { in otPlatDiagGpioGet()
244 return OT_ERROR_NONE; in otPlatDiagGpioGet()
255 if (error != OT_ERROR_NONE) { in otPlatDiagGpioSetMode()
276 return OT_ERROR_NONE; in otPlatDiagGpioSetMode()
288 if (error != OT_ERROR_NONE) { in otPlatDiagGpioGetMode()
307 return OT_ERROR_NONE; in otPlatDiagGpioGetMode()
[all …]
Dhdlc_interface.cpp70 otError error = OT_ERROR_NONE; in Init()
125 otError error = OT_ERROR_NONE; in SendFrame()
145 if (error != OT_ERROR_NONE) { in SendFrame()
174 error = OT_ERROR_NONE; in WaitForFrame()
229 otError otResult = OT_ERROR_NONE; in Write()
252 otError savedFrameFound = OT_ERROR_NONE; in TryReadAndDecode()
260 while (savedFrameFound == OT_ERROR_NONE) { in TryReadAndDecode()
263 if (mReceiveFrameBuffer->WriteByte(mSavedFrame[i]) != OT_ERROR_NONE) { in TryReadAndDecode()
284 if (savedFrameFound != OT_ERROR_NONE) { in TryReadAndDecode()
312 if (aError == OT_ERROR_NONE && bufLength > 0) { in HandleHdlcFrame()
Dradio.c467 tx_result = OT_ERROR_NONE; in transmit_message()
524 otPlatDiagRadioReceiveDone(instance, &recv_frame, OT_ERROR_NONE); in openthread_handle_received_frame()
526 otPlatRadioReceiveDone(instance, &recv_frame, OT_ERROR_NONE); in openthread_handle_received_frame()
586 if (otMessageAppend(message, buf->data, buf->len) != OT_ERROR_NONE) { in openthread_handle_frame_to_send()
595 if (error != OT_ERROR_NONE) { in openthread_handle_frame_to_send()
773 return OT_ERROR_NONE; in otPlatRadioEnable()
785 return OT_ERROR_NONE; in otPlatRadioDisable()
799 return OT_ERROR_NONE; in otPlatRadioSleep()
817 return OT_ERROR_NONE; in otPlatRadioReceive()
837 return result ? OT_ERROR_FAILED : OT_ERROR_NONE; in otPlatRadioReceiveAt()
[all …]
Duart.c188 return OT_ERROR_NONE; in otPlatUartEnable()
203 return OT_ERROR_NONE; in otPlatUartDisable()
224 return OT_ERROR_NONE; in otPlatUartSend()
232 otError result = OT_ERROR_NONE; in otPlatUartFlush()
Dsettings.c250 return OT_ERROR_NONE; in otPlatSettingsGet()
274 return OT_ERROR_NONE; in otPlatSettingsSet()
299 return OT_ERROR_NONE; in otPlatSettingsAdd()
316 return OT_ERROR_NONE; in otPlatSettingsDelete()
Dentropy.c33 return OT_ERROR_NONE; in otPlatEntropyGet()
Dcrypto_psa.c26 return OT_ERROR_NONE; in psaToOtError()
231 return OT_ERROR_NONE; in otPlatCryptoHmacSha256Init()
301 return OT_ERROR_NONE; in otPlatCryptoAesInit()
315 return OT_ERROR_NONE; in otPlatCryptoAesSetKey()
338 return OT_ERROR_NONE; in otPlatCryptoAesFree()
352 return OT_ERROR_NONE; in otPlatCryptoSha256Init()
Dhdlc_interface.hpp138 otError ResetConnection(void) { return OT_ERROR_NONE; } in ResetConnection()
Dradio_spinel.cpp101 if (otMessageAppend(message, buf->data, buf->len) != OT_ERROR_NONE) { in openthread_handle_frame_to_send()
108 if (otIp6Send(instance, message) != OT_ERROR_NONE) { in openthread_handle_frame_to_send()
337 otError error = OT_ERROR_NONE; in otPlatRadioGetCoexMetrics()
/Zephyr-latest/samples/net/openthread/coap/src/
Dcoap_utils.c58 if (err != OT_ERROR_NONE) { in coap_req_send()
65 if (err != OT_ERROR_NONE) { in coap_req_send()
72 if (err != OT_ERROR_NONE) { in coap_req_send()
79 if (err != OT_ERROR_NONE) { in coap_req_send()
152 if (err != OT_ERROR_NONE) { in coap_resp_send()
159 if (err != OT_ERROR_NONE) { in coap_resp_send()
166 if (err != OT_ERROR_NONE) { in coap_resp_send()
173 if (err != OT_ERROR_NONE) { in coap_resp_send()
278 if (err != OT_ERROR_NONE) { in coap_init()
/Zephyr-latest/tests/subsys/openthread/
Dradio_test.c165 zassert_equal(otPlatRadioEnergyScan(ot, chan, dur), OT_ERROR_NONE, in ZTEST()
198 zassert_equal(otPlatRadioEnergyScan(ot, chan, dur), OT_ERROR_NONE, in ZTEST()
269 zassert_equal(otPlatRadioSetTransmitPower(ot, power), OT_ERROR_NONE, in ZTEST()
273 zassert_equal(otPlatRadioReceive(ot, chan), OT_ERROR_NONE, "Failed to receive."); in ZTEST()
304 zassert_equal(otPlatRadioTransmit(ot, frm), OT_ERROR_NONE, "Transmit failed."); in ZTEST()
329 zassert_equal(OT_ERROR_NONE, otPlatRadioTxDone_fake.arg3_val); in ZTEST()
342 zassert_equal(otPlatRadioTransmit(ot, frm), OT_ERROR_NONE, "Transmit failed."); in ZTEST()
353 zassert_equal(OT_ERROR_NONE, otPlatRadioTxDone_fake.arg3_val); in ZTEST()
365 zassert_equal(otPlatRadioSetTransmitPower(ot, -3), OT_ERROR_NONE, in ZTEST()
367 zassert_equal(otPlatRadioGetTransmitPower(ot, &out_power), OT_ERROR_NONE, in ZTEST()
[all …]
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread.c156 if (err != OT_ERROR_NONE) { in ncp_hdlc_send()
330 case OT_ERROR_NONE: in ot_joiner_start_handler()
422 otError error = OT_ERROR_NONE; in openthread_start()
468 if (error != OT_ERROR_NONE) { in openthread_start()
498 if (error != OT_ERROR_NONE) { in openthread_start()
506 return error == OT_ERROR_NONE ? 0 : -EIO; in openthread_start()
571 OT_ERROR_NONE) { in openthread_init()
573 OT_ERROR_NONE) { in openthread_init()
587 if (err != OT_ERROR_NONE) { in openthread_init()