This part describes the different instructions used to control the u-blox SARA-R410M modem.The instructions detailed below concern the general attachment to the modem ( the opening of UDP socket , test transmission , socket closing etc....) , the first time registration setup.
First time registration setup for VODEXL-01 (Vodafone Profile)
//Set the Vodafone profile > AT+UMNOPROF=19 OK //Module reboot for saving changed profile > AT+CFUN=15 OK
Read available profiles
> AT+UMNOPROF=,1 OK > AT+UMNOPROF=? +UMNOPROF: 0: SW default 1: SIM ICCID select 2: ATT 7.1 6: China Telecom 7.0 31: DT 7.0 8: Sprint 7.0 100: Standard Europe 7.0 4: Telstra 7.0 21: TELUS 7.0 5: TMO 7.0 19: Vodafone 7.0 3: Verizon 7.0 197: Vodafone-global-roaming 7.2 OK
Add Vodafone Global Roaming Profile
> AT+UDWNFILE="PROFILE",12480,"PROFILE" > //Send bin file with profile OK > AT+UMNOPROF=197 OK > AT+CFUN=15 OK
Full functional test of modem (Attach, UDP Socket, TX, RX, Detach)
// Start network registration > AT+CFUN=1 OK > AT+CEREG=2 OK // Wait till registered to network > AT+CEREG? +CEREG: 2,5,"AB7D","790066",9 OK // Open UDP socket > AT+USOCR=17 +USOCR: 0 OK // Transmit "Test" to Exelonix UDP proxy > AT+USOST=0,"213.136.81.171",9876,4,"Test" +USOST: 0,4 OK // Data indication (seems to be unreliable) +UUSORF=0,3 // Receive response data "400" > AT+USORF=0,3 +USORF: 0,"213.136.81.171",9876,3,"400" OK // Close socket > AT+USOCL=0 OK // Disable modem > AT+CFUN=0