Home
last modified time | relevance | path

Searched refs:unpacked (Results 1 – 3 of 3) sorted by relevance

/openthread-3.7.0/src/lib/spinel/
Dlogger.cpp126 spinel_ssize_t unpacked; in LogSpinelFrame() local
139 unpacked = spinel_datatype_unpack(aFrame, aLength, "CiiD", &header, &cmd, &key, &data, &len); in LogSpinelFrame()
140 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in LogSpinelFrame()
156 unpacked = spinel_datatype_unpack(data, len, SPINEL_DATATYPE_UINT_PACKED_S, &status); in LogSpinelFrame()
157 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in LogSpinelFrame()
169 unpacked = spinel_datatype_unpack(data, len, SPINEL_DATATYPE_BOOL_S, &enabled); in LogSpinelFrame()
170 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in LogSpinelFrame()
184 unpacked = spinel_datatype_unpack(data, len, SPINEL_DATATYPE_INT8_S, &value); in LogSpinelFrame()
185 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in LogSpinelFrame()
219 unpacked = spinel_datatype_unpack(data, len, SPINEL_DATATYPE_UINT8_S, &value); in LogSpinelFrame()
[all …]
Dspinel_driver.cpp273 spinel_ssize_t unpacked; in HandleReceivedFrame() local
278unpacked = spinel_datatype_unpack(mRxFrameBuffer.GetFrame(), mRxFrameBuffer.GetLength(), "C", &hea… in HandleReceivedFrame()
289 …EXPECT(unpacked > 0 && (header & SPINEL_HEADER_FLAG) == SPINEL_HEADER_FLAG, error = OT_ERROR_PARSE… in HandleReceivedFrame()
329 spinel_ssize_t unpacked; in HandleInitialFrame() local
343 unpacked = spinel_datatype_unpack(data, len, "i", &status); in HandleInitialFrame()
344 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in HandleInitialFrame()
367unpacked = spinel_datatype_unpack(data, len, (SPINEL_DATATYPE_UINT_PACKED_S SPINEL_DATATYPE_UINT_P… in HandleInitialFrame()
370 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in HandleInitialFrame()
374unpacked = spinel_datatype_unpack_in_place(data, len, SPINEL_DATATYPE_UTF8_S, mVersion, sizeof(mVe… in HandleInitialFrame()
376 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in HandleInitialFrame()
[all …]
Dradio_spinel.cpp313 spinel_ssize_t unpacked; in HandleNotification() local
321 unpacked = spinel_datatype_unpack(aFrame, aLength, "CiiD", &header, &cmd, &key, &data, &len); in HandleNotification()
323 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in HandleNotification()
360 spinel_ssize_t unpacked; in HandleNotification() local
366 unpacked = spinel_datatype_unpack(aFrame, aLength, "CiiD", &header, &cmd, &key, &data, &len); in HandleNotification()
367 EXPECT(unpacked > 0, error = OT_ERROR_PARSE); in HandleNotification()
425 spinel_ssize_t unpacked = spinel_datatype_unpack(aBuffer, aLength, "i", &status); in HandleWaitingResponse() local
427 EXPECT(unpacked > 0, mError = OT_ERROR_PARSE); in HandleWaitingResponse()
433 spinel_ssize_t unpacked; in HandleWaitingResponse() local
437 unpacked = in HandleWaitingResponse()
[all …]