Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    NB-IoT: How to send data in Non-IP mode

    Scheduled Pinned Locked Moved MicroPython
    lte nb iotnon-ip
    2 Posts 2 Posters 665 Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      stsiafak
      last edited by

      I have recently achieved non-IP call with FiPy with the recent Sequans SW 37781 using the below:

      send_at_cmd_pretty('AT+CGDCONT=1,"Non-IP","<APN_NAME>"')
      lte.attach(band=3)
      

      The session is successful (attached S1-MME interface trace) can be found at the end.
      My query is how we can "inject" a non IP data packet using the socket lib and socket objects, as the classic AF_INET family needs a 5-tuple containing IP addresses and port details.
      Alternative solution can be a relevant Socket Dial: +SQNSD AT command but with no IP addresses and ports assigned?
      Some trials with AF_INET and SOCK_RAW were not successful. Can you help please?
      0_1537434374189_NAS_accept_Non_IP.png

      1 Reply Last reply Reply Quote 1
      • B Offline
        bitvijays
        last edited by

        Hi @stsiafak Just curious, were you able to send the data using non-IP mode? Also, how did you get the packet into wireshark?

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom