aboutsummaryrefslogtreecommitdiff
path: root/kme
diff options
context:
space:
mode:
Diffstat (limited to 'kme')
-rw-r--r--kme/kme.go76
1 files changed, 76 insertions, 0 deletions
diff --git a/kme/kme.go b/kme/kme.go
index 467ea55..11dcf0d 100644
--- a/kme/kme.go
+++ b/kme/kme.go
@@ -1 +1,77 @@
package kme
+
+import "github.com/dim13/asn1"
+
+type KME interface {
+ isKME()
+}
+
+type KMESpecificPrivateData struct {
+ KmeCallControlSrvEvt
+ KmeDeviceStatus
+ KmeDeviceMonitor
+ KmeSystemData
+ KmeLocalAlerm
+ KmeAdditionalData
+ KmePrivateEvent
+ KmeResourceControl
+ KmeGenericSrvEvt
+ KmeExtendedDataAccess
+ KmePDFSrvEvt
+ KmeAlterIfSrvEvt
+ KmeHotelSrvEvt
+}
+
+type KmeCallControlSrvEvt struct {
+ asn1.Tag `asn1:"optional,tag:1"`
+}
+type KmeDeviceStatus struct {
+ asn1.Tag `asn1:"optional,tag:2"`
+}
+type KmeDeviceMonitor struct {
+ asn1.Tag `asn1:"optional,tag:3"`
+}
+type KmeSystemData struct {
+ asn1.Tag `asn1:"optional,tag:4"`
+}
+type KmeLocalAlerm struct {
+ asn1.Tag `asn1:"optional,tag:5"`
+}
+type KmeAdditionalData struct {
+ asn1.Tag `asn1:"optional,tag:6"`
+}
+type KmePrivateEvent struct {
+ asn1.Tag `asn1:"optional,tag:7"`
+}
+type KmeResourceControl struct {
+ asn1.Tag `asn1:"optional,tag:8"`
+}
+type KmeGenericSrvEvt struct {
+ asn1.Tag `asn1:"optional,tag:9"`
+}
+type KmeExtendedDataAccess struct {
+ Value []byte `asn1:"optional,tag:10"`
+}
+type KmePDFSrvEvt struct {
+ asn1.Tag `asn1:"optional,tag:11"`
+}
+type KmeAlterIfSrvEvt struct {
+ asn1.Tag `asn1:"optional,tag:12"`
+}
+type KmeHotelSrvEvt struct {
+ asn1.Tag `asn1:"optional,tag:13"`
+}
+
+func (KmeCallControlSrvEvt) isKME() {}
+func (KmeDeviceStatus) isKME() {}
+func (KmeDeviceMonitor) isKME() {}
+func (KmeSystemData) isKME() {}
+func (KmeLocalAlerm) isKME() {}
+func (KmeAdditionalData) isKME() {}
+func (KmePrivateEvent) isKME() {}
+func (KmeResourceControl) isKME() {}
+func (KmeGenericSrvEvt) isKME() {}
+func (KmeExtendedDataAccess) isKME() {}
+func (KmePDFSrvEvt) isKME() {}
+func (KmeAlterIfSrvEvt) isKME() {}
+func (KmeHotelSrvEvt) isKME() {}