Document submitted to


Description 188.35The +CBKG command sets background colours



Download 468.34 Kb.
Page10/16
Date07.08.2017
Size468.34 Kb.
#28837
1   ...   6   7   8   9   10   11   12   13   ...   16

188.34Description

188.35The +CBKG command sets background colours.

188.36Defined values

188.37: The value of the colour red, in the range of 0-255.
: The value of the colour green, in the range of 0-255.
: The value of the colour blue, in the range of 0-255.

188.38

188.399.7 Cursor control


Mobility-impaired users may need alternative pointing devices to control the on-screen cursor/pointer. The user shall be able to make a click on a specific coordinate X, Y. The clicks can be various numbers such as single click or double click. Clicks can be done with various buttons, so the buttons being used for the click can also be defined..

188.39.1The following functions are required:

      1. pointingDeviceClick (int X, int Y, int numberOfClicks, int buttonNumber);

      2. pointingDeviceMove (int X, int Y);

      3. pointingDeviceDrag (int X, int Y, int status).

188.39.2Cursor control

188.39.3

188.39.4Pointing Device Recommendation 9.7: The communication device shall provide an interface with the necessary AT command to allow an external device to act as an alternative pointing device.

188.39.5

188.39.69.7.1 Click

Syntax


+CCLIK=,,< numberOfClicks >,< buttonNumber >

Description


This command provides the option to click on a specific coordinate X, Y with alternative pointing devices. The clicks can be various numbers such as single click or double click.

Defined values


specific coordinate X, Y

is the coordinate in the x-direction and is an integer. (Value range?)

is the coordinate in the y-direction and is an integer.

defines the number of clicks.

defines what button is used for the click.

Result codes


+CCLIK: OK

+CCLIK ERROR:

Implementation

Read Syntax


+CCLIK?

The response to this command is


Test Syntax


+CCLIK=?

The response to this command is the following string



Max , Max , Max , Max

Table E.5: +CCLIK parameter command syntax

+CCLIK command with sub-command

Command

Possible response(s)

Execution command:

+CCLIK=,,< numberOfClicks >,< buttonNumber >

+CCLIK: OK

+CCLIK ERROR:



Read command

+CCLIK?

OK

Test command

+CCLIK=?

Max , Max , Max , Max


188.39.7Pointing Device Description

188.39.8This command provides the option to click on a specific coordinate X, Y with alternative pointing devices. The clicks can be various numbers such as single click or double click. > defines the number of clicks. <buttonNumber> defines what button is used for the click.

188.39.9Defined values

188.39.10>: integer;

188.39.11<Y>: integer;

188.39.12<numberOfClicks>: integer;

188.39.13<buttonNumber>: integer.

188.39.149.7.2 Move

Syntax


+CMOV=,

Description


This command allows the user to be able to move the cursor to a specific coordinate X, Y. This command can be used several times in order to show the motion.

Defined values


Result codes

+CMOV: OK

+CMOV ERROR:

Implementation


Read Syntax

+CMOV?

OK

Test Syntax


+CMOV=?

Max , Max

Table E.6: +CMOV parameter command syntax

+CMOV command with sub-command

Command

Possible response(s)

Execution command:

+CMOV=,

+CMOV: OK

+CMOV ERROR:



Read command

+CMOV?

OK

Test command

+CMOV=?

Max , Max


Description

The user shall be able to move the cursor to a specific coordinate X, Y. This command can be used several times in order to show the motion.



Defined values

is the coordinate in the x-direction and is an integer. (Value range?)

is the coordinate in the y-direction and is an integer.

: integer;
: integer;


188.39.15Pointing Device 9.7.3 Drag

Syntax


+CDRG=,,

Description

The user shall be able to drag something with the cursor to a specific coordinate X, Y. This command can be used several times in order to show the motion.


Defined values


is the coordinate in the x-direction and is an integer. (What is the value range?)

is the coordinate in the y-direction and is an integer.

is an integer value that represents the status of the drag operation.

0 Start Drag

1 Move Drag

2 Release Drag



9 No Drag

Result codes


+CDRG: OK

+CDRG ERROR:

Implementation


Read Syntax

+CDRG?

OK

Test Syntax


+CDRG=?

Max , Max , Max

Table E.7: +CDRG parameter command syntax

+CDRG command with sub-command

Command

Possible response(s)

Execution command:

+CDRG=,,

+CDRG: OK

+CDRG ERROR:



Read command

+CDRG?

OK

Test command

+CDRG=?

Max , Max , Max


Description

The user shall be able to drag something with the cursor to a specific coordinate X, Y. This command can be used several times in order to show the motion.



Defined values

: integer;

: integer;

:

0 startDrag

1 moveDrag

2 releaseDrag


9.7.4 Example


The following example shows illustrates an possible example sequence of AT commands (in the order listed below):
AT+CDRG=27, 39, 0 (27 is X coordinate, 39 is Y coordinate and 0 is Sstart Drag)

AT+CDRG=30, 42, 1

AT+CDRG=35, 47, 1

AT+CDRG=40, 52, 1

AT+CDRG=45, 57, 1

AT+CDRG=50, 62, 2 (50 is X coordinate, 62 is Y coordinate and 2 is Release Drag)




Download 468.34 Kb.

Share with your friends:
1   ...   6   7   8   9   10   11   12   13   ...   16




The database is protected by copyright ©ininet.org 2024
send message

    Main page