NimbeLink Skywire Instruction Manual

Socket dial example
Hide thumbs Also See for Skywire:

Advertisement

Quick Links

Skywire​
®​
Development Kit
Socket Dial Example
NimbeLink Corp
Updated: August 2019
PN 30050 rev 10
© NimbeLink Corp. 2019. All rights reserved.
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Skywire and is the answer not in the manual?

Questions and answers

Summary of Contents for NimbeLink Skywire

  • Page 1 Skywire​ ®​ Development Kit Socket Dial Example NimbeLink Corp Updated: August 2019 PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 2: Table Of Contents

    Get IMEI of Modem Initiate Socket Dial Send Data via HTTP Receive Data via HTTP Troubleshooting New Line/Carriage Return Appendix - Socket Dial Flow Charts Introduction NL-SW-HSPA Flow Chart NL-SW-LTE-TSVG-x Flow Chart PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 3: Introduction

    See the Development Kit User Manual for details on how to accomplish these steps. Note: If your Skywire modem is not listed here, please visit its respective page on www.nimbelink.com​ for the socket dial procedure. PN 30050 rev 10...
  • Page 4: Socket Dial

    The terminal should respond with: For example, if you are using an AT&T SIM and your APN is: iot0718.com.attz you would type: AT+CGDCONT=1,"IP","​ " i ot0718.com.attz​ followed by the Enter key. PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 5: Configure Socket (If Applicable)

    Since Verizon modems use PDP Context 3, this setup is required to use PDP context 3 with the first socket. 2.4. Activate Skywire Socket For the following modems: NL-SW-1xRTT-A NL-SW-1xRTT-S NL-SW-1xRTT-V NL-SW-EVDO-A NL-SW-EVDO-V NL-SW-GPRS NL-SW-HSPA NL-SW-HSPA-B PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 6: Initiate Socket Dial

    AT#SGACT = 1,1 followed by the Enter key, and the terminal should respond with: #SGACT: "www.xxx.yyy.zzz" where ​ w ww.xxx.yyy.zzz​ is the IP address of your Skywire modem. For the following modem: NL-SW-LTE-TSVG NL-SW-LTE-TC4NAG (Verizon Firmware)
  • Page 7: Send Data Via Http

    ​ G ET is the HTTP command being issued, ​ / text/demo_form.asp is the location of the data, and ​ H TTP/1.1​ is the HTTP version you will be using. PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 8: Shutdown The Socket Connection

    ​ x is the socket opened in the previous steps, followed by the enter key, and the terminal should respond with: The data connection and socket connection has now been terminated. PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 9: Working Example 1: Dweet.io

    CONNECT In this case, ​ 1 is the socket we are using on the Skywire modem, ​ 0 means we are using the TCP transmission protocol, ​ 8 0 is the TCP port we are using (TCP port 80 is used for HTTP), and ​...
  • Page 10: Send Data Via Http

    ​ x ​ ’ s is your IMEI from setup 3.2, followed by the enter key. Press CTRL+M CTRL+J CTRL+M CTRL+J, and after a short delay the terminal program should respond with something similar to: HTTP/1.1 200 OK PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 11: Troubleshooting

    If CTRL+M CTRL+J does not insert the necessary new line/carriage return characters, or if your terminal program handles new lines differently, try pressing CTRL+J only instead of CTRL+M CTRL+J. PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 12: Appendix - Socket Dial Flow Charts

    5. Appendix - Socket Dial Flow Charts 5.1. Introduction NimbeLink has created example flow charts for the socket dial process, as well as what to do in the event of a failure. NimbeLink recommends at a minimum following these charts and implementing the necessary error handling.
  • Page 13: Sw-Hspa Flow Chart

    5.2. NL-SW-HSPA Flow Chart PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.
  • Page 14: Sw-Lte-Tsvg-X Flow Chart

    5.3. NL-SW-LTE-TSVG-x Flow Chart PN 30050 rev 10 © NimbeLink Corp. 2019. All rights reserved.

Table of Contents