-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eswifi recvfrom() not properly implemented on disco_l475_iot1 #29538
Comments
Hmm, I wonder why eswifi does not support this. cc: @rlubos & @loicpoulain |
Well I'm a bit confused with this driver in general, since it seems to implement both, net offloading and socket offloading. Which one is used in this case? As for socket offloading approach, it's clear that the |
|
@nashif I'm not the one who should work on this one, It's not an LwM2M issue but a faulty/incomplete wifi driver implementation. @panekk If eswifi does |
So, looking at eswifi behavior, to support that we need to handle 'UDP SVR' events which are on the below form: We need to save ip/port so that it can be passed back in recvfrom. Seems only one UDP client can be handled at a time, we need to stop/restart UDP 'accept' after each client... will try to implement something. I've started #29898 to address UDP server issue(s). |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Describe the bug
Zephyr's LwM2M client uses
recvfrom
function with non-NULLfrom
andfromlen
arguments, buteswifi_socket_recvfrom()
doesn't support them. Is there any chance to run the LwM2M client on B-L475E-IOT01A board?To Reproduce
Run LwM2M client on B-L475E-IOT01A and try to register to the LwM2M Server.
Expected behavior
Successful registration to the server.
Impact
LwM2M client is unusable when eswifi modem is used.
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: