Skip to content
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

nrf91: improvements for modem and support for modem sockets #9873

Merged
merged 7 commits into from Jul 23, 2023

Conversation

raiden00pl
Copy link
Contributor

Summary

  • include/nuttx/wireless/lte/lte.h: increase bb_product length
  • include/nuttx/wireless/lte/lte.h: add fw_version field to lte_version_t
  • arch/nrf91: fix modem initialization
  • arch/nrf91: convert modem AT interface to serial device
  • arch/nrf91: fixes for modem OS integration
  • arch/nrf91: add support for modem sockets
  • boards/nrf9160-dk: update modem configuration

Impact

Testing

nrf9160-dk

NuttShell (NSH) NuttX-10.4.0
nsh> cu -l /dev/modem            # we have to set the device to full functionality, here we use direct AT commands
AT+CFUN=1
OK
AT+CFUN?
+CFUN: 1
OK
~.
nsh>
nsh> wget http://www.example.com
<!doctype html>
<html>
<head>
    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style type="text/css">
    body {
        background-color: #f0f0f2;
        margin: 0;
        padding: 0;
        font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        
    }
    div {
        width: 600px;
        margin: 5em auto;
        padding: 2em;
        background-color: #fdfdff;
        border-radius: 0.5em;
        box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);
    }
    a:link, a:visited {
        color: #38488f;
        text-decoration: none;
    }
    @media (max-width: 700px) {
        div {
            margin: 0 auto;
            width: auto;
        }
    }
    </style>    
</head>

<body>
<div>
    <h1>Example Domain</h1>
    <p>This domain is for use in illustrative examples in documents. You may use this
    domain in literature without prior coordination or asking for permission.</p>
    <p><a href="https://www.iana.org/domains/example">More information...</a></p>
</div>
</body>
</html>
nsh>

arch/arm/src/nrf91/nrf91_modem.h Outdated Show resolved Hide resolved
include/nuttx/wireless/lte/lte.h Outdated Show resolved Hide resolved
arch/arm/src/nrf91/nrf91_modem_at.c Outdated Show resolved Hide resolved
@xiaoxiang781216 xiaoxiang781216 merged commit f3e22c0 into apache:master Jul 23, 2023
26 checks passed
@raiden00pl raiden00pl deleted the nrf91_upstream branch July 25, 2023 15:46
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to done in Release Notes - 12.3.0 Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants