HUAWEI MU509-b HSDPA LGA Module
SSL Application Guide
Preliminary Operations
Issue 01 (2014-10-10)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6
2
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.
2.2 Configuring or Activating Context
Before working with AT commands for establishing secure connection using SSL, the
activation of a PDP context is needed.
First of all, context parameters have to be set. They consist in a set of information
identifying the internet entry point interface provided by the ISP. This can be done
using the AT+CGDCONT command:
AT+CGDCONT[=<cid>[,<PDP_type>[,<APN>[,<PDP_addr>[,<d_comp>[,<h_com
p>]]]]]]
Where:
<cid>: the PDP Context Identifier, a numeric parameter which specifies a
particular PDP context definition.
<PDP_type>: string value. It indicates the type of the packet switching protocol.
"IP": IP protocol
"PPP": Point-to-Point protocol
<APN>: the Access Point Name, a string that represents logical name used to
select GGSN or external packet data network.
To unlock password protected PIN, use AT+CPIN=<PIN>.
<PDP_addr>: string value. It indicates the address of MSl.
<d_comp>: a numerical value, controlling the compression of PDP data.
0: No compression