aboutsummaryrefslogtreecommitdiff
path: root/CSTA/source-files/asn1-source/set-presence-state.asn1
blob: 51b6ea9596559c386b6eb1866e095100b3384d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
CSTA-set-presence-state
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) set-presence-state( 551) }

DEFINITIONS ::=
BEGIN

IMPORTS
OPERATION, ERROR FROM Remote-Operations-Information-Objects 
	{joint-iso-itu-t remote-operations(4) informationObjects(5) version1(0) }

-- Data Types --
universalFailure FROM CSTA-error-definition
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) error-definition( 120) }
DeviceID FROM CSTA-device-identifiers
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) device-identifiers( 123) }
PresenceState FROM CSTA-device-feature-types
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) device-feature-types( 127) }
TimeInfo FROM CSTA-security
{ iso( 1) identified-organization( 3) icd-ecma( 12)
standard( 0) csta3( 285) security( 128) }
CSTACommonArguments FROM CSTA-extension-types
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) extension-types( 129) };

setPresenceState OPERATION ::=
{	ARGUMENT 		SetPresenceStateArgument
	RESULT 			SetPresenceStateResult
	ERRORS 			{universalFailure }
	CODE			local: 551 }

SetPresenceStateArgument ::= SEQUENCE
{	device 				DeviceID,
	requestedPresenceState	 	PresenceState,
	fromTime			[0] IMPLICIT TimeInfo			OPTIONAL,
	untilTime			[1] IMPLICIT TimeInfo			OPTIONAL,
	place				[2] IMPLICIT OCTET STRING		OPTIONAL,
	mood				[3] IMPLICIT OCTET STRING		OPTIONAL,
	namedPresenceState 		[4] IMPLICIT OCTET STRING		OPTIONAL,
	extensions			CSTACommonArguments			OPTIONAL }

SetPresenceStateResult ::= CHOICE
{	extensions 			CSTACommonArguments,
	noData 				NULL }

END -- of CSTA-set-presence-state