Professional Documents
Culture Documents
SasGwy OneCAS 18.21 - Pub-1
SasGwy OneCAS 18.21 - Pub-1
CONFIDENTIAL
Nagravision is a member of the Kudelski Group of Companies.
This document is the intellectual property of Nagravision and contains confidential and privileged information.
The reproduction, modification, or communication to third parties (or to other than the addressee) of any part of this
document is strictly prohibited without the prior written consent from Nagravision.
All trademarks and registered trademarks are the property of their respective owners.
This document is supplied with an understanding that the notice(s) herein or any other contractual
agreement(s) made that instigated the delivery of a hard copy, electronic copy, facsimile or file transfer
of this document are strictly observed and maintained.
Any recipient of this document, without exception, is subject to a Non-Disclosure Agreement (NDA) and
access authorization.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 2
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Contents
Contents ........................................................................................................ 3
Preface .......................................................................................................... 8
1. Introduction ......................................................................................... 10
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 3
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 4
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
4.10.32 Command 58: Pair the ICC with Multiple STB ................................................. 71
4.10.33 Command 60: Immediate Callback ............................................................... 76
4.10.34 Command 61: Enable Automatic Callback ...................................................... 77
4.10.35 Command 62: Disable Automatic Callback ..................................................... 78
4.10.36 Command 65: Force Smartcard Synchronization ............................................. 78
4.10.38 Command 69: Send Generic IRD Command ................................................... 80
4.10.39 Command 71: Get Products ......................................................................... 83
4.10.28 Command 77: Configure auto scanning ......................................................... 84
4.10.29 ommand 78: Refresh Smart Card ................................................................. 85
4.10.40 Command 79: Force Tune ............................................................................ 88
4.10.41 Command 84: Send PRM Credentials ............................................................. 90
4.10.42 Command 88: Send BAEKey At Activation ...................................................... 91
4.10.30 Command 91: Anti-splitter Configuration ....................................................... 92
4.10.43 Command 96: Purge PPV and IPPV Records ................................................... 93
4.10.44 Command 97: Set IPPV Records as Reported ................................................. 95
4.10.45 Command 99: Send Generic IRD Command II ................................................ 96
4.10.45.1 Example: an STB with a Nagravision CAK ................................................. 97
4.10.45.2 Example: an STB with a native MG CAK ................................................... 97
4.11 CONTROL commands (1nn) .............................................................................. 99
4.11.1 Command 100: Redefine Credit Limit ............................................................ 99
4.11.2 Command 101: Set Authorized Phone Number .............................................. 100
4.11.3 Command 104: Create ICC in Call Collector .................................................. 101
4.11.4 Command 105: Cancel ICC in Call Collector .................................................. 102
4.11.5 Command 106: Set Purchase Profile............................................................. 103
4.11.6 Command 107: Set Purchase Profile With Free Programming .......................... 104
4.11.7 Command 110: EMM Cleanup ...................................................................... 106
4.11.8 Command 111: Get History From CC ............................................................ 106
4.11.9 Command 120: Enable Callback Rules .......................................................... 107
4.11.10 Command 121: Disable Callback Rules ......................................................... 108
4.11.11 Command 122: Set Network ....................................................................... 109
4.11.12 Command 123: Trigger Broadcast of Conditional EMM .................................... 111
4.11.13 Command 124: Get Smart Card Synchronization Status ................................. 112
4.11.14 Command 125: Set Subscriber Private Data .................................................. 113
4.11.15 Command 126: Assign Virtual UA to NUID .................................................... 114
4.11.16 Command 127: Get all products .................................................................. 116
4.11.17 Command 150: SNP Override ...................................................................... 117
4.12 Feedback Commands (2nn) ............................................................................. 118
4.12.1 Command 200: Low-Credit Alarm ................................................................ 119
4.12.2 Command 201: Current Debit and Credit ...................................................... 120
4.12.3 Command 202: PPV Purchase List ................................................................ 121
4.12.4 Command 203: PPV Purchase List Report...................................................... 122
4.12.5 Command 204: PPV Purchase List With Payment Status ................................. 123
4.12.6 Command 205: Phone Discrepancies ............................................................ 125
4.12.7 Command 206: STU Responding Status ........................................................ 126
4.12.8 Command 207: ICC Memory Full Alarm ........................................................ 127
4.12.9 Command 211: Start of Report .................................................................... 128
4.12.10 Command 212: End of Report ..................................................................... 129
4.12.11 Command 215: Products List ....................................................................... 130
4.12.12 Command 216: PPV Purchase List Extended .................................................. 131
4.12.13 Command 217: Impulse Purchase List .......................................................... 132
4.12.14 Command 218: Smart Card Synchronization Status ....................................... 134
4.13 Internal CAS commands (7nn) ......................................................................... 135
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 5
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
List of tables
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 6
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
List of figures
Figure 2-1: CAS overview ............................................................................................. 12
Figure 2-2: SMSgw protocol – communication layers ....................................................... 12
Figure 2-3: Device_IO connection establishment and data exchange phases ....................... 15
Figure 3-1: Connections between the SMS and the SMSgw ............................................... 17
Figure 3-2: Multi SMS connections ................................................................................. 17
Figure 4-1: Buffer of command 69 sent by the SMS ......................................................... 82
Figure 8-1: SMS commands ......................................................................................... 187
Figure 9-1: Entire network packet ................................................................................ 196
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 7
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Preface
Audience
This guide is directed at the following persons:
The customer’s personnel involved in the management of the SMS – CAS interface
SMS vendors’ personnel involved in the development of the interface between the SMS and the
CAS
Nagravision’s personnel involved in the CAS (marketing, customer support, developer, test
team)
Related Documents
[1] “Information technology – Syntactic meta-language – Extended BNF” (ISO/IEC
14977:1996)
[2] “Conditional Access Kernel – IRD Command Specification” (Nagravision)
Document History
Change logs
Version 18.21 / May 2018
Support of SMS 111(JYO)
Version 17.23 /May 2017
Support of SMS 35 for Aladin SC
Version 17.08 / Feb 2017
Rental PPV not supported for Aladin (PWI)
Added SMS command 150 for SNP
Verion 16.30 / July 2016
Updated checkbox for SMS 904 in section 4.7.1(JYO)
Version 16.24 / May 2016
Support for 902, 903, 96 command for Aladin Added.(KUM)
Version 16.06 / February 2016
. Updated checkbox for SMS command 48,50 and 56 in section 4.7.1 (JYO)
Version 15.47 / November 2015
• Add references to ackRightIfSuspended
• Added SMS 4/5 Aladin checkbox in section 4.7.1
Version 15.44 / October 2015
• Update supported commands/products table for sprint 15.44
Version 15.35.0 July 2015
• Remove support of freeDVR and Rental DVR product type for Aladin
• Mention that freeDVR and Rental DVR products are obsolete
Version 15.29.0 July 2015
Ungrayed Aladin command 7, 8, 10, 13 in section 4.7.1 (BGN)
Version 15.26.0 – June 2015
Grayed out Aladin SMS commands in Command support table that are not yet implemented
in OneCAS
Version 15.23.0 – May 2015
Initial version for OneCAS supporting Aladin, Merlin and DLK platforms
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 8
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Change logs
Document Reviewers
Reviewer’s Name Function Review Date Reviewed Version
Fabien Mathieu SAS architect 02/04/2012 1.1.0
Document Approvers
Name Function Approval Approved Version
Date
Jordi Porta Head of SAS 02/04/2012 1.1.0
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 9
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
1. Introduction
This document presents the interface that interconnects an SMS and the Nagravision conditional
access system (CAS). It provides the connection specifications, the communication protocol and
the commands used in the interface. This issue illustrates only the set of commands fully
supported and tested by the OneCAS standard delivery.
Chapter 9: Examples
Chapter 9 provides listings demonstrating a Device_IO connection process and a command
transmitted in a network packet.
A note on licenses
This document lists and describes all the commands supported by the Nagravision CAS
interface. However, the use of individual commands depends on the business licenses acquired
by the customer (i.e. the site operator). Make sure you have the appropriate license before
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 10
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
using a command.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 11
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
2. System overview
This chapter presents different aspects of the system related to the SMS Gateway interface.
SMS Set-Top-Box
SMS
SMS Gateway Set-Top-Box
2.2.1 Layers
There are three communication layers. The lowest is the TCP/IP level and the most abstract is
the level of the SMSgw protocol. Between those two is the Device IO layer whose role is to
gather commands from the TCP/IP stream.
DeviceIO
TCP/IP
TCP/IP is a stream-based protocol. The application-oriented messages are joined together and
there is no separator between these messages. When reading an application-oriented message
using OS primitives from a stream like TCP/IP, we may face one of the following three
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 12
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
possibilities:
The message is incomplete (only n bytes of the data have been read).
The message is complete (only the expected message has been read).
More than the expected message has been read.
The diagrams below show these three possibilities. We assume that the TCP/IP stream contains
two application-oriented messages M1 and M2:
M1 M2 TCP/IP stream
M1’ M1’’ M2
M1 M2
M1 M2’ M2’’
Device_IO is a protocol used above TCP/IP to exchange data as a buffer of known size. It
consists of a fixed-size header followed by the application data. The header has a size of two
bytes and the application data is a stream of n bytes.
Header section Payload section
Length (2 bytes) Application data (n bytes)
The header is a two-byte hexadecimal value that corresponds to the number of bytes in the
payload section.
Warning
▪ The header indicates only the length of the payload section. The first transmitted byte
is the most significant byte of the “Length” value”.
2.3.1 Overview
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 13
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
To manage communication between two systems, the following points must be addressed:
How to establish communication with a Device_IO server and how to indicate the internal client
for which the communication is intended.
How to transmit and receive data to and from the Device_IO server.
In the following description, the commands involved (open, send, receive, listen, and close)
are those of the underlying transport protocol used (TCP/IP). Device_IO does not redefine these
commands. The names used below (open, send, receive, listen, and close) are generic
names representing the corresponding available system calls. Consequently, the calls described
below only show their Device_IO parameters. The transport protocol parameters (such as
socket pointers) are not shown in the generic description of the calls.
To open a communication with a Device_IO server, an application must call the Device_IO
server. Two parameters must be provided:
The name of the machine on which the server is running;
The (TCP/IP) port number corresponding to the Device_IO server.
Once TCP communication with the server has been established, the name of the target service
must be communicated (message_1) to the Device_IO server in order to establish a link
between the calling client and the requested service.
As a reply, the server must send one or two messages. The first message (message_2) contains
the connection status and, when the communication attempt has been successful, a second
message (message_3) specifies whether the call has been accepted or rejected.
TCP connection
Connection
establish.
Message_1
phase
Message_2
Message_3
Time
exchange
phase
Data
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 14
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
After the communication link is established, messages can be exchanged (message_5) between
the client (here: the SMS) and the Device_IO server.
If, for any reason, the SMS does not receive either message_2 or message_3 within a specified
time-out period (e.g.: 30 seconds) when the communication is established, the SMS should
close the communication and retry later. The same rule applies if the connection status returned
by message_2 is different than “SUCCESS” or if the answer code returned by message_3 indicates
that the call is rejected.
There are four different message types in the Device_IO protocol. The next sections present the
different messages and the way they should be used.
This is the first message sent by the client (the SMS) to the Device_IO server.
Message_1
Syntax Size (byte) Format Description
Len 2 hex Message length in bytes (see section 2.2.3).
op_mode 1 r_hex Data transfer operation mode
0 = Normal data transfer
ob_name_len 1 hex Length of the object name attribute (in bytes).
ob_name ob_name_len text Name of the applicative service with which the
connection should be established.
Ob_name is a string of bytes at least one byte long
and at most 32 bytes long:
1 <= ob_name_len <= 32. This name is compulsory
but its content is up to the client (ex: “SMS_GWY”).
This message is a response from the Device_IO server to the client (in this case: the SMS); the
message validates the connection.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 15
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Message_2
Syntax Size (byte) Format Description
Len 2 hex Message length in bytes. In this case, the
length is always 1 byte.
connect_status 1 r_hex Connection status. Refer to the table below for
applicable values.
Connect_status
Value Identifier Description
0 CONNECT_FAILURE The connection has failed for any unexpected reason
6 SUCCESS The operation has been successfully completed.
This message is a response from the Device_IO server, which validates the connection with the
other process (in our case: the SMSgw).
Message_3
Syntax Size (byte) Format Description
len 2 hex Message length in bytes. In this case, the
length is always 1 byte.
answer_code 1 r_hex 0: call accepted
1: call rejected
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 16
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
3. SMS-SMSgw connections
3.1 Overview
The figure below illustrates the connections used by the SMS and the Nagravision SMSgw. As
depicted in the figure, a connection can be seen as a data channel. On the same channel,
commands follow one direction, while the opposite direction is followed by the corresponding
responses (ack or nack). An ack response means that the incoming command is correctly
formatted and it has been successfully processed. A nack response means that either the format
or the data structure of the command is not appropriate or that the command has encountered
problems during processing in the system. The SMS is responsible for opening both channels.
The commands flow from the SMS to the CAS in the EMM/Control channel, whereas the
responses flow from the CAS to the SMS in the Feedback command channel.
Ack or Nack
ack
Feedback
Feedback commands port
Ack or Nack
ack
1002 commands
Ack 1002
ack
FEEDBACK channel
Several SMS may be connected to the same port, as shown in the following figure:
SMS 2
Feedback
port
SMS 3
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 17
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The routing of a feedback command depends on the SMS source_id associated with a given
smart card, i.e. the source_id linked to an individual end user. The source_id available in the
header of any command is extracted by the CAS during the initialization phase of an end user.
Refer to the Important note (below) for more details.
Each time an SMS opens a connection on a Feedback channel, after the initial Device_IO
handshake successfully completes, the SMS must also issue command 1002 in order to
associate an SMS_id to the connection. The CAS uses that SMS_id to enable the routing of
feedback commands only if an appropriate SMS is up and running.
Important
▪ The source_id identifies an SMS; its value must not change over time during the
entire lifetime of the system. The source_id and dest_id values must be assigned
by Nagravision.
▪ ITM-DNASP2 systems: command 52 is used to catch the SMS source_id.
▪ ITM-Aladin systems: command 13 is used to catch the SMS source_id.
3.5 Usage
Each connection established between the SMS and the Nagravision CAS has a source identifier.
Each connection must have its own source identifier and it is not possible for two connections to
share the same source identifier at any given time. The source identifier of a connection is given
by field source_id in the header of each message sent from the SMS to the CAS.
Each transaction number used must be unique during the life of the corresponding connection.
The transaction number is given by a field in the header of each message sent from the SMS to
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 18
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
the CAS. Transaction numbers are necessary to determine which commands have been
processed successfully (ack, command 1000) and which commands have not (nack, command
1001).
During periods of inactivity on the SMS-CAS interface, the SMS must periodically send command
1002 on both ports (EMM/Control and Feedback) to the CAS. The main reason for that
recommendation is that intelligent network devices (such as switches or firewalls) may not keep
idle TCP connections open indefinitely. Nagravision recommends that command 1002 be sent
every 5 minutes on both ports.
Each time the SMS opens a connection on either the EMM/Control port or the Feedback port, it
must first generate command 1002.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 19
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
4. SMS commands
4.1 Specification
The SMS sends commands to the CAS. In response, the CAS sends acknowledgment messages
back to the SMS. The same applies to feedback commands: the CAS sends feedback commands
to the SMS; in response, the SMS sends acknowledgements back to the CAS. Of course, the
acknowledgment messages are reported on the same communication channel as the
corresponding commands.
Note
▪ The system will not behave as expected if the following values are not handled
correctly:
– transaction_id
– source_id
– dest_id
The protocol used between the SMS and the CAS is asynchronous. Several SMS commands may
be sent before acknowledgement messages are received. In other words, there is no need to
wait for the acknowledgement of a command before sending the next commands to the CAS.
Important
▪ The SMS may receive the acknowledgement messages in a different order than the
order in which the corresponding commands have been sent. However, for an
individual smart card, the sequence of EMMs follows the sequence of SMS commands.
▪ Please also note that at the end of the transmission chain, i.e. at the device (smart
card or Set Top Box / CAK),, the sequence of commands is not guaranteed.
4.1.3 Feedback
If there is no return path, the SMS will not need to open a connection on the Feedback port
unless command 71 (Get Products) is sent on the control port to trigger the generation of
commands 215 (Product List) on the Feedback port.
4.2 Metrics
Metric Value range (typical)
Connection The EMM/Control port and Feedback ports may accept up to
10 connections each.
SMS commands The CAS can process from 4 up to 10 SMS EMM and control commands
per second over the EMM/Control channel, with actual figures depending
on the capacity of the CAS hardware.
Feedback commands The CAS can generate and send up to 500 feedback commands per
second. The flow of data is not necessarily regular.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 20
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Note
▪ Those metrics depend on factors such as system architecture and processing power;
they are provided here merely as an order of magnitude.
Although product validity dates are generally expressed in UTC, if the IMS product definition
specifies that validity dates are in local time and if the validity dates are specified by the SMS,
then the validity dates provided by the SMS will be interpreted in the subscriber’s local time.
Therefore, for fields begin_date and end_date in SMS commands 2, 901, 902, 903, 921
and 922, the comment must be changed so as to specify generally in UTC rather than UTC.
All dates shall be between 1992.01.01 (i.e. 19920101) and 2038.01.01 (i.e. 20380101).
4.4 Currency
In the CAS database and in the smart cards, the credit and price figures are expressed in CAS
currency – not in local currency. The SMS must convert the credit and price data from local
currency to CAS currency. Note that the conversion coefficient is generally equal to one, and
that CAS currency and local currency are therefore the same.
CAS currency = local currency / coefficient
This applies to all type of commands (EMM, Control, Macro EMM, Feedback, Online Purchase).
The price and credit figures could be expressed in tokens. In such a case, both the
SMS currency and the CAS currency would be tokens and, therefore, the SMS would
not need to apply any conversion factor.
4.5 Identifiers
This section contains descriptions of all identifiers used throughout this document.
ID Definition
circuit_id A number uniquely identifying a video/audio/data stream.
command_id The identifier of an SMS command. The content of this field forms part of the
command. The value of command_id is covered by the SMS documentation
for all commands except the feedback commands, which is covered by the
IMS or CC documentation.
Conditional_add_id Identifier of the conditional add product to be broadcast.
dest_id The identifier of the addressed SMS command. It is entered at system
configuration.
Host_id STB id for a point of development (POD).
IMS_event_id An IMS-generated identifier for individual events. It is entered using the IMS
editor or generated when the EPG data feed is processed.
IMS_product_id The identifier of a product in the IMS. It is the only product identifier known
to the IMS.
MOP_PPID The identifier of the management operator (MOP). This identifier is provided
by Nagravision at system configuration.
Network_id DVB network identifier.
POD_id Point of development identifier (i.e. PCMCIA module).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 21
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
ID Definition
Service_id DVB service identifier.
SMS_product_id A product identifier for use by the SMS. It is provided and managed by the
SMS. It is entered into the system by the SMS Gateway through commands
300, 303, 305 or 307.
source_id An identifier specifying the source of SMS commands. This identifier is
entered into the system at system configuration.
STB serial number The hardware serial number of the STB.
STU_number This Nagravision STB number is used to identify the STB in the CA system,
for pairing purposes.
Transport_id DVB transport identifier.
The event_name or product_name field is characterized by its fixed size length. The useful
section of the field is a string of (ASCII printable) characters. The remaining part of the field
must be padded with space characters (value: 0x20).
Because the previous version of the SMS Gateway document indicated that the field must be
padded with series of 0x00 bytes, the CAS will continue to accept incoming SMS commands that
follow the 0x00-padded format. However, any new development in the SMS must follow the rule
regarding the space characters.
When the SMS uses filler character 0x00, the drawback for the CAS system is that the traces of
the incoming SMS command become corrupted in the log file are corrupted. This is because the
value 0x00 is considered as an end-of-string indicator.
On the other hand, the 0x00 byte does not affect the individual CAS applications processing the
SMS commands.
The purpose of the event_name or product_name data provided in the SMS command is for the
STB menu to show a description of the available product.The CAS shall be configured to work in
one of the two following modes:
Mode 1, in which the SMS controls the product name:
The event or product name provided by the SMS (commands 10, 901, 902, 903, 905
and 923) is used to prepare the EMM data. If the length of the product name is
equal to 0, the product name will be taken from the CAS database.
Note that for SMS command 2 and for subscription products in commands 901 and 902,
the event name cannot be specified and it is therefore always taken from the IMS.
Mode 2, in which the IMS controls the product name:
The product name provided by the SMS is ignored. It is overwritten by the
corresponding value that is available in the CAS database.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 22
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Note
▪ This is not applicable to subscription products.
Unique addressing is supported for most SMS commands, whereas shared and global addressing
are reserved for special operations with a restricted list of SMS commands. See below for
details.
Additionally some commands can only be issued on some device types (Aladin, Merlin or DLK).
The following table shows the allowed addressing modes and devices for each command.
Important
▪ For SMS commands in global addressing mode, the smart card records are not
updated in the CAS database, except if a special feature is enabled to update the CAS
database under global addressing. If this feature is enabled, only a subset of the SMS
commands accepted with global addressing will trigger a CAS database update.
The table below provides the addressing modes supported for each SMS command.
2 Add Product √ √ √ √ √ √
4 Product Suspension √ √ √ √
5 Product Reactivation √ √ √ √
6 Product Cancellation √ √ √ √ √ √
7 All Products Cancellation √ √ √ √ √
8 Credit Management √ √ √
9 Update Credit Threshold √ √ √
10 Add Event Product √ √ √ √ √ √
13 Create Credit for Impuls. √ √ √
Purchase
14 Suspend impulsive √ √ √ √
purchase
15 Reactivate impulsive √ √ √ √
purchase
19 Patch smartcard √ √
20 Suspend Subscriber ICC √ √ √ √ √
21 Reactivate Subscriber ICC √ √ √ √ √
23 Suspend all ICC features √ √ √ √ √
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 23
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 24
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Note
▪ If the SMS Gateway receives an SMS command it does not supported either generally
or for the given addressing mode (shared or global), the SMS command will be
rejected with a ‘BAD_COMMAND_SYNTAX’ error code and an
‘EXTERNAL_SYSTEM_ERROR’ error code extension.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 25
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
SMS commands 10, 903, 904, 905 adding coins, Rental DVR, Rental PPV products
▪ You can configure the SAS to disable support for global addressing, to enable it for all
SMS source IDs, or to enable it only for one source ID.
Global addressing is refused (the SMS command is rejected) in the following cases:
With SMS commands 2, 6, 903, 904 and 905 for subscription products under PA per
Operator and for coins, as well as for SVOD and TVODSub products;
With SMS commands 10, 903, 904 and 905 for coins, as well as for Rental and for
Rental PPV products;
With SMS commands 905 if purchase mode is set to ‘Re-hit’.
Note
▪ The SMS command will be rejected with a ‘BAD_PRODUCT_TYPE’ error code and the
product_type (REGULAR_PRODUCT, PPV_PRODUCT – or
NO_EXTENDED_ERROR_CODE for A la carte product) as the error code extension in
the following cases:
• The product type is not supported for the SMS command (e.g.: PPV products
cannot be added using SMS command 2).
• The product type is incompatible with the addressing mode (e.g.: rental PPV
products cannot be added in shared or global addressing mode).
▪ In the case above, when the smartcard type is not consistent with the product an
error code ‘PRODUCT_INCONSISTENT’ is shown instead.
Note
▪ The SMS command will be rejected with a ‘NOT_AUTHORIZED’ error code and a
‘NO_EXTENDED_ERROR_CODE’ error code extension in the following cases:
• The product PA type is not consistent with the MOP PA type (e.g.: subscription
products under PA per Operator cannot be added to a MOP to which PA per Operator
does not apply).
• The product PA type is incompatible with the addressing mode (e.g.: subscription
products under PA per Operator cannot be added in shared or global addressing
mode).
The table below shows commands that can be used to handle each type of product.
Note that the products “Free DVR” and “Rental DVR” are obsolete and no longer supported in
OneCAS.
PPT by Coins
Flexible Sub
Rental PPV
A-la-carte
TVOD Sub
N of M
SVOD
FPP*
Coin
SUB
PPV
Aladin √ √ √ √ √
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 26
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
PPT by Coins
Flexible Sub
Rental PPV
A-la-carte
TVOD Sub
N of M
SVOD
FPP*
Coin
SUB
PPV
Merlin √ √ √ √ √ √ √ √ √ √ √ √ √
DLK √ √ √ √ √
PPT by Coins
Flexible Sub
Rental PPV
A-la-carte
TVOD Sub
N of M
SVOD
FPP*
Coin
SUB
PPV
2 Add Product X X X X X X X
4 Product Suspension X X
5 Product Reactivation X X
6 Product Cancellation X X X X X X X X X X
7 All Products X X X X X X X X X X X
Cancellation
10 Add Event Product X X X X X
78 Refresh Smart Card X1 X X
901 Activate Smart Card P P V V V P P
902 Activate Smart Card P P V V V P P
Without Return Path
903 Add List of Products P P P V V
904 Cancel List of Products X X X X X X X X X X
905 Add Enhanced List of P P P P V V V V V P P
Products
908 Set Families of X2
products
909 A-la-carte X
management
923 Activate Smart Card II P P P P V V V V V P P
925 Set a-la-carte services X
1
Only PAP SUB products are refreshed by SMS command 78 (PAO products are not taken into account).
2
Only available for subscription products associated to a family before the migration to the ‘a-la-carte’
product. After the migration, only the SMS commands 909 and 925 should be used to manage ‘a-la-carte’
product.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 27
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
In the head end and smart cards, credit and prices are handled in CAS currency, not in local
currency. The SMS must convert the credit/price data from local currency into CAS currency.
Note that the coefficient is generally equal to one: CAS currency and local currency are the
same.
This applies to all types of commands (EMM, CONTROL, MACRO EMM and FEEDBACK).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 28
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
4.9 Headers
Any message (except business commands) has the following structure, the address headers
depending on the field command_type from the root header:
Root common to all commands
header (see section 4.9.1 Root header below)
Address EMM CTRL Feedback Operation Business
header 4.9.2 4.9.3 4.9.4 4.9.5 (out of scope)
Comman cmd 0nn cmd 1nn cmd 2nn cmd 10nn and 20nn
d body 4.10 4.11 4.11.17 4.15
The next section details the internal structure of the three modules (root header, address
header and command body).
Business commands are reserved for Nagra applications such as JSim and the specification
beyond the root header is beyond the scope of this document.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 29
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The error codes (nack messages) applicable to this part of the command are listed below.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 30
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 31
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
G - - – –
to B.
Important
▪ Regarding shared addresses:
• For Aladin and Berlin smart cards, the group size is equal to 256. Consequently,
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 32
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Important
▪ As indicated in the table above, the format of the bitmap field is r_text. However, it
does not contain a regular string: it is not a text field, such as “this is a sentence with
characters and 1 2 3 4 numerical values”. The data in the bitmap field is a sequence
of hexadecimal numbers encoded in a text format. Consequently, the field will only
accept alpha characters A, B, C, D, E, F representing the numbers 10 to 15 in a
hexadecimal form.
▪ As an example – the CAS will accept the following bitmap value:
A0BCD12A29327B9F. In this example, bitmap_length is equal to 8.
Note
▪ The broadcast_start_date is always used by the SAS, except when handling family
products (in which case it is replaced by the current start date). If it is in the past
then it is set to the current date and time, otherwise it is used as is. The
broadcast_end_date is always ignored (unless the SAS has been explicitely configured
to use it) and rather computed using the broadcast_start_date and adding the
duration specified in the broadcasting profile associated to the SMS command
(association between SMS command and broadcasting profile is configurable at SAS
level). It is recommended to set the broadcast_start_date in the past or to the
current date and time. This allows a better control of the EMM bandwidth. Please do
not confuse the broadcast period that specifies the period when the EMM are
broadcasted, with the right validity period that specifies when a right is valid.
The error codes (nack messages) applicable to this part of the command are listed below.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 33
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 34
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The error codes (nack messages) applicable to this part of the command are listed below.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 35
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The error codes (nack messages) applicable to this part of the command are listed below.
The error codes (nack messages) applicable to this part of the command are listed below.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 36
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to add a service entitlement in a smart card for a certain product.
Usage Note
▪ For new development, it is advised to use SMS command 905 (Add Enhanced List of
Products) instead of SMS command 2.
Important
▪ Command 2 cannot be used to authorize a PPV. Command 10 should be used instead.
▪ If the RTM [Business]ackRightIsSuspended is set to false (its default value), SMS
command 2 will be rejected if the MOP is suspended (by means of SMS command 20)
or if the SOP is suspended (by means of SMS command 23).
If the RTM [Business]ackRightIsSuspended is set to true, SMS command 2 will be
accepted, the CASDB will be updated accordingly, and with the help of diffusion
profiles, the target secure device(s) will eventually be updated, should the secure
device be reactivated.
▪ If multi-instance products (PPT by points) are added with this command, they will be
handled as new purchases (i.e. the CAS will create a new instance of this product).
▪ The dates (begin_date and end_date) are only used if the SAS is configured to allow
SMS-controlled dates.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 37
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 38
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Usage Note
▪ It is not advised to use this command for new developments. Use command 20
(Suspend Subscriber ICC) instead.
The SMS uses this command to suspend a service or PPV entitlement in a smart card for a
certain product.
The end user will not be able to watch the corresponding services or PPVs until the SMS sends a
product reactivation command. Command 4 may be used when there is a payment problem
with the end user. Command 4 does not impact callbacks.
Important
▪ This command shall not be used for A-la-carte subscription products.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 39
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Usage Note
▪ It is not advised to use this command for new developments. Use command 21
(Reactivate Subscriber ICC) instead.
The SMS uses this command to reactivate a service or PPV entitlement in a smart card in cases
where the entitlement has previously been suspended with command 4 (Product Suspension).
The end user will then be able to watch the corresponding services or PPVs again.
Important
▪ This command shall not be used for A-la-carte subscription products.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 40
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Usage Note
▪ It is not advised to use this command to cancel more than one product at once. Use
command 904 (Cancel List of Products) instead.
The SMS uses this command to remove an entitlement from a smart card for a certain product.
This command is applicable to entitlements that have been purchased through the SMS. In
other words, any impulsively purchased entitlement can be cancelled with this command
(whether the assets have been watched or not and whether they have been call-collected or
not).
Cancelling entitlements purchased impulsively has no impact on the end user’s credit in the
smart card (no credit refund occurs).
Important
▪ When several instances of the same product are created on the smart cards,
command 6 cancels all instances of this product.
▪
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 41
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to remove all types of entitlements from a smart card. However, it
does not affect impulsive entitlements that have not been call–collected: those will be call-
collected at the next callback.
Important
▪ This command could also suspend the IPPV purchases. It is the equivalent of
command 14 (Suspend Impulse Purchase). This behavior depends on the
configuration of the CAS.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 42
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to modify the data of an existing credit record in a smart card. It is
mandatory for smart card to have a credit record in order to allow end users to purchase IPPVs.
Important
▪ The credit information in a smart card can be updated at 4–second intervals.
▪ Use command 13 (Create Credit for Impulse Purchase) to set the initial credit value in
the smart card.
▪ SMS can resend the current credit value of a smart card (stored in CAS) by sending
this command with a “credit_mode” set to “ADD Credit” and a “credit” set to 0.
The credit data field in the command must not exceed the maximum value: 65,535.99.
Compliance with this requirement is ensured by the Call Collector.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 43
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to update the end user’s impulse credit threshold value in a smart
card. The credit threshold value is what allows the smart card to trigger callbacks on the basis
of the credit status.
This command should not be used to initialize the Credit Threshold value, which is initialized
implicitly using command 13: Create Credit for Impulse Purchase.
If the credit threshold value is set to 0 (zero), then no callback will be issued by the smart card.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 44
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Usage Note
▪ For new development, it is advised to use SMS command 905 – Add Enhanced List of
Products – instead of SMS command 10.
The SMS uses this command to add an entitlement to an event product in a smart card. Event
products are typically movies showing on a certain channel at a certain date and time.
Command 10 is typically used to add PPV entitlements to end users who cannot purchase PPV
products impulsively.
When the end user purchases an event product through the SMS (by calling Customer Service),
the smart card credit and debit values do not change.
Important
▪ Event products are pre-flagged as “call collected” in the smart card. Consequently,
the purge mechanism will delete event products when the event product date meets
the purge date condition.
▪ For systems without a return path, PPV entitlements recorded in the end user’s
smart card should be deleted using either a background EMM cleanup command or
SMS command 96 (Purge PPV and IPPV Records). For systems with a return path,
PPV entitlements should be deleted using either a background EMM cleanup command
or a CAS CCM command generated during callbacks.
▪ The CAS does not alter the data in the event_name field of the command. The data is
transmitted as it is in the smart card. The STB then displays the data as it displays
the EIT (Event Information Table) data. Consequently, the SMS must format this
string in accordance with the specification of the character set used by the STB.
▪ The event_name string must also include control characters. Consequently, the
number of displayable characters is reduced accordingly.
▪ When multi-instance (N of M) products are added with this command, they are
handled as a new purchase (i.e. the CAS creates a new instance of the products).
▪ Multi-instance Rental or Rental PPV products added with this command are handled
as “re-hit purchases” (i.e. if an active instance exists, the CAS will create the same
instance of the product; otherwise, the CAS will create a new instance).
▪ If the RTM [Business]ackRightIsSuspended is set to false (its default value), this SMS
command will be rejected if the MOP is suspended (by means of SMS command 20)
or if the SOP is suspended (by means of SMS command 23).
If the RTM [Business]ackRightIsSuspended is set to true, this SMS command will be
accepted, the CASDB will be updated accordingly, and with the help of diffusion
profiles, the target secure device(s) will eventually be updated, should the secure
device be reactivated.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 45
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 46
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to add a credit data structure in a smart card. This will allow the
end user to make impulse PPV purchases.
The SMS should send this command only once, when initializing the impulsive purchase
capability on the smart card. Any other credit management task should be done with command
8: Credit Management.
Important
▪ There is no command to remove the credit data structure in an individual smart card.
▪ If threshold_credit is equal to 0 (zero), then no callback will be issued by the smart
card.
▪ This command is used to catch the SMS source ID (see section 3.4).
▪ The SMS source ID is updated each time command 13 is used, even when the credit
has already been created.
▪ This SMS command will be rejected if the MOP is suspended (by means of SMS
command 20) or if the SOP is suspended (by means of SMS command 23).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 47
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to suspend the end user’s impulse purchase capability in a smart
card.
The SMS can reactivate impulse purchases using command 15: Reactivate Impulse Purchase.
Command 14 has no impact on callback operations.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 48
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to reactivate the end user’s capacity to make impulse purchases
with the smart card. This command is used to activate the capacity to make impulse purchases
on an end user’s smart card that has previously received command 14 (Suspend Impulse
Purchase) or command 20 (Suspend End-User Smart card).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 49
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to generate and broadcast the patch EMM currently applicable to a
smart card.
Important
▪ The currently applicable patch EMM is configured at head-end level.
UA CANCELLED_CARD NO_EXTENDED_ERROR_CODE
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 50
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to suspend all entitlements in a smart card for an individual MOP.
However, depending on the configuration of the head end, viewing the “free access” services
may or may not be possible once the relevant MOP is suspended.
The entitlements for impulsive PPV products, that were already purchased are also suspended.
Important
▪ In order to reactivate a MOP, the SMS must use command 21.
The SMS can still continue to send EMM command to a deactivated smart card (no error will be
returned). It suspends all entitlements of the subscriber,
including those that have been purchased impulsively, as well as the capacity to
make impulsive purchases. This command does not impact callback operations.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 51
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to reactivate all entitlements for an individual MOP. The capacity to
make impulsive purchases is also reactivated.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 52
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to suspend all features in a smart card, i.e. all entitlements to
services and PPVs, the capacity to make impulse purchases, as well as entitlements to free
access services.
Command 23 also suspends the entitlements to impulsive PPVs that have already been
purchased.
Important
▪ In order to reactivate smart card features, the SMS should use command 24.
The SMS can still continue to send EMM commands to a deactivated smart card (this will not
cause any errors). Command 23 does not affect callback operations.
UA UA_NOT_FOUND NO_EXTENDED_ERROR_CODE
UA CANCELLED_CARD NO_EXTENDED_ERROR_CODE
UA EXPIRED_CARD NO_EXTENDED_ERROR_CODE
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 53
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to reactivate all entitlements to services and PPVs in a smart card,
as well as the entitlements to the free access services.
UA UA_NOT_FOUND NO_EXTENDED_ERROR_CODE
UA CANCELLED_CARD NO_EXTENDED_ERROR_CODE
UA EXPIRED_CARD NO_EXTENDED_ERROR_CODE
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 54
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to schedule a smart card suspension. At the date and time
specified, command 25 suspends all features in a smart card, i.e. all entitlements to services
and PPVs, the capacity to make impulse purchases, as well as the entitlements to free access
services.
Command 25 also suspends the entitlements to impulsive PPVs that have already been
purchased.
Important
▪ To reactivate smart card features, the SMS should use command 24.
The SMS can still continue to send EMM commands to a deactivated smart card (this will not
cause any errors). Command 25 does not affect callback operations.
UA CANCELLED_CARD NO_EXTENDED_ERROR_CODE
UA EXPIRED_CARD NO_EXTENDED_ERROR_CODE
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 55
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to add a new MOP zone in a smart card.
This command is used only when there are several operators sharing device (smart card or Set
Top Box / CAK) for independent Pay-TV operations.
For the relevant operator, this command must precede any other command such as command 2
(Add Product) or command 13 (Create Credit).
The SMS can send this command several times without damaging the entitlements already
stored in the smart card.
Important
▪ In a single-MOP environment, this command should not be used because each new
smart card already contains a pre-defined MOP zone for the unique operator.
▪ The purpose of this command is not to render a smart card pristine: this command
does not perform any cleanup in the smart card.
▪ With a foreign smart card, SMS command 35 will be rejected.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 56
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to remove a MOP zone and all its associated data from a smart
card.
Important
▪ This command will indirectly remove all entitlements and the entire credit record
currently stored in the smart card for a given operator.
▪ With a foreign smart card, SMS command 36 will be rejected.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 57
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to reactivate (i.e. un-kill) a smart card which was killed by
inadvertence during a fingerprinting campaign.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 58
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS use this command to set or update the segments in the device (smart card or Set Top
Box / CAK)..
Note
▪ The segments can be used to address a subset of all the subscribers.
▪ This command contains only the segment changes, and therefore the segments not
specified in the command remain unchanged.
▪ The method to reset a segment is to set to 0 the segment subcategory of the given
segment category.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 59
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to set or update the zip code on the device (smart card or Set Top
Box / CAK). Command 47 is also used when the subscriber moves to a different location.
Note
▪ The zip code is used for blackouts and delta time.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 60
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to set or update the zip code of the smart card. The zip code
information is primarily used for blackout and time-zone management.
Important
▪ For countries that use a different zip code scheme (such as zip codes with more than
five digits or alphanumeric zip codes), the operator should create a lookup table that
translates the local zip code format into zip code format of the SMS.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 61
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to set or update the phone number parameter in the smart card.
This parameter allows the smart card and the STB to open a connection with the Call Collector.
The value of the parameter can be a phone number or a MAC address. The STB will determine
how to interpret this number. Here are two examples:
For a phone number such as 1-800-555-1212, the value of cc_number_1 is 18005551212 (with 5
trailing space characters).
For a MAC address such as 00-06-5B-BC-8F-92, the value of cc_number_1 in a decimal form is
27308887954 (with 5 trailing space characters).
To reset the phone number in the smart card, the two following methods are accepted:
Setting cc_number_1 to a string of 16 space characters (ASCII value 0x20)
Setting cc_number_1 to a string of 16 F characters (ASCII value 0x46)
Important
▪ Field cc_number_1 must contain no other characters (such as “-” or “/”).
▪ To set an IP address in the smart card, the SMS must send command 54 (Set
Callback IP Address).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 62
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to permanently disable a device (smart card or Set Top Box /
CAK). Command 50 is sent when a device is taken out of operation (for instance, when a device
is reported to be stolen, lost, or damaged).
The SMS is not allowed to use a cancelled device again because the device is not recoverable
after the cancellation operation.
The UA is flagged as cancelled and deactivated in the CAS database. For that reason, any
incoming commands addressed to this device will remain unacknowledged by the CAS system.
Important
▪ The effect of this command in the smart card is not reversible. In other words, the
device will be permanently decommissioned.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 63
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to initialize the MOP zone of a new device.
The SMS must issue this command prior to any other command except in the 2 following cases:
• SMS targets a virtual UA (DLK): SMS ‘126-Assign Virtual UA to NUID’ shall first issue to
link virtual UA to NUID.
• System manages multiple networks: SMS ‘122-Set Network’ shall be issued before this
command to allow routing generated EMM on the network of the targeted device (UA or
virtual UA).
. The CAS will reject all other commands it receives before processing of command 51
successfully completes.
The initialization of a device can occur several times and has no effect on the entitlements
stored in the device.
Important
▪ This command must be the first command the SMS issues for a new smart card,
unless there are multiple networks – in which case the SMS must first issue
command 122 – Set Network.
▪ The purpose of this command is not to reset the device content, i.e. this command
does not perform any cleanup in the device.
▪ This command does not refurbish a smart card in any way.
▪ This command creates the MOP specified in its header. Therefore, even when the
command has SOP privileges, the PPID of the MOP must be specified in the header of
the command (rather than the PPID of the SOP).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 64
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 65
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to pair a smart card with the STB.
This command is mandatory and must be sent before any services can be authorized.
Before pairing can take place, the smart card must have been previously initialized with
command 51.
Usage Note
▪ For new development (Merlin only), when pairing more than one STB with the ICC, it
is advised to use SMS command 58 – Pair the ICC with Multiple STBs – instead.
This command is also used to pair a smart card with different STBs (e.g.: for STB swaps).
Important
▪ For virtual UA, this command was no effect on the device. IRDSN will be stored in
CAS database only.
▪ STU_number is a 14-digit string representing a decimal value.
▪ STU_number can be in one of the following formats:
– A 10-digit string followed by 4 space characters, ranging from “0000000000 ” to
“4294967295 ”
– A 14-digit string ranging from 00000000000000 to 00004294967295
▪ The un-pairing action is performed with the same command, with STU_number set to
“0000000000 ” or 00000000000000.
▪ The value of STB_number as provided in the command coming from the SMS must not
include any checksum.
▪ In multi-pairing (Merlin only),, this command allows to manage the slot 0 only. If the
card was paired on other slots, this command used with STU_number=0 doesn’t
unpair these other slots. See more details on the multi-pairing in the SMS command
58.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 66
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to reset the PIN code of the STB to its default factory value. In
other words, the new PIN code value to which this command forces the STB is not always 0000.
Also, note that it is the design of individual STBs that determine which features or menus will be
protected by the PIN code.
Important
▪ For STBs with a Nagravision CAK and when strong pairing is used:
– Unlike the other commands described in this document, command 53 is sensitive to
the pairing status of the smart card and the STB: when the SMS sends command 53 to
an individual STB, it will only work if the STB is paired with its smart card.
– The pairing function is achieved with command 52.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 67
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to set or update the smart card field containing the IP address of
the Call Collector.
The SMS uses this command to set or update the smart card field containing the IPV6 address of
the CAS system.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 68
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 69
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to set or update any of the various PIN codes that can be stored in
the smart card. The smart card does not use the PIN codes directly: only the STB applications
use the PIN code values to verify if the end user can access a functionality or menu.
A PIN code is a 4-digit numeric value. The CAS only verifies if the format of the PIN code value
is correct. The CAS does not store the PIN code in its database. The same PIN code can be
updated many times.
Important
▪ Use of this command is operator-specific. Therefore, the solution architect should
provide a document illustrating the use of the PIN code.
▪ This command is available for some types of smart card only.
▪ The effective range of the index parameter depends on the type of smart card. Refer
to the solution architecture.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 70
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to pair or un-pair a smart card with one or several STB (multi-pairing capability).
When strong pairing (standard Nagravision pairing) is mandatory, this command must be issued before any
service can be authorized. The smart card must have previously been initialized with one of the following
commands before pairing can take place: 51or 923.
There is two ways to use this command (and the pairing slots available on the smart card):
• In Relative mode: SMS pairs the SC with the different STB without indicate the slot to use. In this case,
the slot is provided by the HE. In this case, the slots are allocated sequentially by the HE.
Important: in this mode, if SMS wants to remove or update an STB, it shall unpair all STB and re-
added all STB except the removed STB.
When pairing multiple STBs, one and only one of these STBs could be a CAK V6 or CAK V7 AL STB. In that
case, this STB shall be specified in slot0 (in absolute mode, aka SMS controlled mode) or at the first place (in
relative mode aka SAS controlled mode, to be sure the HE will use slot0).
Please find after the important notes, the use cases for each mode.
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 72
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 73
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 74
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 75
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to force a smart card to call back the CAS “immediately”. Due to
the architecture of the system, an immediate call implies that the CAS expects to receive a
callback from a given smart card within a time frame ranging from a few seconds to several
hours. The best-case scenario depends on the settings of the CAS and on the behavior of the
STB with respect to such callbacks. In the worst case, the callback takes several hours to arrive
due to the behavior of the STB: when an STB performs a callback, if the call fails for any reason
(e.g. the line is busy), the STB will try calling again within a period that can range from a few
minutes to several hours.
Important
▪ The CbDate and CbTime fields are optional.
CbTime 6 HHMMSS The CAS recomputes the value of field CbTime. This
parameter can therefore be set to any valid time.
It is recommended to set CbTime to 000000.
UA UA_NOT_FOUND NO_EXTENDED_ERROR_CODE
UA CANCELLED_CARD NO_EXTENDED_ERROR_CODE
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 76
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to activate the automatic feedback feature in a smart card. For
more information about the data received by the SMS when a smart card and its STB perform a
callback, refer to section 4.11.12 – Command 123: Trigger Broadcast of Conditional EMM.
Important
▪ If for any reason the SMS issues this command a second time to an individual smart
card, the date_first_call parameter cannot be set to a date that is earlier than the
date sent the first time.
▪ CbTime is an optional field.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 77
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to deactivate the automatic callback feature in a smart card.
When automatic callbacks are disabled, callbacks will still be triggered when the memory is full,
when the credit threshold limit is reached, due to special events, or as a consequence of an
immediate callback command.
The SMS uses this command to force a smart card to “immediately” call back the CAS and to request a smart
card synchronization. The smart card synchronization means to compare subscription entitlements between the
CAS database and the smart card. Any discrepancy in the smart card will be corrected.
Due to the architecture of the system, an immediate call means that the CAS expects to receive a call back from
a given smart card in a time frame from a couple of seconds to several hours. The best case depends on the
setting of the CAS and on the STB behavior regarding such call back. The worst case is several hours; due to the
behavior of the STB. Indeed, when a STB performs a call back, and if the call fails for any reason (e.g. the line is
busy), the STB will try again within a period of a couple of minutes to several hours.
List of error codes (in NACK messages) applicable to this section of the message.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 78
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
UA UA_NOT_FOUND NO_EXTENDED_ERROR_CODE
UA CANCELLED_CARD NO_EXTENDED_ERROR_CODE
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 79
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to send an IRD command to a decoder. The decoder will execute
an operation based on the instruction in the IRD command (e.g.: set the network ID, force
tune, etc.). In other words, this command is not intended to modify the data in the device
(smart card or Set Top Box / CAK),, but rather to have the decoder execute an action. To
complement command 69, the CAS provides a secure transport mechanism between the head
end and the STB.
Important
▪ This command is applicable to native Nagravision STBs with a CAK. For other STBs,
refer to command 99 (section 4.10.45).
▪ For STBs with a Nagravision CAK when strong pairing used: unlike the other
commands described in this document, command 69 takes into consideration the
pairing status of the smart card and the STB: command 69, when sent to an
individual STB, will work only if the STB is paired with its smart card. The pairing
takes place using command 52.
The data structure that the CAS sends to the STB is described below. The SMS Gateway
computes fields “sequence_number” and “checksum” for the convenience of the SMS: the SMS
does not provide these two parameters.
command_body{
sequence_number 32 uimsbf
command_id 8 uimsbf
operation 8 uimsbf
for (i=0;i<N;i++){
data 8 uimsbf
}
checksum 8 uimsbf
}
As explained above, the purpose of an IRD command is to provide the decoder with a message
that will instruct the decoder to execute an action (e.g.: reset the PIN code). The command_id
and operation parameters provided to the decoder contain two indexes that indicate which
subroutine the decoder should execute.
Nagravision provides STB manufacturers with a list of command_id and operation values for a
list of specific actions. This document is entitled “Conditional Access Kernel – IRD Command
Specification” (see reference [2]).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 80
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 81
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Below is an example on how IRD_data should be formatted. In this example, IRD command
Force Tune is sent to the STB. In the IRD command specification document (reference [2]),
the data structure is as follows:
Parameter Value in a decimal Value in a hexadecimal Size in bytes
form form
command_id 193 – 3
operation 001 – 3
network_id – 05 11 2
transport_id – 00 09 2
service_id – 00 0C 2
In this example, IRD_data_length is 6. The following figure shows the detailed string of bytes
in the buffer that should be sent by the SMS. Note that the remaining byte of field IRD_data
must be filled with zero characters (0x30 in a hexadecimal form).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 82
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to retrieve a list of all the non-impulsive products (subscriptions or
PPVs) known to the CAS for an individual smart card (i.e. an individual end user).
The information comes from the CAS database, which returns the products asynchronously on
the feedback port using command 215: Products List.
Limitations: This command does not support a-la-carte products and requires the deployment of
an ITM module. The SMS command 127 however does not have these limitations and is
synchronous. It is recommended to use SMS command 127.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 83
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
It is used to determine if the TV set is using BAT (Bouquet Association Table), NIT (Network
Information Table) or proprietary mechanism to perform the scanning of the channels
Cable operators are often using bouquet-id or network-id to perform the scanning. Some other
operators may also use channel-lineup-id to get the appropriate channel list
For all devices except TVKey, this command is translated to an IRD Dnasp (5E), that must be
supported by the middleware. Communicate with the STB manufacturer the need to support this
IRD command.
4.10.29
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 84
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command ensures that a smart card has all elements needed to work as expected. This command is
especially useful when a smart card has missed EMM by not being tuned to live EMM stream for an unknown
amount of time.
The smart card elements that are effectively refreshed vary in function of:
• The SMS command attributes:
o The refresh_mode.
o For entitlements, the product_type_bitmap.
• The CAS configuration parameters:
o A CAS configuration parameter dedicated to this command. This
parameter is a bitmap where each bit enables / disables the refresh of a
given element or set of elements.
o CAS configuration parameters which are not specific to this SMS
command but which also apply for this command.
Important
▪ If the smart card has several active MOP then this command should be sent for each
desired MOP.
▪ Depending on the product_type_bitmap value and the CAS configuration this
command may generate many EMM. Therefore the diffusion profile associated to this
command and the broadcast duration shall be configured carefully
The EMM generated by this command will contradict all the other EMM currently on the air for
the given smart card and which have the same purpose / action.
Contradicted EMM will no longer be on air.
• If the smart card has several active MOP then this command should be sent for each
desired MOP.
• Depending on the product_type_bitmap value and the CAS configuration this command
may generate many EMM. Therefore the diffusion profile associated to this command and
the broadcast duration shall be configured carefully.
• The EMM generated by this command will contradict all the other EMM currently on the
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 85
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
air for the given smart card and which have the same purpose / action.
Contradicted EMM will no longer be on air.
range: 1 to 3
product_type_bitmap 8 r_num Specifies the product types that must be refreshed. It is
a 24-bits bitmap where each bit represents a product
type and bit 0 is the lsb:
• Bit 0: Subscription (PAP only)
• Bit 1: Reserved for future usage (RFU)
• Bit 2: Reserved for future usage (RFU)
• Bit 3: Reserved for future usage (RFU)
• Bit 4: PPV
• Bit 5: Reserved for future usage (RFU)
• Bit 6: Reserved for future usage (RFU)
• Bit 7: Reserved for future usage (RFU)
• Bit 8: Rental
• Bit 9 to bit 23 (msb): Reserved for future usage (RFU)
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 86
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 87
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to force the STB to tune to a given TV program (i.e. a service).
The SMS identifies this service using three parameters. For a detailed description, refer to the
DVB specifications.
network: the DVB network of the service
transport: the transport ID of the service within the network
service: the program number to which the STB must tune within the transport
Important
▪ For backward compatibility, the CAS supports the following fields in both a decimal
and a hexadecimal data format:
– Network_id
– Transport_id
– Service_id
▪ The SMS provides data in either a decimal (mode 1 as illustrated below) or a
hexadecimal format (mode 2). The default CAS package complies with mode 1. For
mode 2, a special CAS package should be installed.
Important
▪ For STB with a Nagravision CAK when strong pairing used: unlike the other
commands described in this document, command 79 takes into account the pairing
status of the smart card and the STB: command 79 will work only if the STB is paired
with its smart card.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 88
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SAS detects the format used automatically, both formats can be used.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 89
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to send credentials to the PRMLib hosted on a decoder. The PRMLib
will execute an operation based on the credentials instruction (ex: provide a VOD license to
STB, etc.). In other words, this command is not intended to modify the data of the smartcard,
but it is intended to start an action executed by the decoder. The CAS provides with this
command a secure transport mechanism between the head-end and the STB.
Important
▪ This command can only be used to send a PRM credentials to a STB having a
Nagravision CAK (i.e. it cannot be used with MediaGuard STB without Nagravision
CAK). The CAS does check the STB context to accept or reject this SMS command.
▪ This command carries the credentials using IRD commands. Thus this command can
only be processed once the STB is correctly paired with the smart card or Set Top Box
/ CAK).. The pairing means either “strong pairing” or “secured channel”.
▪ The pairing function is achieved with command 52.
Important
▪ As indicated in the table above, the format of the credentials field is r_text. However,
it does not contain a regular string: it is not a text field, such as “this is a sentence
with characters and 1 2 3 4 numerical values”. The data in the bitmap field is a
sequence of hexadecimal numbers encoded in a text format. Consequently, the field
will only accept alpha characters A, B, C, D, E, F representing the numbers 10 to 15
in a hexadecimal form.
▪ As an example – the CAS will accept the following credential value:
A0BCD12A29327B9F. In this example, credentials_len is equal to 8.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 90
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to initialize the BAE Key of the new device. This command is
applicable only to DLK SCs.
The initialization of a device can occur several times and has no effect on the entitlements
stored in the device.
Important
▪ The purpose of this command is to enable/disable the BAE key for the virtual SC.
▪ This command does not refurbish a smart card in any way.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 91
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command allows to configure the security feature known as “anti-splitter” on a smartcard by
setting the profile that is applicable to this smartcard.
The profiles depend on the number of live and PVR streams supported by the STB in which the card
is inserted, and are defined by the operator. The SAS can optionally be configured to know the list
of supported asp_profile_id, and to reject the command if an unsupported profile is used.
This command also allows to (re)activate the anti-splitter by setting the new applicable profile in
case the anti-splitter was disabled. It is however not possible to disable the anti-splitter from the
SMS.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 92
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to purge individual smart cards from ENT (containing access rights
of non-impulsive and impulsive purchases) record data that match a deletion condition. The two
examples below illustrate how this command works:
Example 1: to purge old PPV and IPPV records stored in smart cards when end users complain
that their smart card is full. As a result of the operation, the end user will be able to make IPPV
purchases in the future.
Example 2: to prevent useless PPV and IPPV records from filling up the smart card. This can be
seen as a preventive cleanup task. In this example, each time an end user calls the SMS center
for additional credit, the SMS will issue command 96.
Important
▪ This command will purge only impulsive purchases (e.g. IPPV) set to “call collected”.
▪ The value (price) of PPVs or IPPVs that are not watched can be credited to the smart
card. This feature is activated when the SAS is configured accordingly.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 93
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 94
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to identify IPPV records on an individual smart card as reported.
This command should be used to address only decoders working in prepaid mode without the
return path mode. A decoder without a return path is a decoder that is not connectable to a
Nagravision Call Collector.
Important
▪ This command should only be used in prepaid mode environments.
This command should be used by the SMS prior to cleaning up the IPPVs in the smart card. The
two typical examples below illustrate how to use this command. In both cases, the objective is
the same: to prevent useless IPPV records from filling up the smart cards. This can be seen as a
preventive cleanup task. What differentiates the two examples is the condition that triggers the
operation:
Example 1: the SMS periodically and automatically sends command 97 to specific smart cards.
Example 2: each time an end user asks for additional credit (in prepaid mode), the SMS issues
command 97.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 95
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to send an IRD command to a decoder. The decoder will execute
an operation based on the instruction in the IRD command (e.g.: set the network ID, force
tune, etc.). In other words, this command is not intended to modify the data in the smart card,
but rather to have the decoder execute an action. To complement command 99, the CAS
provides a secure transport mechanism between the head end and the STB.
Important
▪ Use this command to send an IRD command to an STB with a CAK
▪ For native Nagravision STBs with a CAK, IRD commands can only be processed once
the STB is correctly paired with the smart card (here the term “pairing” means either
“strong pairing” or “secure channel”).
▪ For STBs with a Nagravision CAK when strong pairing is used: unlike the other
commands described in this document, command 99 takes into consideration the
pairing status of the smart card and the STB: command 99 will work only if the STB
is paired with its smart card.
Important
▪ As indicated in the table above, the format of the IRD_data field is r_text. However, it
does not contain a regular string: it is not a text field, such as “this is a sentence with
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 96
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The following describes the structure of the data sent to the STB. The SMS gateway computes
fields sequence_number and checksum for the SMS: the SMS does not provide these two
parameters.
command_body{
sequence_number 32 uimsbf
command_id 8 uimsbf
operation 8 uimsbf
for (i=0;i<N;i++){
data 8 uimsbf
}
checksum 8 uimsbf
}
As explained above, the purpose of an IRD command is to provide a message that will instruct
the decoder to execute an action (e.g.: set the network ID). The command_id and operation
parameters provided to the decoder contain two indexes that indicate which subroutine the
decoder should execute.
Nagravision provides STB manufacturers with a list of command_id and operation values for a
list of specific actions. This document is entitled “Conditional Access Kernel – IRD Command
Specification” (see reference [2]).
The following describes the structure of the data sent to the STB. The SMS Gateway computes
field sequence number (named index in the MG terminology) for the SMS: the SMS does not
provide this parameter.
command_body{
type 8 uimsbf
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 97
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
sequence_number 8 uimsbf
for (i=0;i<N;i++){
data 8 uimsbf
}
}
As explained above, the purpose of an IRD command is to provide a message that will instruct
the decoder to execute an action (e.g.: reset the PIN code). The type parameter provided to
the decoder contain an index that indicate which subroutine the decoder should execute.
Nagravision provides STB manufacturers with a list of type values for a list of specific actions.
This document is entitled “Mediaguard DVB Header Specification & Clear EMM Specification”.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 98
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command update the Call Collector database to set or change the amount of
credit that will be added during any callback in an individual user’s smart card.
The Call Collector will automatically update the credit information in the smart card, but only at
the next callback from the STB of the smart card.
The new credit in the smart card will be the sum of credit_limit and the current smart card
debit.
Important
▪ The credit_limit field in the command is a 7-digit value. However, the smart card
reads this value as a 5-digit integer unit, followed by 2 digits representing cents.
Furthermore, the greatest value applicable to the smart card is 65,535.99. As a
consequence, for countries where the currency contains several figures (e.g.: Japan),
the credit value should be considered as a result of a division of the currency value,
i.e. the value divided by 100 or 1000.
▪ In a pay-TV site with prepaid mode where STBs have a return path, credit_limit
should be set to 00,000.00. This means that the smart card credit will not be updated
during any callback.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 99
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to set or update an individual end user’s phone numbers in the Call
Collector database. Those numbers are the authorized phone numbers from which a smart card
is allowed to perform callbacks.
Upon each callback, the caller ID (i.e. the phone number from which the STB of the smart card
is calling) will be checked against those authorized phone numbers. The CAS will generate
warning command 205 if the phone number used during the callback is not authorized.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 100
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to create a new ICC record in the Call Collector database.
Important
▪ This command is redundant with respect to command 51: Initialize Smart Card. This
command is supported solely for the sake of backward compatibility with SMS
packages operating under DN2 systems. Consequently, new SMS–CAS interfaces
should not use this command.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 101
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to cancel an existing device record in the CAS database. This
command should be issued when the device is deleted from the SMS database.
Important
▪ The end user’s records in the CAS database are cancelled. As a result of this
command, the CAS will accept no more callbacks from the STB. Furthermore, a smart
card that has been cancelled in the Call Collector will not report command 206 (STB
Responding Status).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 102
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Sets or updates the operator’s Call Collector database to attributes from the subscriber’s
purchase profile.
Important
▪ This command is only supported for backward compatibility purpose. Use SMS
command 107 instead.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 103
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Sets or updates the operator’s Call Collector database to attributes from the subscriber’s
purchase profile.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 104
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 105
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to delete all EMMs in the CAS and EMM broadcaster for an
individual device (smart card or Set Top Box / CAK).. This command should be used when a
discrepancy is suspected between the SMS customer data and the EMMs for this customer.
The SMS uses this command to request the history from CC of the smart card.
That information comes from the CAS database. The status is returned asynchronously using
either of commands 202/203/216/217: PPV Purchase List.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 106
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to activate callback rules in the Call Collector for a smart card.
During the next callback from the STB, the Call Collector will check the PPV purchase history of
the corresponding end user against the various callback rules defined in the CAS database. The
first matching rule may define a new credit limit and a new callback interval for the smart card.
Refer to the SAS ITM DNASP-3 User Guide for a complete description of this marketing facility.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 107
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to deactivate, in the Call Collector, the processing of the callback
rules for a smart card and to use a new credit limit as well as a new callback interval for the
smart card.
During the next callback from the STB, the Call Collector will no longer check the purchase
history of the corresponding end user against the various callback rules defined in the CAS
database. Instead, it will use the new credit limit to renew the credit on the smart card and will
compute the next regular callback date using the new callback interval specified in the
command.
Refer to the SAS ITM DNASP-3 User Guide for a complete description of this marketing facility.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 108
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Command 122 sets or updates the CAS network ID and the STB context associated with the
ICC.
In an advanced broadcast system, there are several data paths for the EMMs. The CAS network
ID is one of the CAS parameters that allow setting this data path.
In non-Nagravision native STBs, the external format of the EMMs is different. The STB context
value allows the CAS system to specify the appropriate EMM external format.
Note
▪ If the device does not yet exist in the SAS database, this command will create an
entry for the device.
When
several CAS
networks or
STB
contexts are
applicable
to a single
head end,
thisUsage
▪ For a new smart card:
▪ This command must be the first command issued by the SMS for a new
device.(before the SMS commands initializing the smart card). Otherwise, the
EMMs generated by the SMS commands will either not be routed to the
appropriate CAS network or not be processed by the STB (the EMMs will be in
the wrong external format). An entry for this smart card will be created in
SAS database as it doesn’t exist.
▪ It’s recommended to use the broadcast mode ‘W’ to send this
command. So, EMMs updating the GUA of the smart card will be not sending
on air. These EMMs are not necessary because EMMs updating GUA will be
generated with SMS command initializing the smart card and therefore the
EMMs of this SMS command 122 will be contradicted.
▪ For an existing smart card (re-hit or network ID/ STB context update):
▪ This command shall be sent on each activate MOP to update the GUA of
each MOP and avoid that EMM-GR shall not receive by smart card.
▪ If the CAS network changes, the EMMs that are still broadcast over the
previous CAS network will not move to the new CAS network.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 109
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 110
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command triggers the start of the broadcast of a conditional add product previously built
using a tool such as CAS Console.
Note
▪ The conditional add product must previously be defined using a tool such as CAS
Console.
▪ The conditional add product is tested in U and S addressing modes using CAS
Console; CAS Console then builds the EMM in G (global) addressing mode. The EMM
is not broadcast until this SMS command triggers the start of the broadcast.
▪ Note that the value of address_type, as provided in the address header, must be
equal to G (global).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 111
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to request the synchronization status of the smart card.
That information comes from the CAS database. The status is returned asynchronously using
command 218: Smartcard Synchronization Status.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 112
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to store subscribers’ private data in the CAS database. The data is
provided in a string. The format of that string is specified by the SMS. The CAS is only used for
storing the data: it does not check the format or content of the data, neither does it process on
the data in any way. This command is typically used to store the account number.
Important
▪ When the SMS issues this command, any previous value stored in the CAS database
is overwritten by the new value.
▪ The subscriber data is not altered by the CAS. The data is stored as it is in the CAS
database.
▪ The subscriber data must only contain printable characters.
▪ There is no SMS command provided for retrieving the subscribers’ private data.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 113
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to associate a Virtual UA to NUID and get this one in the
acknowledgment command returned by CAS (see SMS ‘1003-Acknoledge Command with Virtual
UA’).
Legacy Mode:
The CAS assigns a virtual UA to NUID (and stores the link into CAS database) if NUID is not
already linked to virtual UA . Else, it returns the virtual UA already linked to NUID.
PSTE provides Assosciation package which contains NUID and NOCS type information ,not
providing the VUA information(assume that VUA is not allocated for NUID).In this case Virtual
UA is stored as zero in chipset table.
CAS assigns virtual UA to NUID and update Virtual UA column in chipset table assosciated with
provided NUID.
PSTE provides Assosciation package which contains NUID,Virtual UA and NOCS type
information.
EKI stores all these information in CASDB and SMS command returns PSTE allocated VUA for
provided NUID as a Acknowledgment.
Important
▪ This command shall be sent for the devices without smart card only. And it shall be
the first SMS command sent. The device could not be initialized if this command is
not sent before.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 114
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 115
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to request a list of all the products owned by a subscriber for the
MOP indicated in the root header field MOP_PPID.
That information comes from the CAS database. If the command can be executed successfully,
the acknowledgement and result is provided with SMS command 1004 "Acknowledge command
with data".
• The device suspended flag (type 0x00). Only present if the device is suspended.
• One product properties block for each product (type 0x01). This block contains:
o The product suspended flag (type 0x03). Only present if the product is
suspended.
o The a-la-carte product services (type 0x04). Only present if the product is an
a-la-carte product.
o The start date (type 0x05). Only present for a-la-carte products.
o The end date (type 0x06). Only present for a-la-carte products.
The example of SMS command 1004 shows a typical answer for this SMS command.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 116
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to correct or override the NUID mapping for the IRDSN and the
UA.
Important
▪ This command shall be used only for new customers. It shall be used when they
intend to correct the NUID mapping which is missing in the CASN files.
▪ This command is not supported for CHF families.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 117
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Depending on the configuration of the CAS, the following feedback commands will be generated
and sent to the SMS:
Command 211: Start of Report
Command 201: Current Credit and Debit
for (I=0; I<nb_new_PPV; I++)
{
Command 202 or 204 or 216 (only one type is configurable)
}
Command 205: Calling Phone Discrepancies (if ANI is enabled)
Command 206: STU Responding Status (responding = Y)
Command 212: End of Report
If an STB does not call back within the time frame, as defined in the Call Collector database, the
following feedback command will be generated:
Command 206: STU Responding Status (responding = N)
Important
▪ In the scenario described above, the CAS will only issue command 206. Commands
211 and 212 will not be sent.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 118
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to notify the SMS that the origin of the last callback (by the smart
card) was due to a low-credit condition.
The low-credit condition is reached when the credit and debit in the smart card fall below the
threshold credit level.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 119
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to report the credit and debit level of the smart card to the SMS,
as reported by the smart card during the last callback.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 120
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to notify the SMS of each new IPPV item that the smart card has
reported during the last callback. Consequently, this command is sent as many times as there
are new IPPV items reported during the last callback.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 121
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to provide the SMS with the full list of new IPPV items that the
smart card has reported during the last callback. Consequently, this command is sent only once
with the complete list of new IPPV items reported during the last callback.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 122
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS sends this command to the SMS when there is one or several IPPV item(s) that has
(have) been purchased by a smart card.
This command is sent only once with the complete list of new IPPV items provided.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 123
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 124
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to notify the SMS that there was a phone discrepancy during the
last callback (by the smart card).
A phone discrepancy warning occurs when the customer’s phone number (caller_ID) does not
match any of the authorized phone numbers stored in the CAS database for that customer.
The number can be a phone number, an IP address or a MAC address. Refer to the definitions of
commands 49, 54 or 55.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 125
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to notify the SMS that an end user’s smart card did not make a
callback as expected. Command 206 only pertains to automatic and immediate callbacks.
An STB is deemed non-responding on the basis of criteria defined by the callback expiration
parameter of the Call Collector.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 126
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to notify the SMS that the origin of the last callback (by the smart
card) was due to a smart card memory full condition.
This information is retrieved by the Call Collector during the latest callback. The obsolete data
(i.e. expired subscriptions or IPPVs) in the smart card will be deleted. The smart card memory
will therefore be released for subsequent use.
Important
▪ If the smart card contains IPPV items for movies that are to be broadcast in the
future, those items will not be deleted.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 127
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to warn the SMS of the impending arrival of a set of feedback
messages (i.e. 2nn commands) for a certain end user. The set of messages are bound or
terminated by command 212.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 128
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to warn the SMS of the termination of a set of feedback messages
(i.e. 2nn commands) for a certain end user.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 129
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to provide the SMS with the list of subscription type products
known in the CAS database for a certain end user.
The SMS first sends command 71 (Get Products) over the EMM/CTRL channel. Then, the CAS
responds with command 215 (Product List) over the Feedback channel. Note that this command
does not return a-la-carte products. To return a-la-carte products, please use the SMS
command 127 instead.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 130
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to report to the SMS each new IPPV item that has been
communicated by the smart card during the last callback.
This command is sent as many times as there are new IPPV items provided during the last
callback.
Important
▪ This command is similar to command 202: PPV Purchase List. It provides an
additional parameter: purchase_time.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 131
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to report to the SMS the full list of new products (e.g. IPPV, ISUB)
that have been communicated by the smart card during the last callback. Consequently, this
command is sent only once with the complete list of purchased products provided during the
last callback.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 132
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 133
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to notify the SMS of an end user’s synchronization status as it is
known to the CAS database.
The SMS first sends command 124 (Get Smart Card Synchronization Status) over the
EMM/CTRL channel. The CAS then answers with command 218 (Smart Card Synchronization
Status) over the FEEDBACK channel.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 134
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 135
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Important
▪ Read the Important note under command 2, 10, 13, 48, 49, 52, 61, 100, 101
▪ If the CAS must generate a negative acknowledgement (i.e. nack) upon processing
this SMS command, the body of the command will be truncated to 999 characters
long before being inserted in field ‘command_section’ of the negative
acknowledgement.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 136
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 137
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 138
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Important
▪ Read the Important note under command 2, 10, 13, 48, 49, 52, 61, 100, 101
▪ If the CAS must generate a negative acknowledgement (i.e. nack) upon processing
this SMS command, the body of the command will be truncated to 999 characters
long before being inserted in field ‘command_section’ of the negative
acknowledgement.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 139
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 140
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Usage Note
▪ For new development, it is advised to use SMS command 905 (Add Enhanced List of
Products) instead of SMS command 903.
The SMS uses this command to add a list of new products (service products, non-impulsively
purchasable event products and package products) in a smart card.
Important
▪ Read the Important note under command 2, 10, 13, 48, 49, 52, 61, 100, 101
▪ If the CAS must generate a negative acknowledgement (i.e. nack) upon processing
this SMS command, the body of the command will be truncated to 999 characters
long before being inserted in field ‘command_section’ of the negative
acknowledgement.
▪ If the RTM [Business]ackRightIsSuspended is set to false (its default value), SMS
command 2 will be rejected if the MOP is suspended (by means of SMS command 20)
or if the SOP is suspended (by means of SMS command 23).
If the RTM [Business]ackRightIsSuspended is set to true, SMS command 2 swill be
accepted, the CASDB will be updated accordingly, and with the help of diffusion
profiles, the target secure device(s) will eventually be updated, should the secure
device be reactivated.
▪
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 141
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 142
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to cancel a list of products (entitlements of services or/and PPV)
from a device (smart card or Set Top Box / CAK).
. This command is applicable for entitlements that have been purchased through the SMS or
impulsively. In other words, any entitlement impulsively purchased cannot be cancelled with
this command (whether or not they have been watched or call-collected).
The cancellation of entitlements impulsively purchased has no impact on the end user’s credit in
the smart card (no credit refund is done).
Important
▪ Read the Important note under command 6.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 143
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS uses this command to add a list of new products (service products, non-impulsively
purchasable event products and package products) into a device (smart card or Set Top Box /
CAK)..
Important
▪ Read the Important note under commands 2, 10 and 903.
▪ A “re-hit purchase” is a case where customers purchase a product through the SMS,
and later complain that they do not have access to the requested product. The SMS
command is issued a second time. The SMS/SAS must make sure that the subscriber
will only have access to the same content and validity period as initially granted by
the first SMS command.
▪ If the CAS must generate a negative acknowledgement (i.e. nack) upon processing
this SMS command, the body of the command will be truncated to 999 characters
long before being inserted in field ‘command_section’ of the negative
acknowledgement.
▪ If the RTM [Business]ackRightIsSuspended is set to false (its default value), SMS
command 2 will be rejected if the MOP is suspended (by means of SMS command 20)
or if the SOP is suspended (by means of SMS command 23).
If the RTM [Business]ackRightIsSuspended is set to true, SMS command 2 swill be
accepted, the CASDB will be updated accordingly, and with the help of diffusion
profiles, the target secure device(s) will eventually be updated, should the secure
device be reactivated.
▪
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 144
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 145
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 146
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 147
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command is for managing a-la-carte products but using the syntax of the subscription
family products as they were defined in Merlin 3.0 or earlier.
The SMS uses this command to specify an exhaustive list of services (identified by their
products ID) for a subscriber. The subscriber will only be granted access to products listed
within the relevant product family. In other words, if a subscriber previously had access to a
product and the product was later removed from the list, the customer would then be denied
access to this product.
No dates are supported for this command: the services are immediately available and will be
available until a cancel command is issued (either another 908 with less services or one of SMS
commands supporting a-la-carte products such as SMS 7, 909 or 925).
Important
▪ This SMS command will be rejected if the MOP is suspended (by means of SMS
command 20) or if the SOP is suspended (by means of SMS command 23).
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 148
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 149
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Note that each "service" (also called service_index in this command) may represent one or
several channels, depending on how the services were configured in IMS.
This operation works in two different ways, depending on whether the renew field is set
to Y or N. If renew option is set to N:
o If the new expiration date is the same as the previous one and renew is not set,
this operation has no effect.
o If the new expiration date is earlier than (or equal to) the schedule date, all
scheduled services are immediately cancelled.
o If the new expiration date is earlier than (or equal to) the current date, all
services (scheduled or not) are immediately cancelled.
If the renew option is set, two use cases are supported (other cases are rejected):
o Case 1: The previous TE is expired. in that case the new TE is in the future and
all services that belonged to the subscriber before this expiration, the expired
services (if any) re immediately renewed and will be available until the new
expiration date.
o Case 2: The previous TE is not expired and the new TE is the same. This case
means that a 'rehit' operation is done, resending the full a-la-carte
Define or modifies the scheduled date of an a-la-carte product. This determines the date
when the next product updates (add/cancel scheduled) will occur.
If the new schedule date is earlier than (or equal to) the current date and the expiration
date is in the future, all scheduled services become immediately available.
If the new schedule date is later (or equal to) the expiration date, all scheduled services
are cancelled.
Add a service immediately. The service will be available immediately and will be
available until the expiration date defined with the 'Set expiration date' operation.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 150
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Cancel a service immediately. The service will immediately be cancelled. It will also be
cancelled if it was scheduled to start at the date defined by the 'Set schedule date'
operation.
Add a service at the schedule date. The subscriber will only be able to access the service
at the scheduled date, and it will be available until the expiration date is reached (which
is infinite if it has never been defined).
If the schedule is earlier than or equal to the current date, the command is rejected.
If the schedule date is earlier than or equal to the current date, the operation is
rejected.
The order of operations is important and the result will be the same as if each operation had
been issued sequentially in consecutive SMS 909 commands. It is however much more efficient
to regroup multiple operations for the same UA in a single command.
Notes
• if the expiration date has never been set, any add/cancel operation will be rejected. The
value 1.1.2038 00:00:00 defines an infinite product duration.
• if the schedule date has never been set, any schedule command will be rejected. The
value 1.1.2038 00:00:00 cancels the schedule date.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 151
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 152
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command is a substitute for several commands made available to the SMS in order to
initialize a smart card:
122 “Set Network”
51 “Initialize Smart Card”
52 “Pair the ICC with the STB” / 58 “Pair the ICC with multiple STBs” (optional)
48 “Set ZIP Code” / 47 “Set Alphanum Zip Code”
13 “Create Credit for Impulse Purchase” (optional)
100 “Redefine Credit Limit” (optional, if a return path must be enabled)
101 “Set Authorized Phone Number” (optional, if a return path must be enabled).
49 “Set Callback Phone Number” (optional, if a return path must be enabled)
61 “Enable Automatic Callback” (optional, if a return path must be enabled)
46 “Set Segment” (optional)
107 “Set Purchase Profile With Free Programming”/106 “Set Purchase Profile” (optional)
2 “Add Product”/10 “Add Event Product”/903 “Add List of Products”/905 “Add Enhanced List of
Products” (optional)
For DLK smartcards, the following actions are disabled: create credit, set the return path, set
the purchase profile and single/multipairing. Therefore, the fields related to these actions will
be ignored (although, if defined, their format will be checked).
Later on, use individual commands separately for making small changes (e.g.: setting a new zip
code, updating pairing).
When pairing multiple STBs, one and only one of these STBs could be a CAK V6 or CAK V7 AL
STB. In that case, this STB shall be specified at the first place (to be sure the HE will use slot0).
Important
▪ This command requires SOP privilege, although the PPID specified in the command
must be a MOP (the specified PPID must correspond to the MOP that is required to set
the purchase profile and to add the products).
▪ Read the Important note under commands 2, 10, 13, 46, 47, 48, 49, 51, 52, 58, 61,
100, 101, 106, 107, 122, 903 and 905.
▪ To reset a segment, set the segment subcategory of that segment category to zero.
▪ This command contains only the changes made in the segment: therefore, segments
not specified in the command remain unchanged.
▪ This command contains only the changes made in the product category: therefore,
product categories not specified in the command remain unchanged.
▪ Re-hits are cases where the customer purchases a product through the SMS and
complains later on that the requested product is not accessible. The SMS command is
then issued a second time. The SMS and the SAS must ensure that the subscriber will
only have access to the same content and validity period as have initially been
granted by the first SMS command.
▪ In cases where the CAS must generate a negative acknowledgement upon processing
this SMS command, the body of the command will be truncated (if necessary) to a
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 153
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
length of 999 characters before being inserted into field command_section of the
negative acknowledgement.
▪ In multi-pairing, the pairing slots are implicit with this command and SMS shall
specify all STB to pair. The command does not affect the other slots. For example, if
you want to pair the SC with 3 STB, the syntax will be nb_of_STB = 3, STU_number
= SN1, STU_number = SN2, STU_number = SN3 and the the pairing slots will be set
as below:
▪ Slot 0 = SN1
▪ Slot 1 = SN2
▪ Slot 2 = SN3
▪ Slot 3 = unchanged, keep the existing value
create_credit 1 r_text A flag specifying whether the credit must be created (Y) or not
(N).
credit 7 r_num The credit figure (in the local currency).
Range: 00000.00 to 65535.99
This field is used by the CAS only if credit must be created.
enable_return_path 1 r_text A flag specifying whether the return path is enabled. Its value is
either Y (the return path is enabled, therefore the callback
parameters are set) or N (the return path is disabled, therefore
the callback parameters are undefined).
threshold_credit 7 r_num When this lower limit is reached, the smart card must carry out
a low-credit callback within range 0.00 to 255.99.
This field is used by the CAS only if the return path is enabled.
Set return path
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 154
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 155
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 156
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 157
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 158
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 159
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Continued…
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 160
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command defines completely and exhaustively the contents of the a-la-carte product of a
subscriber, including the dates.
Note that each "service" may represent one or several channels, depending on how the services
were configured in IMS.
Important
▪ This SMS command will be rejected if the MOP is suspended (by means of SMS
command 20) or if the SOP is suspended (by means of SMS command 23).
▪ An expiration date of 1.1.2038 00:00:00 means 'infinite duration'
▪ A schedule date of 1.1.1992 00:00:00 means there is no schedule date. In that case
there must not be any services listed as scheduled
▪ If the schedule date is higher than or equal to the expiration date, it is considered as
1.1.1992, i.e. schedule date is disabled
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 161
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
For example, a subscriber who has currently services 2,3 and 4 and who will has replaced
service 4 with service 5 starting next month (i.e. he will have services 2,3 and 5 next month)
has the following bitmap:
3 E 4
Bitmap 00 11 11 10 01 00
Service Nr 1 2 3 4 5 6 7 8 ….
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 162
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS and the SMS use this command to acknowledge a command issued by the other side of
the interface. Field “transaction_number” identifies the corresponding command that has been
processed successfully.
Important
▪ Fields IMS_product_id and SMS_product_id are no longer applicable since the series
of cmd 3nn is not supported by the interface. Consequently, these fields will be set to
000000000000 and 000000000000 respectively.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 163
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The command specified could not be completed because it is either REJECTED or POSTPONED. A
rejected command is a consequence of a mistake in the command format or in the command
processing. A postponed command is a consequence of a CAS system that is busy.
Important
▪ When a command is POSTPONED, the SMS should resubmit the command after a
delay of 60 min. Note that the resubmitted command should be identified with a new
transaction id.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 164
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The SMS should send this command in the following two conditions:
While the SMS opens a channel.
While there is no activity, i.e. no command to send or receive. The period should be 5 min.
The SMS should separately manage the EMM/CONTROL channel and the Feedback channel:
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 165
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to acknowledge the SMS command ‘126-Assign Virtual UA to NUID’
issued by the SMS and to return the virtual UA that SAS has linked to given NUID.
Field “transaction_number” identifies the corresponding command that has been processed
successfully.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 166
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command is a positive acknowledgement returned in answer to some SMS commands such
as SMS 127 (the description of the SMS command mention this point explicitly when SMS 1004
is used as a response instead of the usual SMS commands 1000 or 2000). In addition to
signaling that the command was processed successfully, it also returns additional information to
the SMS.
The returned information varies depending on the input command. The exact list of information
that can be returned is indicated in the section describing the command.
• Value - the value itself. The value format is described in tha table below depending on
its tag. Its length was provided in the Length part of the triplet.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 167
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Important
▪ Tags which are not supported by the SMS shall be ignored. This allows upgrading the
CAS with new information without necessarily having to modify the SMS whenever
new tags are deployed.
The following command 1004 is returned in answer to an SMS 127 "Get all products":
000052758050001000214121211220121004735963126000680000010101000B02000400004E
200300010101000D020004000061A804000340C002
• A suspended smartcard
o services 1 and 5 will be available next update (service 1 replaces service 12)
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 168
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command allows sending a business command through the SMS gateway interface.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 169
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
This command is a positive acknowledgement returned in answer to a command sent with its
field command_type set to 06 in the root header.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 170
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The command specified could not be completed because it is either REJECTED or POSTPONED. A
rejected command is a consequence of a mistake in the command format or in the command
processing. A postponed command is a consequence of a CAS system that is busy.
Important
▪ When a command is POSTPONED, the SMS should resubmit the command after a
delay of 60 min. Note that the resubmitted command should be identified with a new
transaction id.
Specification of the data and error_code fields is out of the scope of this document.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 171
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The CAS uses this command to acknowledge a command issued by the SMS when the
broadcasting mode specified in the Address Header of the EMM command or control command is
of type E (EMM via Portal). Field “transaction number” identifies the corresponding command
that has been processed successfully.
Important
▪ As indicated in the table above, the format of the emm_data field is r_text. However, it
does not contain a regular string: it is not a text field, such as “this is a sentence with
characters and 1 2 3 4 numerical values”. The emm_data field contains a sequence of
hexadecimal numbers encoded in a text format. Consequently, the field will only
accept alpha characters A, B, C, D, E, F representing the numbers 10 to 15 in a
hexadecimal form.
▪ As an example – the CAS will accept the following data:
A0BCD12A29327B9F. Therefore, the value of emm_data_length is 8.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 172
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The command specified could not be completed because it is either REJECTED or POSTPONED. A
rejected command is a consequence of a mistake in the command format or in the command
processing. A postponed command is a consequence of a CAS system that is busy.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 173
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
5. Error codes
If an error occurs when executing an SMS command, it is reported by the use of an error code
and an error code extension. The error code indicates an error category and the error code
extension gives more details regarding the error source (e.g., an incorrectly specified field or
value exceeded).
An error code is always followed by an error code extension (possibly extension 0000:
NO_EXTENDED_ERROR_CODE). The error codes and extensions available are indicated in the
following tables.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 174
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 175
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Reasons:
• The SMS command ‘126-Assign Virtual UA
to NUID’ was not sent
Or the given virtual UA is not the virtual UA returned
in the acknowledgment of the SMS 126supported, or
the addressing mode is not supported for this
command.
NUID_OUT_OF_RANGE 0077 NUID is out of range for the operator.
NO_VUA_AVAILABLE 0078 All vUA defined in the system were already assigned
to NUID. A new range of vUA shall be deployed.
COMMAND_NOT_SUPPORTED 0079 The sent SMS command is not supported.
DATE_MISMATCH 0081 A check to ensure date consistency failed. The error
extension sometimes provides more information to
identify which date was being checked.
NUID_BLACKLISTED 0084 An NUID was blacklisted and therefor the pairing is
not done
INVALID_LICENSE 0090 Issue is related to DLK License
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 176
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 177
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 178
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 179
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 180
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 181
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
6.1 Definitions
The mandatory information to allow a CAS to fully recognize an individual customer is:
UA Unique address of the smart card. This is a 12-digits long number that
uniquely identifies the smart card. The first 10 digits represent the address
itself; the last 2 digits are a checksum allowing the SMS to verify the
number given by the customer. The preferred (but not mandatory) format
is:
nn nnnn nnnn cc This number is printed and bar-coded on the smart card and is normally
accessible through a set-top box menu on the TV screen.
CA-S/N Conditional access serial number. This is a 12-digits long number that
uniquely identifies the set-top box for the conditional access system. The
first 10 digits represent the serial number; the last 2 digits are a checksum
allowing the SMS to verify the number given by the customer. The
preferred (but not mandatory) format is:
nn nnnn nnnn cc This number may be printed (and possibly bar-coded) on a sticker on the
set-top box and is normally accessible through a set-top box menu on the
TV screen.
This number may differ (and usually differs) from the manufacturing S/N,
which identifies the set-top box for the manufacturer himself. We had to
use a common format throughout the system and different numbers for all
set-top boxes whatever the format chosen by the manufacturer.
The pairing operation links a smart card with a set-top box. The pairing operation is mandatory.
Without the pairing operation, the end user’s STB does not work and IRD commands cannot be
forwarded by the smart card to the STB.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 182
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
The pairing key(s), which is used to effectively prevent the use of a smart card in another set-
top box, is provided in the Nagravision system.
On the other hand, the set-top box manufacturer has the responsibility to provide files
containing the list of set-top boxes effectively produced. Those files must contain a list or range
of CAS/N. If needed by the customer, those files may provide a link between the CAS/N and the
manufacturing S/N for each box, but this is not requested by the Nagravision system.
Nagravision may possibly provide the range of CAS/N allocated for each manufacturer but has
no view on what is effectively produced.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 183
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
7. ASCII Table
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 184
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 185
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 186
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
1: onlineSubPurchase(to_be_added_bitmap)
2: 801 onlinePurchase(authorization, {product_id})
3: 1003 onlinePurchaseAcknowledge(price)
4: requestConfirmationOnlineSubPurchase(price)
5: confirmOnlineSubPurchase( )
8: acknowledgement( )
9: 905 AddEnhancedListOfPRoducts({product_id})
2. SAS issues a SMS command 801 “online purchase” to the SMS to request an online
purchase authorization for the given list of products. The SAS applies a formula to retrieve
the product ID on the basis of the commercial offers and SMS OPI.
3. The SMS responds to the SAS with the command 1003 “online purchase acknowledge” and
specifies the price that will be invoiced to the subscriber.
4. The SAS asks the subscriber to confirm the online purchase on the basis of the price
provided by the SMS.
6. SAS issues a SMS command 801 “online purchase” to the SMS to confirm the online
purchase for the given list of products.
7. The SMS responds to the SAS with the command 1003 “online purchase acknowledge”.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 187
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
8. The SAS acknowledges the online subscription confirmation provided by the STB.
9. Later on the SMS issues a SMS command 905 “add enhanced list of products” that includes
the list of products ID to be added.
10. The SAS generates the corresponding EMM and acknowledges the SMS command using an
SMS command 1000 “acknowledge”.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 188
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
9. Examples
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 189
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Packet #2
Flags: 0x00
Status: 0x01
Packet Length:64
Timestamp: 18:04:12.473409 10/09/2001
Ethernet Header
Destination: 00:C0:F0:3D:7F:9D
Source: 08:00:2B:C5:7E:2A
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 44
Identifier: 56682
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 60
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0xDFEE
Source IP Address: 192.168.0.3
Dest. IP Address: 192.168.0.31
No IP Options
TCP - Transport Control Protocol
Packet #3
Flags: 0x00
Status: 0x01
Packet Length:64
Timestamp: 18:04:12.473450 10/09/2001
Ethernet Header
Destination: 08:00:2B:C5:7E:2A
Source: 00:C0:F0:3D:7F:9D
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 40
Identifier: 63343
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 128
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0x81ED
Source IP Address: 192.168.0.31
Dest. IP Address: 192.168.0.3
No IP Options
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 191
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Packet #4
Flags: 0x00
Status: 0x01
Packet Length:69
Timestamp: 18:04:12.485934 10/09/2001
Ethernet Header
Destination: 08:00:2B:C5:7E:2A
Source: 00:C0:F0:3D:7F:9D
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 51
Identifier: 63599
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 128
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0x80E2
Source IP Address: 192.168.0.31
Dest. IP Address: 192.168.0.3
No IP Options
Packet #5
Flags: 0x00
Status: 0x01
Packet Length:64
Timestamp: 18:04:12.486303 10/09/2001
Ethernet Header
Destination: 00:C0:F0:3D:7F:9D
Source: 08:00:2B:C5:7E:2A
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 43
Identifier: 56683
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 60
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0xDFEE
Source IP Address: 192.168.0.3
Dest. IP Address: 192.168.0.31
No IP Options
TCP - Transport Control Protocol
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 193
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Packet #6
Flags: 0x00
Status: 0x01
Packet Length:64
Timestamp: 18:04:12.640961 10/09/2001
Ethernet Header
Destination: 08:00:2B:C5:7E:2A
Source: 00:C0:F0:3D:7F:9D
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 40
Identifier: 63855
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 128
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0x7FED
Source IP Address: 192.168.0.31
Dest. IP Address: 192.168.0.3
No IP Options
Packet #7
Flags: 0x00
Status: 0x01
Packet Length:64
Timestamp: 18:04:12.641152 10/09/2001
Ethernet Header
Destination: 00:C0:F0:3D:7F:9D
Source: 08:00:2B:C5:7E:2A
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 43
Identifier: 56686
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 60
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0xDFEB
Source IP Address: 192.168.0.3
Dest. IP Address: 192.168.0.31
No IP Options
TCP - Transport Control Protocol
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Packet #14
Flags: 0x00
Status: 0x01
Packet Length:64
Timestamp: 18:04:12.841621 10/09/2001
Ethernet Header
Destination: 08:00:2B:C5:7E:2A
Source: 00:C0:F0:3D:7F:9D
Protocol Type: 0x0800 IP
IP Header - Internet Protocol Datagram
Version: 4
Header Length: 5 (20 bytes)
Type of Service: %00000000
Precedence: Routine, Normal Delay, Normal Throughput, Normal Reliability
Total Length: 40
Identifier: 65135
Fragmentation Flags: %010 Do Not Fragment Last Fragment
Fragment Offset: 0 (0 bytes)
Time To Live: 128
Protocol: 6 TCP - Transmission Control Protocol
Header Checksum: 0x7AED
Source IP Address: 192.168.0.31
Dest. IP Address: 192.168.0.3
No IP Options
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 195
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
—— END OF DOCUMENT ——
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 196
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Glossary
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 197
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)
CONFIDENTIAL
Nagravision SMS Gateway
Data formats
Format Description Samples Data
hex Raw hexadecimal 19 or 13(hex) in 2 bytes 0x00:0x13
value 88564006 or 0x05:0x47:0x61:0x26
05476126(hex) in 4 bytes
HHMMSS time hour-min-sec 102500 (10h25 and 00 0x31:0x30:0x32:0x35:0x30:0x30
represented in sec)
ASCII
ip_num human As an example the IP 9.10.1 0x30:0x30:0x31:0x
representation of an address 1.112.25.2 must 2E:0x31:0x31:0x32:0x2E
IP address. The be formatted as: 0x30:0x32:0x35:0x2E:0x30:0x30
length is fixed to 15 001.112.025.002 :0x32
bytes (4 x 3-digit
num value
separated with dot
characters).
num numerical value 206 0x32:0x30:0x36
represented in
ASCII.
num_x hexadecimal 6A10F9 0x36:0x3A:0x31:0x30:0x3F:0x39
numerical value
represented in
ASCII.
r_num numerical value see num samples
represented in
ASCII. The range is
restricted.
r_num_x hexadecimal value see num_x samples
represented in
ASCII. The range is
restricted.
r_p_num numerical value see p_num samples
represented in
ASCII and padded
with space
characters. The
range is restricted.
p_num numerical value 206__ (the value is a string 0x32:0x30:0x36:0x20:0x20
represented in of 5 digit, 3 significant digit
ASCII and padded and padded with 2 space
with space characters)
characters.
r_text any text N as No 0x4E
represented in Y as Yes 0x59
ASCII characters.
The range is
restricted.
text any text SMS_GWY 0x53:0x4D:0x53:0x5F:0x47:0x5
represented in 7:0x59
ASCII characters.
YYYYMMDD date year-month- 20030518 (18 May 2003) 0x32:0x30:0x30:0x33:0x30:0x35
day represented in :0x31:0x38
ASCII.
Copyright © 2017 Nagravision. All rights reserved. Confidential and privileged information. 198
CONFIDENTIAL
Owner: Fabien Mathieu
You are not allowed to disclose this document outside NagraVision.
This document can only be distributed through Records (records@nagra.com)