background image

 

EVK-R6 and EVK-L6 - User guide 

UBX-21035387 - R03 

Appendix

  

Page 22 of 27 

C1-Public 

 

 

C

 

Examples of AT commands 

For  the  complete  description  and  syntax  of  the  AT  commands  supported  by  LARA-R6  /  LARA-L6 
series modules, see the u-blox AT commands manual 

[1]

. 

C.1

 

Define the initial default bearer for connectivity 

To change the PDN settings for the initial default EPS bearer established during LTE attach, edit the 
<cid>=1 PDN by means of the +CGDCONT AT command.  

Command sent by DTE (user) 

DCE response (module) 

Description 

AT+COPS? 

+COPS: 2 
OK 

The module is not registered. 

AT+CEREG=2;+CGEREP=1,1 

OK 

Enable a set of registration URCs. 

AT+CGDCONT? 

+CGDCONT: 1,"IPV4V6","","0.0.0.0 
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",
0,0,0,2,0,0,0,0,0,0 
OK 

Read IP type and APN for EPS attach 
bearer. 

AT+CGDCONT=1,"IPV4V6","broadband"  OK 

Set the APN name ("broadband" for 
example) and the PDP type ("IPV4V6" 
for example) for EPS attach bearer. 

AT+COPS=0 

OK 
 
+CEREG: 1,"0001","01a2d001",7 
+CGEV: ME PDN ACT 1 

Trigger a network registration and wait 
for attach complete. 

The same procedure can also be applied for the PDP context associated with <cid>=1 in 2G and 3G 
RAT. During the LTE attach, the initial default EPS bearer is automatically activated by the network, 
while in 2G and 3G RAT, it is necessary to manually activate the PDP context by means of +CGACT AT 
command. 

Command sent by DTE (user) 

DCE response (module) 

Description 

AT+CGACT=1,1 

OK 

Activate the PDP context associated 
with <cid>=1. 

It is possible to verify the status of the initial default EPS bearer or a PDP context by the means of the 
+CGDCONT and +CGCONTRDP AT commands. 

Command sent by DTE (user) 

DCE response (module) 

Description 

AT+CGDCONT? 

+CGDCONT: 1,"IP","default.mnc321.
mcc654.gprs","192.168.20.6",0,0,0
,2,0,0,0,0,0,0 
OK 

Read IP type and APN for EPS attach 
bearer. 
Context <cid>=1 has IP type "IP" and 
APN "default.mnc321.mcc654.gprs". 

AT+CGCONTRDP=1 

+CGCONTRDP: 1,5,"default.mnc321.m
cc654.gprs","192.168.20.6.255.255
.255.0","192.168.20.1","185.215.1
95.114","","","",0,0,1500,0,0 
OK 

Read context <cid>=1 dynamic 
parameters. 
<cid>=1 is currently active with IPv4 
address 192.168.20.6/24, gateway 
192.168.20.1 and DNS server 
185.215.195.114. 

C.2

 

Data connection using internal TCP/IP stack 

The internal TCP/IP stack is automatically mapped, configured, and activated to the initial default 
EPS  bearer  established  during  LTE  attach  or  to  the  first  activated  PDP  context  in  2G  or  3G  RAT. 
Consequently  the  +UPSD  and  +UPSDA  commands  are  no  longer  required  to  perform  these  tasks 
manually. 

 

Содержание EVK-R6

Страница 1: ...kits User guide Abstract This guide explains how to set up the u blox EVK R6 and EVK L6 evaluation kits to begin evaluating the LARA R6 series cellular modules supporting LTE Cat 1 3G 2G radio access...

Страница 2: ...00B 00 u blox or third parties may hold intellectual property rights in the products names logos and designs included in this document Copying reproduction modification or disclosure to third parties...

Страница 3: ...2 Appendix 13 A Setting up AT terminal applications for communication with EVK R6 and EVK L6 13 B Setting up cellular packet data connection 14 B 1 Install and configure a low data rate modem connecti...

Страница 4: ...tified as EVK R6 and EVK L6 See the LARA R6 series data sheet 2 the LARA L6 series data sheet 3 and the LARA R6 LARA L6 series system integration manual 4 for the features supported by the u blox LARA...

Страница 5: ...le The cellular and the GNSS adapter boards ADP R6 L6 and ADP GNSS respectively are connected by means of male header board to board connectors provided on the bottom of the adapter boards and their c...

Страница 6: ...able only on DIL B2B connector on ADP board SW401 EVB Cellular UART routing Slide switch to select cellular module main UART routing on USB or on RS232 connector SW403 EVB Cellular GPIO detach Slide s...

