-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
samples: Add modem shell sample. #4546
Conversation
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
f7f4a29
to
eefbe35
Compare
9074b2a
to
f5ef159
Compare
Up for discussion whether to keep all build-system related files for other platforms - autotools, all of these MakeFiles etc. But we should definitely drop the autotools generated files (Makefile, Makefile.in). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still half-way throguh (I hope).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'm done with the first iteration, that was massive. Looks pretty good IMO, I've tried not to nitpick too much as there's simply too much code to do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am doing a pass, it will take a bit so I'll start posting what I found so far, which is mainly:
- The patching to
cURL
,getopt
andiperf3
is a bit inconsistent, there is a mix of commented out code, andifdefs
on several different symbols (CONFIG_MOSH_CURL_FUNCTIONAL_CHANGES
,NOT_IN_MOSH_CURL_INTEGRATION
,#if 0
. It would be good to have some consistency to be able togrep
differences between the vanilla implementation and our port across this three projects. - Why is
cURL
ismodem_shell
and not under/ext
like othergetopt
etc.?
5636363
to
334e3b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more issues from my side. Approving early as I'm OoO till the end of the week.
23ae3dd
to
2a98370
Compare
67d5bc1
to
a7ee1c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for the work.
I would prefix the commits that add components to |
Done. |
Adding iperf3 external libraries. Original copy has been taken from https://github.com/esnet/iperf/commits/3.9 and modified slightly to work in nrf context. Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no> Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
Adding FreeBSD getopt into external libraries. Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no> Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
AF_PACKET/SOCK_RAW/IPPROTO_RAW socket combo shall not be handled by offloading socket if zephyr packet socket is built in. Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no>
Adding Curl external library that has been copied from https://github.com/curl/curl/tree/curl-7_73_0. It has been modified quite a lot to work in nrf context. Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no> Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
Add 'nRF9160 Hardware Verification Guidelines - UART interface' to links.txt. Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
Adding modem shell sample with shell command line interface for at commands, lte link control, sms, socket tool, ping, curl, iperf3. Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no> Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no> Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Adding modem shell sample with shell command line interface for
at commands, lte link control, sms, socket tool, ping, curl, iperf3.