Professional Documents
Culture Documents
2170012 Rev 2
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Preface
Limitation of liability
The information in this manual is subject to change without notice and does not represent a commitment on the part of Sierra Wireless. SIERRA WIRELESS AND ITS AFFILIATES SPECIFICALLY DISCLAIM LIABILITY FOR ANY AND ALL DIRECT, INDIRECT, SPECIAL, GENERAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF PROFITS OR REVENUE OR ANTICIPATED PROFITS OR REVENUE ARISING OUT OF THE USE OR INABILITY TO USE ANY SIERRA WIRELESS PRODUCT, EVEN IF SIERRA WIRELESS AND/OR ITS AFFILIATES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR THEY ARE FORESEEABLE OR FOR CLAIMS BY ANY THIRD PARTY. Notwithstanding the foregoing, in no event shall Sierra Wireless and/or its affiliates aggregate liability arising under or in connection with the Sierra Wireless product, regardless of the number of events, occurrences, or claims giving rise to liability, be in excess of the price paid by the purchaser for the Sierra Wireless product.
Patents
This product may contain technology developed by or for Sierra Wireless Inc. This product includes technology licensed from QUALCOMM. This product is manufactured or sold by Sierra Wireless Inc. or its affiliates under one or more patents licensed from InterDigital Group.
Copyright
2012 Sierra Wireless. All rights reserved.
Trademarks
AirCard is a registered trademark of Sierra Wireless. Sierra Wireless, AirPrime, AirLink, AirVantage, Watcher and the Sierra Wireless logo are trademarks of Sierra Wireless. Windows and Windows Vista are registered trademarks of Microsoft Corporation. Macintosh and Mac OS are registered trademarks of Apple Inc., registered in the U.S. and other countries. QUALCOMM is a registered trademark of QUALCOMM Incorporated. Used under license. Other trademarks are the property of the respective owners.
2170012
Preface
Contact Information
Sales Desk: Phone: Hours: E-mail: Technical Support: 1-604-232-1488 8:00 am to 5:00 pm Pacific Time
sales@sierrawireless.com
Included with the purchase of the Development Kit you receive five hours of tier 3 engineering integration support. You will have received instructions by e-mail on how to access the OEM Customer Support web site. For more details, please contact your account manager, or the Sierra Wireless sales desk (see above).
repairs@sierrawireless.com
Sierra Wireless 13811 Wireless Way Richmond, BC Canada V6V 3A4 1-604-231-1109
Fax: Web:
www.sierrawireless.com
For up-to-date product descriptions, documentation, application notes, firmware upgrades, troubleshooting tips, and press releases, consult our website: www.sierrawireless.com
Re v 2 A u g - 1 2
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Table of Contents
About This Guide..................................................................................... 8 Introduction .................................................................................. 8 Scope .......................................................................................... 8 Glossary of terms ......................................................................... 9 References .................................................................................10 Revision history ..........................................................................11 Integration overview ...............................................................................12 CnS required support ..................................................................12 AT required support ....................................................................12 Sierra Wireless SDK required support.........................................12 Comprehensive sequences ....................................................................14 DC / PRL ....................................................................................14 HFA ............................................................................................16 Scenarios ...............................................................................................17 CI DC Successful update ..........................................................17 CI DC Failure Empty session ..................................................18 CI DC Failure user cancellation ...............................................19 CI DC Failure Generic .............................................................20 NI (Idle) DC Successful update .................................................20 NI (Idle) DC Failure empty session..........................................21 NI (Idle) DC Failure User cancellation .....................................22 NI (Idle) DC Failure Generic ....................................................23 NI (Dormant / Active) DC Accept ...............................................24 NI (Dormant / Active) DC Reject................................................25 CI PRL Successful update ........................................................26 CI PRL No PRL candidate.........................................................26 CI PRL Failure User cancelled ................................................27 CI PRL Failure Generic ...........................................................28 NI (Idle) PRL Successful update ...............................................29
4 Proprietary and confidential 2170012
Ta b l e o f C o n t e n t s
NI (Idle) PRL No PRL candidate................................................30 NI (Idle) PRL Failure User cancelled .......................................31 NI (Idle) PRL Failure Generic ..................................................32 NI (Dormant) PRL Accept .........................................................33 NI (Dormant) PRL Reject ..........................................................34 HFA Successful 1st try ...............................................................35 HFA Successful after retry ........................................................35 HFA Failure Generic ...............................................................36 Appendix A: CI vs. NI Idle vs. NI Dormant/Active User Experience .........37 Appendix B: UI Text................................................................................38 Preparing services ......................................................................38 Profile update success ................................................................38 Profile empty error ......................................................................38 Profile update failed Generic .....................................................38 Profile update prompt ..................................................................38 PRL checking..............................................................................38 PRL updating ..............................................................................38 PRL no candidate .......................................................................38 PRL success ...............................................................................38 PRL update prompt .....................................................................38 HFA initiation ..............................................................................39 HFA success...............................................................................39 HFA retry ....................................................................................39 HFA failure ..................................................................................39 Aborted .......................................................................................39 Appendix C: Frequently Asked Questions ..............................................40
Re v 2 A u g - 1 2
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
List of Figures
Figure 1: DC / PRL ................................................................................15 Figure 2: HFA ........................................................................................16 Figure 3: CI DC Successful update ......................................................17 Figure 4: CI DC Failure empty session ..............................................18 Figure 5: CI DC Failure user cancellation ..........................................19 Figure 6: CI DC Failure Generic.........................................................20 Figure 7: NI (Idle) DC Successful update .............................................21 Figure 8: NI (Idle) DC Failure empty session .....................................21 Figure 9: NI (Idle) DC Failure User cancellation .................................22 Figure 10: NI (Idle) DC Failure Generic..............................................23 Figure 11: NI (Dormant / Active) DC Accept.........................................24 Figure 12: NI (Dormant / Active) DC Reject .........................................25 Figure 13: CI PRL Successful update ..................................................26 Figure 14: CI PRL No PRL candidate ..................................................26 Figure 15: CI PRL Failure User cancelled ..........................................27 Figure 16: CI PRL Failure Generic .....................................................28 Figure 17: NI (Idle) PRL Successful update .........................................29 Figure 18: NI (Idle) PRL No PRL candidate .........................................30 Figure 19: NI (Idle) PRL Failure User cancelled .................................31 Figure 20: NI (Idle) PRL Failure Generic ............................................32 Figure 21: NI (Dormant) PRL Accept ...................................................33 Figure 22: NI (Dormant) PRL Reject ....................................................34 Figure 23: HFA Successful 1st try.........................................................35 Figure 24: HFA Successful after retry ..................................................35 Figure 25: HFA Failure Generic .........................................................36
2170012
L i s t o f Ta b l e s
List of Tables
Table 1: Acronyms.................................................................................. 9 Table 2: CnS messages that must be supported ...................................12
Re v 2 A u g - 1 2
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Scope
This document targets CDMA devices on the Sprint Nextel network that are compliant with version 1.4.5 of the Sprint OMADM spec [R-1] and are operating with a host connection manager that also supports this messaging. It is suggested that you review the Sprint OMA-DM spec and the Sierra Wireless CnS Reference Guide before reading through the current document.
2170012
A b o u t Th i s G u i d e
Glossary of terms
Table 1: Acronyms
Acronym/term Description AT A set of modem commands, preceded by AT, originally developed by Hayes, Inc. for their modems. The structure (but not the specific commands, which vary greatly from manufacturer to manufacturer) is a de facto modem industry standard. For a detailed description of the AT commands supported by the modem, see the AT Command Reference document from Sierra Wireless (document 2130620). Code Division Multiple AccessA wideband spread spectrum technique used in digital cellular, personal communications services, and other wireless networks. Wide channels (1.25 MHz) are obtained through spread spectrum transmissions, thus allowing many active users to share the same channel. Each user is assigned a unique digital code, which differentiates the individual conversations on the same channel. Client-Initiated Client-Initiated Device Configuration Connection Manager (software) Control and Status (language)a proprietary protocol for managing the control and status of the modem. CnS is described in detail in the CnS Reference document from Sierra Wireless (document 2130754). Device Configuration Device Management The network switches a 3G (1X or 1xEV-DO) high-speed data connection into a dormant mode if there is no traffic on the connection for some time. This allows the modem, if it supports voice, to make and receive voice calls while the data connection is idle. When you resume data traffic, the high-speed data connection becomes active. Software stored in ROM or EEPROM; essential programs that remain even when the system is turned off. Firmware is easier to change than hardware, but more permanent than software stored on disk. Firmware Update Over The Aira feature included in OMA Device Management (OMA-DM). Firmware Update Management Object. Related to FOTA (Firmware Update Over The Air)a feature included in OMA Device Management (OMA-DM). Hands Free Activation
CDMA
CI CIDC CM CnS
DC DM dormant
firmware
FOTA FUMO
HFA
Re v 2 A u g - 1 2
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Acronym/term Description NI NIA NIDC NIFUMO NIPRL notification Network-Initiated Network-Initiated Alert Network-Initiated Device Configuration Network-Initiated Firmware Update Management Object Network-Initiated PRL Update A mechanism to send unsolicited data from either side (host; modem) of the interface; used when no reply or return data is required from the receiver (or conversations do not require stopand-wait flow control) Open Mobile Alliance Open Mobile Alliance - Device Management. A device management (DM) protocol specified by the Open Mobile Alliance (OMA) Device Management Working Group and the Data Synchronization (DS) Working Group. Product Release Instructionsa file that contains the settings used to configure wireless products for a particular service provider, customer, or purpose. Preferred Roaming Listan account configuration item set by the users service provider. It controls the radio channels/network carrier used by the modem.
OMA OMA-DM
PRI
PRL
References
Ref. # R-1 R-2 R-3 R-4 Document title Sprint_OMADM_Client_Functional_Requirements_v1.5.1_080908.pdf Sprint FOTA Integration Guide, Sierra Wireless CDMA API Reference, Sierra Wireless CDMA 1xEV-DO CnS Reference, Sierra Wireless Doc. # N/a 2131025 2130593 2130754
10
2170012
A b o u t Th i s G u i d e
Revision history
Version 0.1 0.2 1.0 Date 28aug08 22sep08 29sep08 Summary of changes Initial draft. Incorporated review suggestions. Added Profile, PRL Update Prompts and Aborted message to Appendix B UI Text. Updated NI Dormant PRL Reject to include <Aborted> message. Added FAQ section and minor notes/updates. Updated doc to FileHold format and added to FileHold System. Used the Technical Publications layout. Changed CnS object names to match what the CnS Reference uses. Removed products that have reached end-of-life (MC5727). New template. Changes to the patents section.
Aug12
Re v 2 A u g - 1 2
11
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Integration overview
The OMA-DM feature covered in this document is a standardized protocol through which devices may be remotely administered by the network. This guide aims to cover integration of OMA-DM, particularly the Device Configuration (DC), PRL update, and Hands Free Activation (HFA) features per Sprints requirements. The diagrams cover modem-to-SDK communication vis-a-vis CnS messages and the SDK-to-Application communication vis-a-vis Sierra Wireless API calls.
AT required support
At the time of publication of this document, AT-based implementation of OMA-DM is not supported.
12
2170012
I n t e g r a t i o n o ve r vi e w
Notifications:
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_NI_Alert
The above two notifications must be enabled in order to support OMA-DM. These notifications should be registered as part of the host client (that is, connection manager) initiation sequence. For details on the Sierra Wireless SDK APIs and Sierra Wireless SDK Notification objects, see the CDMA API Reference guide [R3] and the header files accompanying the SDK.
Re v 2 A u g - 1 2
13
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Comprehensive sequences
DC / PRL
Figure 1 on page 15 illustrates standard alternative messages that may occur in a Sprint OMA-DM DC or PRL session. An important subtle characteristic that should be noted is that an OMA-DM session may have multiple initiations messages (DM Session State [0x0E03] with state = Active) within a single session. This is a result of the auto-retry requirement, which specifies that, if a Network Initiated OMA-DM session fails to establish for reasons other than authentication failure or no-job, the device should retry up to five times.
Note: These flows assume that the CM has already properly registered for notifications for the OMA-DM CnS objects (see Table 2 on page 12). Prompts / host UI messages are not presented in this sectionthe UI experience varies depending between PRL/DC sessions and Idle/Dormant/Active states.
14
2170012
Comprehensive sequences
Figure 1: DC / PRL
sd Generic OMA-DM Sequence SWI Modem alt CNS_DM_NI_ALERT
<UI Mode>, <PRL/DC>
SDK / Host
SDK Client
SwiStartOMADMSession() Return
CNS_DM_SESSION_START
Success
loop
[If NI then retry up to 5 times upon soft establishment failures] CNS_DM_SESSION_STATE SWI_NOTIFY_OMADM_State
Active, <NI/CI>, <PRL/DC>
[Successful] SWI_NOTIFY_OMADM_State
SwiCancelOMADMSession() Return
Cancel
CNS_DM_SESSION_STATE
Not Active,<NI/CI>, <PRL/DC>, <ERROR>, Not Updated ,
SWI_NOTIFY_OMADM_State
Re v 2 A u g - 1 2
15
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
HFA
Figure 2 illustrates standard alternative messages that may occur in a Sprint HFA session.
Note: The HFA attempted flag is now obsolete.
Figure 2: HFA
sd HFA Sequence
SDK Client
<HFA Initiation>
SWI_NOTIFY_OMADM_State
<HFA Retry>
alt
SWI_NOTIFY_OMADM_State
<HFA Success>
SWI_NOTIFY_OMADM_State
<HFA Failure>
16
2170012
Scenarios
Scenarios
This section describes and illustrates the expected messaging sequences for OMA-DM DC, PRL and HFA scenarios described in the Sprint OMA-DM requirements document [R-1].
Note: Prompts or host UI messages referenced via bracket notation in the message flows are later described in Appendix B: UI Texton page 38.
CI DC Successful update
User selects to perform a CI DC update, and it completes successfully. Figure 3: CI DC Successful update
sd CI DC - Successful
SWI Modem
(2) CNS_DM_SESSION_START
Success
(4) CNS_DM_SESSION_STATE
Not Active, U-CI, Dev Conf, Success, Updated
Steps: (1) (2) (3) (4) Host requests the Modem to initiate a User Client Initiated (U-CI) Device Configuration session. Modem acknowledges the request. Modem notifies the Host that the Device Configuration Session has begun. Modem notifies the Host that the Device Configuration Session has completed successfully.
Re v 2 A u g - 1 2
17
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
SDK Client
(2) CNS_DM_SESSION_START
Success
<Preparing services>
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
(4) CNS_DM_SESSION_STATE
Not Active, Dev Conf, U-CI, No Op, Not Updated
Steps: (1) (2) (3) (4) Host requests the Modem to initiate a User Client Initiated (U-CI) Device Configuration session. Modem acknowledges the request. Modem notifies the Host that the Device Configuration Session has begun. Modem notifies the Host that the Device Configuration Session has completed, and that no operations were conducted and thus the configuration has not been updated.
18
2170012
Scenarios
SDK Client
(2) CNS_DM_SESSION_START
Success
<Preparing services>
(3) CNS_DM_SESSION_STATE
Active, Device Configuration, U-CI
SWI_NOTIFY_OMADM_State Cancel
CI DC Session
SwiCancelOMADMSession() Return
(6) CNS_DM_SESSION_STATE
Not Active, Dev Conf, U-CI, User Aborted, Not Updated
SWI_NOTIFY_OMADM_State
<Aborted>
Steps: (1) (2) (3) (4) (5) (6) Host requests the Modem to initiate a User Client Initiated (U-CI) Device Configuration session. Modem acknowledges the request. Modem notifies the Host that the Device Configuration Session has begun. Host requests the Modem to cancel the Device Configuration session. Modem responds to the Host indicating that the request was successfully received. Modem notifies the Host that the Device Configuration Session has aborted per the users request.
Re v 2 A u g - 1 2
19
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
CI DC Failure Generic
User selects to perform a CI DC update, and it fails due to a generic error. Figure 6: CI DC Failure Generic
sd CI DC Failure Generic
SDK Client
(2) CNS_DM_SESSION_START
Success
<Preparing services>
(3) CNS_DM_SESSION_STATE
Active, Device Configuration, U-CI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
CI DC Session
(4) CNS_DM_SESSION_STATE
Not Active, Dev Conf, U-CI, Unspecified Error, Not Updated
Steps: (1) (2) (3) (4) Host requests the Modem to initiate a User Client Initiated (U-CI) Device Configuration session. Modem acknowledges the request. Modem notifies the Host that the Device Configuration Session has begun. Modem notifies the Host that the Device Configuration Session has erroneously ended for an unknown reason.
20
2170012
Scenarios
SDK / Host
<Preparing services>
(2) CNS_DM_SESSION_STATE
Active, NI, Device Configuration
NI DC Session
(3) CNS_DM_SESSION_STATE
Not Active, NI, Dev Conf, Success, Updated
Steps: (1) Modem notifies the Host that a Network Initiated (NI) Device Configuration request was received. Since this is an informative session, the host should display the status to the user. Modem notifies the Host that the Device Configuration Session has begun. Modem notifies the Host that the Device Configuration Session has completed successfully.
(2) (3)
SDK / Host
SWI_NOTIFY_OMADM_NI_Alert
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
NI DC Session
(3) CNS_DM_SESSION_STATE
Not Active, Dev Conf, NI, No Op, Not Updated
Re v 2 A u g - 1 2
21
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Steps: (1) Modem notifies the Host that a Network Initiated (NI) Device Configuration request was received. Since this is an informative session, the host should display the status to the user. Modem notifies the Host that the Device Configuration Session has begun. Modem notifies the Host that the Device Configuration Session has completed, no operations were conducted and thus the configuration has not been updated.
(2) (3)
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
SWI_NOTIFY_OMADM_State Cancel
NI DC Session
SwiCancelOMADMSession() Return
(5) CNS_DM_SESSION_STATE
Not Active, Dev Conf, NI, User Aborted, Not Updated
SWI_NOTIFY_OMADM_State <Aborted>
Steps: (1) Modem notifies the Host that a Network Initiated (NI) Device Configuration request was received. Since this is an informative session, the host should display the status to the user. Modem notifies the Host that the Device Configuration Session has begun. Host requests the Modem to cancel the Device Configuration session.
Proprietary and confidential 2170012
(2) (3)
22
Scenarios
(4) (5)
Modem responds to the Host indicating that the request was successfully received. Modem notifies the Host that the Device Configuration Session has aborted per the users request.
SDK Client
<Preparing services>
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State <Profile Generic Error>
NI DC Session
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
(2) CNS_DM_SESSION_STATE
Active, Device Configuration, NI
(3) CNS_DM_SESSION_STATE
Not Active, Dev Conf, NI, Unspecified Error, Not Updated
Steps: (1) Modem notifies the Host that a Network Initiated (NI) Device Configuration request was received. Since this is an informative session, the host should display the status to the user. Modem notifies the Host that the Device Configuration Session has begun. Because the modem is experiencing a generic error with the network, it will retry five times. Modem notifies the Host that the Device Configuration Session has erroneously ended for an unknown reason.
(2)
(3)
Re v 2 A u g - 1 2
23
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
SWI Modem
SDK / Host
SDK Client
SWI_NOTIFY_OMADM_NI_Alert Yes
ref
(3) CNS_DM_NI_ALERT
Yes
(4) CNS_DM_NI_ALERT
Success
ref
(5) NI DC Session
Steps: (1) Modem notifies the Host that a Network Initiated Device Configuration request was received. Since the device is dormant (connected but not active) when this notification is received the Modem will wait until it is dormant and notify the Host that it should interrupt the user and request permission to continue. As a result of the user selecting to continue with the OMADM session, the Host disconnects the current data session. Host sends a message to the Modem to indicate that it wants to interrupt the current data connection and perform a device configuration session. Modem acknowledges receipt of the message.
(2) (3)
(4)
24
2170012
Scenarios
(5)
Subsequent messages follow the same flow as NI (Idle) DC Scenarios (see pages 20 through 23).
SDK / Host
SDK Client
(2) CNS_DM_NI_ALERT
No
(3) CNS_DM_NI_ALERT
Success
<Aborted>
Steps: (1) Modem notifies the Host that a Network Initiated Device Configuration request was received. Since the device is Dormant (connected but not active) when this notification is received, the Modem notifies the Host that it should interrupt the user and request permission to continue. Host messages the Modem to indicate that it does not want to interrupt the current data connection with a DC session. Modem acknowledges receipt of the message.
(2) (3)
Re v 2 A u g - 1 2
25
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
SDK Client
(2) CNS_DM_SESSION_START
Success
<PRL Checking>
(3) CNS_DM_SESSION_STATE
Active, PRL, U-CI
CI PRL Session
(4) CNS_DM_SESSION_STATE
Not Active, U-CI, PRL, Success, Updated
Steps: (1) (2) (3) (4) Host requests the Modem to initiate a User Client Initiated (U-CI) PRL update session. Modem acknowledges the request. Modem notifies the Host that the PRL Session has begun. Modem notifies the Host that the PRL Session has completed successfully.
SWI Modem
SDK Client
(1) CNS_DM_SESSION_START
PRL
(2) CNS_DM_SESSION_START
Success
<PRL Checking>
(3) CNS_DM_SESSION_STATE
Active, PRL, U-CI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
CI PRL Session
(4) CNS_DM_SESSION_STATE
Not Active, PRL, U-CI, No Op, Not Updated
<PRL No Candidate>
26
2170012
Scenarios
Steps: (1) (2) (3) (4) Host requests the Modem to initiate a User Client Initiated (U-CI) PRL session. Modem acknowledges the request. Modem notifies the Host that the PRL Session has begun. Modem notifies the Host that the PRL Session has ended with no operations completed and thus no updates.
SWI Modem
SDK Client
(1) CNS_DM_SESSION_START
PRL
(2) CNS_DM_SESSION_START
Success
<PRL Checking>
(3) CNS_DM_SESSION_STATE
Active, PRL, U-CI
CI PRL Session
(6) CNS_DM_SESSION_STATE
Not Active, PRL, U-CI, User Aborted, Not Updated
SWI_NOTIFY_OMADM_State
<Aborted>
Steps: (1) (2) (3) (4) (5) (6) Host requests the Modem to initiate a User Client Initiated (U-CI) PRL session. Modem acknowledges the request. Modem notifies the Host that the PRL Session has begun. Host requests the Modem to cancel the PRL session in an effort to stop the update process. Modem responds to the Host indicating that the request was successfully received. Modem notifies the Host that the PRL Session has aborted per the users request.
Re v 2 A u g - 1 2
27
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
SDK Client
(2) CNS_DM_SESSION_START
Success
<PRL Checking>
(3) CNS_DM_SESSION_STATE
Active, PRL, U-CI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
CI PRL Session
(4) CNS_DM_SESSION_STATE
Not Active, PRL, U-CI, Unspecified Error, Not Updated
Steps: (1) (2) (3) (4) Host requests the Modem to initiate a User Client Initiated (U-CI) PRL session. Modem acknowledges the request. Modem notifies the Host that the PRL Session has begun. Modem notifies the Host that the PRL Session has erroneously ended for an unknown reason.
28
2170012
Scenarios
SDK / Host
SDK Client
SWI_NOTIFY_OMADM_ NI_Alert
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
NI PRL Session
(3) CNS_DM_SESSION_STATE
Not Active, NI, PRL, Success, Updated
Steps: (1) Modem notifies the Host that a Network Initiated (NI) PRL request was received. Since this is a background session, the host should hide this session from the user unless the user interrupts the session. Modem notifies the Host that the PRL Session has begun. Modem notifies the Host that the PRL Session has completed successfully.
(2) (3)
Re v 2 A u g - 1 2
29
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
SDK / Host
SDK Client
SWI_NOTIFY_OMADM_ NI_Alert
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
NI PRL Session
(3) CNS_DM_SESSION_STATE
Not Active, NI, PRL, No Op, Not Updated
Steps: (1) Modem notifies the Host that a Network Initiated (NI) PRL request was received. Since this is a background session, the host should hide this session from the user unless the user interrupts the session. Modem notifies the Host that the PRL Session has begun. Modem notifies the Host that the PRL Session has ended with no operations completed and thus no updates.
(2) (3)
30
2170012
Scenarios
SDK Client
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
SWI_NOTIFY_OMADM_State User actions interrupt process <PRL Updating> SwiCancelOMADMSession() Return Cancel
NI PRL Session
(5) CNS_DM_SESSION_STATE
Not Active, PRL, U-CI, User Aborted, Not Updated
SWI_NOTIFY_OMADM_State <Aborted>
Steps: (1) Modem notifies the Host that a Network Initiated (NI) PRL request was received. Since this is a background session, the host should hide this session from the user unless the user interrupts the session. Modem notifies the Host that the PRL Session has begun. Host requests the Modem to cancel the PRL session in an effort to stop the update process. Modem responds to the Host indicating that the request was successfully received. Modem notifies the Host that the PRL Session has aborted per the users request.
Re v 2 A u g - 1 2
31
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
SDK / Host SWI_NOTIFY_OMADM_ NI_Alert SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
SDK Client
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
NI PRL Session
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
(2) CNS_DM_SESSION_STATE
Active, PRL, NI
(3) CNS_DM_SESSION_STATE
Not Active, NI, PRL, Unspecified Error, Not Updated
Steps: (1) Modem notifies the Host that a Network Initiated (NI) PRL request was received. Since this is a background session, the host should hide this session from the user unless the user interrupts the session. Modem notifies the Host that the PRL Session has begun. Modem notifies the Host that the PRL Session has erroneously ended for an unknown reason.
(2) (3)
32
2170012
Scenarios
SWI Modem
SDK / Host
SDK Client
ref
(3) CNS_DM_NI_ALERT
Yes
SwiSetOMADMNIAlertResponse() Return
(4) CNS_DM_NI_ALERT
Success
ref
Steps: (1) Modem notifies the Host that a Network Initiated (NI) PRL request was received. Since the device is dormant (connected but not active) when this notification is received, the Modem notifies the Host that it should interrupt the user and request permission to continue. As a result of the user selecting to continue with the OMADM session, the Host disconnects the current data session. Host messages the Modem to indicate that it does want to interrupt the current data connection and perform a device configuration session. Modem acknowledges receipt of the message.
(2) (3)
(4)
Re v 2 A u g - 1 2
33
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
(5)
Subsequent message follow same flow as NI (Idle) PRL Scenarios. Note: In the subsequent flows the UI should not treat this as a background session; instead, it should treat this as an informative session and inform the user of the progress.
SWI Modem
SDK / Host
SDK Client
(2) CNS_DM_NI_ALERT
No
(3) CNS_DM_NI_ALERT
Success
<Aborted>
Steps: (1) Modem notifies the Host that a Network Initiated (NI) PRL request was received. Since the device is Dormant (connected but not active) when this notification is received, the Modem notifies the Host that it should interrupt the user and request permission to continue. Host messages the Modem to indicate that it does not want to interrupt the current data connection with a PRL session. Modem acknowledges receipt of the message.
(2) (3)
34
2170012
Scenarios
SDK Client
HFA Session
(2) CNS_DM_SESSION_STATE
Not Active, D-CI, HFA, Success, Updated
Steps: (1) Modem notifies the Host that the modem has initiated a Device-Client Initiated (D-CI) Hand Free Activation (HFA) session. Modem notifies the Host that the HFA session has completed successfully.
(2)
SDK / Host
SDK Client
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
(2) CNS_DM_SESSION_STATE
HFA Retry Pending, TTR, D-CI, HFA, No Op, Not Updated
(3) CNS_DM_SESSION_STATE
Active, HFA, D-CI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
(4) CNS_DM_SESSION_STATE
HFA Retry Pending, TTR, D-CI, HFA, No Op, Not Updated
(5) CNS_DM_SESSION_STATE
Active, HFA, D-CI
SWI_NOTIFY_OMADM_State SWI_NOTIFY_OMADM_State
(6) CNS_DM_SESSION_STATE
Not Active, D-CI, HFA, Success, Updated
Re v 2 A u g - 1 2
35
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Steps: (1) Modem notifies the Host that the modem has initiated a Device-Client Initiated (D-CI) Hand Free Activation (HFA) session. Modem notifies the Host of a failed HFA attempt. Modem notifies the Host that the modem has re-initiated a Device-Client Initiated (D-CI) Hand Free Activation (HFA) session. Modem notifies the Host of a failed HFA attempt. Modem notifies the Host that the modem has re-initiated a Device-Client Initiated (D-CI) Hand Free Activation (HFA) session. Modem notifies the Host that the HFA session has completed successfully.
(2) (3)
(4) (5)
(6)
SDK / Host
SDK Client
SWI_NOTIFY_OMADM_State
<HFA Initiation>
(2) CNS_DM_SESSION_STATE
Not Active, D-CI, HFA, Unspecified Error, Not Updated
SWI_NOTIFY_OMADM_State
<HFA Failure>
Steps: (1) Modem notifies the Host that the modem has initiated a Device-Client Initiated (D-CI) Hand Free Activation (HFA) session. Modem notifies the Host that the HFA session has failed.
(2)
36
2170012
A p p e n d i x A : C I v s . N I I d l e v s . N I D o r m a n t / A c t i v e U s e r E xp e r i e n c e
Re v 2 A u g - 1 2
37
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Appendix B: UI Text
Preparing services
The network is preparing your services. Please wait
PRL checking
Checking for PRL update
PRL updating
The network is updating your PRL. Please wait
PRL no candidate
No PRL update available
PRL success
PRL updated.
A p p e n d i x B : U I Te xt
HFA initiation
Hands Free Activation Contacting network
HFA success
Your device has been activated.
HFA retry
Hands Free Activation Waiting for retry in xx seconds
HFA failure
Hands Free Activation Your activation could not be completed. Please try again later. If the problem persists, you may need to contact Customer Service.
Aborted
This message indicates that the update was explicitly canceled by the user. The Sprint requirements do not dictate specific text to be displayed.
Re v 2 A u g - 1 2
39
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
40
2170012
Q: Please explain the steps the modem goes through when doing an HFA session to provision the MDN and/or MSID. How does the modem get account information overthe-air when the modem is not even activated? Is this over the data channel? A flow diagram will help a lot. A: Upon power-up the modem initiates HFA if any one of the three parameters (MSID, MDN and MIP1) are not provisioned. An unprovisioned modem is able to connect with the OMA-DM server through a MIP slot0 connection that is provisioned at the factory. More information on OMA-DM can be found at: http://www.openmobilealliance.org/Technical/DM.aspx. Q: What happens if HFA fails after retries? Will UCIDeviceConfiguration also provision all the account information and profile update over-the-air, similar to HFA? A: If HFA fails after all retries (if any), the modem will try again the next time the modem is powered up (that is, the modem continues to attempt HFA until it is fully provisioned).
Note: The initial deployment of Sprint Compass 597 USB modems would not retry after the first set of attempts.
Q: In addition to OMA-DM, is manual activation supported in the MC5728V Mini Card? A: Yes Q: If yes, should the host support manual activation on a Sprint MC5728V Mini Card in addition to OMA-DM? A: No Q: Is the OMA-DM server address carrier-specific? If so, should it be set in the PRI? How is the modem provisioned with the OMA-DM server address? A: At this point we support only Sprint OMA-DM requirements and don't support the provisioning of the OMA server address. If and when we support OMA-DM for other carriers, we will need to update the firmware and/or dmtree file at that point. Q: The DM Configuration reply indicates the maximum number of DM accounts supported. Is this same as the DMTLV Account node name in Start DM Session (0x0E01)? A: Currently we support only one DM account, and the DMTLV account node name is not used. Q: Is there a plan to support more than one DM account in the future, as indicated by Start DM Session? A: Currently there are no plans to support more than one DM account. It may happen in the future for dual-mode devices (for example, CDMA and WiMax) but not for the MC5728V Mini Card.
Re v 2 A u g - 1 2
41
S o f t wa r e I n t e g r a t i o n A p p l i c a t i o n N o t e s f o r S p r i n t O MA - D M
Q: What happens if the host sends a DM account name that is not supported? Does the modem respond with an error message? Do the current configuration and PRL remain valid? A: The firmware ignores the DM account name field so it does not make any difference. Q: What can an OMA-DM Device Configuration session change? What happens when a client initiated session occurs? A: An OMA-DM device configuration session can update MIP profile 1, MSID and MDN. The Sprint OMA server normally reprograms all parameters (MIP1, MDN & MSID) with the same values (but we've seen cases where the server performs only a partial or no provisioning). Q: What MIP profiles are used when performing an OMADM session, what about afterwards? A: The active MIP profile when in an OMA-DM session is profile 0. Once the session is completed, the active data profile is changed to profile 1. Q: How can the host query the status of a specific DM account? A: The DM Session State object (0x0E03) returns whether the device is in a DM session state or not, and, if not, whether it is pending HFA retry. On a related note, the Activation Status object (0x1009) returns whether or not the device has been activated. Q: Are the last session result codes for the DM Session State standardized? A: No; they are Sierra Wireless proprietary. Q: At any point in time, can there be more than one active DM session? For example, the host sends Start DM Session (0x0E01) for CI-DeviceConfiguration and this DM session is in active state. Is it valid for the host to send Start DM Session (0x0E01) for CI-PRL update when previous one is still active? If it is not valid, does the modem respond with error? A: Only one DM session can be active at a time. The modem responds with error if a new DM request is made while a session is active. Q: If the modem has an HFA retry pending and also has indicated NI alert for NI DC or NI PRL, when the host sends a cancel DM session to modem, are all the above cancelled or only the last session? A: It will only cancel the HFA.
42
2170012
Q: If the host does not respond to an alert, is the current Device Configuration/PRL/Firmware still valid, or is it overwritten with the new one? A: The current parameters will still be valid (NIA itself does not contain the valuesinstead, it only has a URI to server). Q: Is a simulator available to test some of the cases like NI Alert and failure cases indicated in Sprint-OMA-DM integration guide? How does Sierra Wireless test all of the corner cases? A: As of the publication date of this document, Sierra Wireless is not aware of a commercially-available OMA-DM simulator. Sierra Wireless generated its own simulation and test code, but they are not supported in the released code. Sierra Wireless staff spent a considerable amount of time at Sprints STIC lab and has used sandbox accounts for Sprint production OMA server.
Re v 2 A u g - 1 2
43