Страница 7: ...equipment J400 EVB SIM card holder SIM card holder J300 EVB Primary cellular antenna SMA connector for the cellular module primary antenna ANT1 Tx Rx J106 ADP R6 L6 Secondary cellular antenna SMA conn...

Страница 8: ...A Not present 57 GND J104 pins 7 10 12 TXD J104 pin 16 35 I2S_TXD Not present 58 GND J104 pins 7 10 13 RXD J104 pin 15 36 I2S_CLK Not present 59 ANT_DET Not present 14 GND J104 pins 7 10 37 I2S_RXD No...

Страница 9: ...ed 31 32 Not connected Not connected 33 34 GPIO1 Not connected 33 34 Not connected V_INT 35 36 Not connected Not connected 35 36 Not connected Not connected 37 38 Not connected Not connected 37 38 Not...

Страница 10: ...circuit from the EVB to the VCC input of the cellular module 7 To enable the board power supply turn the Main power switch SW400 on the EVB to the ON position LED DL400 lights green The cellular modu...

Страница 11: ...of the cellular module are respectively available over the two numbered COM ports opened by the driver after the end of the module boot once the switch on of the module is triggered see point 11 To en...

Страница 12: ...Command sent by DTE user DCE response module Description AT CREG CREG 0 1 OK Verify the network registration AT COPS 0 OK Register the module on the network The cellular module automatically registers...

Страница 13: ...ting values see section 1 8 Check with the Windows Device Manager to find out which COM port is being used by the EVK R6 and EVK L6 Figure 4 Home page 4 Enable the connection to u blox cellular module...

Страница 14: ...nnected to the Windows PC by the Cellular USB connector J501 on EVB or the Cellular RS232 connector J500 on EVB 2 Higher data rate modem via the native USB interface of the cellular module connected t...

Страница 15: ...on t detect my modem checkbox Then click Next 3 Select Standard 33600 bps Modem and click Next 4 Select the COM port to use for data communication and click Next This is the COM port on which the mode...

Страница 16: ...figuration can also be edited in Device Manager by clicking on the modem name B 2 Install and configure a high data rate modem connection on Windows This example describes how to install and configure...

Страница 17: ...odule telephone number 99 1 change if using a PDP context different from 1 o The specific account information for the network operator o A name for the connection e g R6 Dial up The packet data connec...

Страница 18: ...ilar program to send AT commands via USB 1 LARA R6 and LARA L6 use a non standard USB specific class Vendor Specific USB class To enumerate correctly on Linux hosts use option driver lib modules kerne...

Страница 19: ...will deregister from the network and both RF Tx and RF Rx will be disabled AT CGDCONT 1 IP ibox tim it OK Define a PDP context with preferred APN in this example the ibox tim it APN is selected AT CF...

Страница 20: ...R6 and EVK L6 User guide UBX 21035387 R03 Appendix Page 20 of 27 C1 Public 4 Use pppd in Linux as PPP daemon The following configuration scripts can be used to start a PPP connection through the modu...

Страница 21: ...87 R03 Appendix Page 21 of 27 C1 Public 5 Start the PPP with pon example_exe command and check with ifconfig command if the PPP interface in the example ppp0 Now it is possible to browse the Internet...

Страница 22: ...the initial default EPS bearer is automatically activated by the network while in 2G and 3G RAT it is necessary to manually activate the PDP context by means of CGACT AT command Command sent by DTE us...

Страница 23: ...SORD 0 32 u blox AG TCP UDP test service OK Retrieving the message AT USOCL 0 OK Closing the socket C 4 Opening a UDP socket Command sent by DTE user DCE response module Description AT CMEE 2 OK Enabl...

Страница 24: ...ting 1 AT UGPIOC 34 12 OK Configures the GPIO pin 34 I2S_WA as I2S digital audio interface default setting 1 AT UGPIOC 35 12 OK Configures the GPIO pin 35 I2S_TXD as I2S digital audio interface defaul...

Страница 25: ...R6 Cellular module 42 pin DIL B2B connectors EVB WL3 Step down Main power switch SW400 12 V J400 3 8 V VCC jumper J109 VCC Digital multimeter DCI VCC jumper J404 Figure 7 Block diagram of the setup fo...

Страница 26: ...perating System PIN Personal Identification Number PPP Point to Point Protocol PS Packet Switch PSU Power Supply Unit RAT Radio Access Technology RF Radio Frequency RI Ring Indicator SIM Subscriber Id...

Страница 27: ...570 For regular updates to u blox documentation and to receive product change notifications register on our homepage www u blox com Revision history Revision Date Name Comments R01 25 Jan 2022 mdem ps...

Отзывы: