Java User’s Guide
Content
123
s
wm_java_usersguide_v12 Page 7 of 123 2008-02-25
Confidential / Released
13 Java Tutorial............................................................................................................ 113
13.1 Using the AT Command API.......................................................................... 113
13.1.1 Class ATCommand ...........................................................................113
13.1.1.1 Instantiation with or without CSD Support......................... 113
13.1.1.2 Sending an AT Command to the Device, the send() Method..
114
13.1.1.3 Data Connections.............................................................. 115
13.1.1.4 Synchronization................................................................. 117
13.1.2 ATCommandResponseListener Interface .........................................117
13.1.2.1 Non-Blocking ATCommand.send() Method....................... 117
13.1.3 ATCommandListener Interface .........................................................118
13.1.3.1 ATEvents........................................................................... 118
13.1.3.2 Implementation.................................................................. 119
13.1.3.3 Registering a Listener with an ATCommand Instance ......120
13.2 Programming the MIDlet................................................................................ 121
13.2.1 Threads .............................................................................................121
13.2.2 Example ............................................................................................ 121
14 Differences to the TC45.......................................................................................... 123