Skip to content

Commit

Permalink
examples: OT_NETIF_THREAD -> OT_NETIF_THREAD_INTERNAL (#1024)
Browse files Browse the repository at this point in the history
* submodule: bump openthread from `ae5b750` to `473af53`
  • Loading branch information
jwhui authored Dec 2, 2024
1 parent 7d5a86f commit 82a6ea7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/sleepy-demo/sleepy-ftd.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void initUdp(void)
}

// Bind to the socket. Close the socket if bind fails.
error = otUdpBind(otGetInstance(), &sFtdSocket, &bindAddr, OT_NETIF_THREAD);
error = otUdpBind(otGetInstance(), &sFtdSocket, &bindAddr, OT_NETIF_THREAD_INTERNAL);
if (error != OT_ERROR_NONE)
{
otCliOutputFormat("FTD failed to bind udp multicast with: %d, %s\r\n", error, otThreadErrorToString(error));
Expand Down
2 changes: 1 addition & 1 deletion examples/sleepy-demo/sleepy-mtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void initUdp(void)
}

// Bind to the socket. Close the socket if bind fails.
error = otUdpBind(otGetInstance(), &sMtdSocket, &bindAddr, OT_NETIF_THREAD);
error = otUdpBind(otGetInstance(), &sMtdSocket, &bindAddr, OT_NETIF_THREAD_INTERNAL);
if (error != OT_ERROR_NONE)
{
otCliOutputFormat("MTD failed to bind udp socket with: %d, %s\r\n", error, otThreadErrorToString(error));
Expand Down
2 changes: 1 addition & 1 deletion examples/sleepy-demo/sleepy-ssed.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void initUdp(void)
}

// Bind to the socket. Close the socket if bind fails.
error = otUdpBind(otGetInstance(), &sSsedSocket, &bindAddr, OT_NETIF_THREAD);
error = otUdpBind(otGetInstance(), &sSsedSocket, &bindAddr, OT_NETIF_THREAD_INTERNAL);
if (error != OT_ERROR_NONE)
{
otCliOutputFormat("SSED failed to bind udp socket with: %d, %s\r\n", error, otThreadErrorToString(error));
Expand Down

0 comments on commit 82a6ea7

Please sign in to comment.