manifest: net: openthread: Regular openthread upmerge to e10a925.

Regular openthread upmerge to `e10a92570f94ff1e0bc5e0da9ecf0ee135d955a6`.

Additionally commit aligns platform implementation with diag changes:
https://github.com/openthread/openthread/pull/10354

based on:
https://github.com/openthread/ot-nrf528xx/pull/822

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
This commit is contained in:
Maciej Baczmanski 2024-06-27 13:20:49 +02:00 committed by Fabio Baltieri
parent e8827b5a62
commit 040a942a63
2 changed files with 29 additions and 9 deletions

View file

@ -16,19 +16,39 @@
* *
*/ */
static bool sDiagMode; static bool sDiagMode;
static void *sDiagCallbackContext;
static otPlatDiagOutputCallback sDiagOutputCallback;
otError otPlatDiagProcess(otInstance *aInstance, static void diag_output(const char *aFormat, ...)
uint8_t argc, {
char *argv[], va_list args;
char *aOutput,
size_t aOutputMaxLen) va_start(args, aFormat);
if (sDiagOutputCallback != NULL) {
sDiagOutputCallback(aFormat, args, sDiagCallbackContext);
}
va_end(args);
}
void otPlatDiagSetOutputCallback(otInstance *aInstance,
otPlatDiagOutputCallback aCallback,
void *aContext)
{
OT_UNUSED_VARIABLE(aInstance);
sDiagOutputCallback = aCallback;
sDiagCallbackContext = aContext;
}
otError otPlatDiagProcess(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[])
{ {
ARG_UNUSED(argc);
ARG_UNUSED(aInstance); ARG_UNUSED(aInstance);
ARG_UNUSED(aArgsLength);
/* Add more platform specific diagnostics features here. */ /* Add more platform specific diagnostics features here. */
snprintk(aOutput, aOutputMaxLen, diag_output("diag feature '%s' is not supported\r\n", aArgs[0]);
"diag feature '%s' is not supported\r\n", argv[0]);
return OT_ERROR_NOT_IMPLEMENTED; return OT_ERROR_NOT_IMPLEMENTED;
} }

View file

@ -306,7 +306,7 @@ manifest:
revision: 76d2168bcdfcd23a9a7dce8c21f2083b90a1e60a revision: 76d2168bcdfcd23a9a7dce8c21f2083b90a1e60a
path: modules/lib/open-amp path: modules/lib/open-amp
- name: openthread - name: openthread
revision: 3873c6fcd5a8a9dd01b71e8efe32ef5dc7923bb1 revision: e10a92570f94ff1e0bc5e0da9ecf0ee135d955a6
path: modules/lib/openthread path: modules/lib/openthread
- name: percepio - name: percepio
path: modules/debug/percepio path: modules/debug/percepio