aboutsummaryrefslogtreecommitdiff
path: root/csta/source-files/asn1-source/get-presence-state.asn1
blob: dceab14a7be1687ef2db8d570da4259fe15d53c5 (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
CSTA-get-presence-state
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) get-presence-state( 550) }

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) };

getPresenceState OPERATION ::=
{	ARGUMENT 		GetPresenceStateArgument
	RESULT 			GetPresenceStateResult
	ERRORS 			{universalFailure }
	CODE			local: 550 }

GetPresenceStateArgument ::= SEQUENCE
{	device 				DeviceID,
	extensions			CSTACommonArguments 			OPTIONAL }

GetPresenceStateResult ::= SEQUENCE
{ 	presenceState	 		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 }

END -- of CSTA-get-presence-state