S@T 01.00 v4.0.0 (Release 2009)

download S@T 01.00 v4.0.0 (Release 2009)

of 54

  • date post

    24-Oct-2014
  • Category

    Documents

  • view

    72
  • download

    10

Embed Size (px)

Transcript of S@T 01.00 v4.0.0 (Release 2009)

S@T 01.00 v4.0.0 (Release 2009)Technical Specification

SBC S@T Bytecode

SIMalliance Limited 2009. The use and disclosure of this document are subject to the terms and conditions ofSIMalliance Licence Agreement available at www.SIMalliance.org.

2/54

S@T 01.00 v4.0.0 (Release 2009)

TABLE OF CONTENTS1 TERMINOLOGY.......................................................................................................................... 41.1 1.2 1.3 Notation...............................................................................................................................................4 Abbreviations .....................................................................................................................................4 Definitions...........................................................................................................................................4

2 3 4

LIST OF DOCUMENTS.............................................................................................................. 5 OVERVIEW.................................................................................................................................. 6 DECK EXECUTION MODEL .................................................................................................... 64.1 4.2 4.3 4.4 4.5 4.6 Introduction........................................................................................................................................6 High Level State Diagram.................................................................................................................7 Navigation...........................................................................................................................................8 History Management .........................................................................................................................8 Deck Caching......................................................................................................................................9 Contextual Menu................................................................................................................................9Contextual Menu Item Coding.................................................................................................................. 10 Predefined System Items........................................................................................................................... 10 Default Contextual Menu Configuration................................................................................................... 11

4.6.1 4.6.2 4.6.3

5

VARIABLE MANAGEMENT ................................................................................................... 125.1 5.2 5.3 5.4 5.5 5.6 Introduction......................................................................................................................................12 Variable Usage .................................................................................................................................12 Temporary Variables ......................................................................................................................12 Permanent Variables .......................................................................................................................13 Deck Text Elements .........................................................................................................................13 Environment Variables ...................................................................................................................13

6 7

GENERIC TL[A]V FORMAT ................................................................................................... 166.1 Coding of the attribute bytes ..........................................................................................................16

BYTECODE STRUCTURE ....................................................................................................... 187.1 Deck...................................................................................................................................................18Deck Id...................................................................................................................................................... 19 Text Element Table................................................................................................................................... 19 Card Template........................................................................................................................................... 19 Card Id ...................................................................................................................................................... 22 7.1.1 7.1.2 7.1.3

7.2 7.3

Card...................................................................................................................................................21 Referencing Decks and Cards.........................................................................................................22

7.2.1

8

GENERAL TL[A]Vs................................................................................................................... 238.1 8.2 8.3 Variable Reference ..........................................................................................................................23 Variable Reference List...................................................................................................................23 Inline Value ......................................................................................................................................24

SIMalliance Limited 2009. The use and disclosure of this document are subject to the terms and conditions ofSIMalliance Licence Agreement available at www.SIMalliance.org.

3/54

S@T 01.00 v4.0.0 (Release 2009)

8.4

URL Reference.................................................................................................................................25Address Reference .................................................................................................................................... 26 Parameter .................................................................................................................................................. 26 Constant Parameter ................................................................................................................................... 27

8.4.1 8.4.2 8.4.3

8.5 8.6

Value Couple ....................................................................................................................................27 URL Reference Couple....................................................................................................................27

9

BYTECODE COMMANDS ....................................................................................................... 289.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 Init Variables....................................................................................................................................28 Init Variable Selected ......................................................................................................................29 Get Environment Variable..............................................................................................................30 Concatenate ......................................................................................................................................31 Extract...............................................................................................................................................32 Encrypt .............................................................................................................................................33Secure Message......................................................................................................................................... 34

9.6.1

Decrypt..............................................................................................................................................35 Go Back.............................................................................................................................................36 Go Selected .......................................................................................................................................37Go Selected (Select Item) ......................................................................................................................... 37 Go Selected (Jump to URL)...................................................................................................................... 37

9.9.1 9.9.2

9.10 9.11 9.12 9.139.13.1

Switch Case on Variable..............................................................................................................38 Exit.................................................................................................................................................39 Manage Contextual Menu Item ..................................................................................................40 Execute STK Command ..............................................................................................................41Variable Substitution ................................................................................................................................ 43

9.149.14.1

Execute Plug-in........................................................................................................