Page 2
Thus, the descriptions herein may not exactly match the product or its accessories which you purchase. Huawei reserves the right to change or modify any information or specifications contained in this manual without prior notice and without any liability.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Introduction Introduction 1.1 Scope This document provides the description of the set of Secure Socket Layer (SSL) AT commands related to the SSL protocol. 1.2 Audience This document is intended for people who are about to develop applications using secure sockets.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Preliminary Operations Preliminary Operations Before initializing a secure socket and transmitting data over the secure channel, certain preliminary operations need to be performed which are mentioned below. 2.1 IP Configuration CyaSSL requires IP configurations to be done to access the secure server over which data can be transmitted.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Preliminary Operations 1: Compression 2: V.42bi (reserved, not supported currently) If no <d_comp> is included, it is equivalent to the effect that the <d_comp> is 0. <h_comp>: a numerical value, controlling the compression of PDP header.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Preliminary Operations 2.3.1 Cipher Suites The cipher suite represents the set of algorithms which are used to negotiate the security settings for a network connection using the SSL network protocol. It includes...
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Configure SSL Configure SSL Before opening an SSL socket and exchanging data through secure or normal socket, the following steps need to be performed: Initialize SSL library Enable secure CyaSSL channel ...
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Configure SSL AT^SSLEN=1,1 3.3 Configure CyaSSL Socket CyaSSL socket parameters can be configured using the AT command AT^SSLCFG. AT^SSLCFG=<SSL_id>,<TimeOut>[,cipher_suit>,security_level>] Where: <SSL_id>: must be set to 1, for security socket ID available.
Page 11
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Configure SSL <action>: 0: Store certificate 1: Delete certificate 2: Load certificate <file_name>: the file name used for storing the certificate. The maximum length of the file name is 255.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Work with SSL Work with SSL 4.1 Open a Secure Socket As per AT command requirement, we provides an AT command for opening a normal socket or a secure socket. In case of normal socket creation, this AT command will simply use the Real Time Executive (REX) socket interface to create and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2hlbGxva GVsbG9oZWxsb2hlbGxvaGVsbG9oZWxsb2hlbGxvaGVsbG9oZWxsb2hlbGxva 4.2 Socket Connection Status An AT command is provided to know the current connection state of the socket based on the <SSL_id>.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Work with SSL Example When the socket connection is established: AT^SSLSTAT=1 ^SSLSTAT: Secure connection opened 4.3 Exchange Data Through a Secure Socket 4.3.1 Transmit Data Once the socket connection is established, an AT Command is provided to write data into the opened socket.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide Work with SSL Where: <SSL_id>: SSL socket ID. 1: secure socket connection 0: normal socket connection In case of normal socket connection, effect and process will be the same as TCP.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide SSL AT Commands SSL AT Commands In order to meet the requirements of AT commands for SSL, an Interface layer called CyaSSL Service Layer is designed to run as a separate task that makes use of both CyaSSL Library services and TCP for establishing normal or secure connection based on the request from AT commands.
HUAWEI MU509-b HSDPA LGA Module SSL Application Guide SSL Error Codes SSL Error Codes The table below lists all the error reports generated by the SSL AT commands in accordance with the selected format. Numerical Format: AT+CMEE=1 Verbose Format: AT+CMEE=2...