dect
/
libdect
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libdect/include/ss.h

71 lines
2.0 KiB
C

/*
* DECT Supplementary Services (SS)
*
* Copyright (c) 2009 Patrick McHardy <kaber@trash.net>
*/
#ifndef _DECT_SS_H
#define _DECT_SS_H
/**
* Call Independant Supplementary Services messages types
*/
enum dect_ciss_msg_types {
CISS_RELEASE_COM = 0x5a,
CISS_FACILITY = 0x62,
CISS_REGISTER = 0x64,
};
struct dect_ciss_release_com_msg {
struct dect_msg_common common;
struct dect_ie_release_reason *release_reason;
struct dect_ie_repeat_indicator facility;
struct dect_ie_display *display;
struct dect_ie_keypad *keypad;
struct dect_ie_feature_activate *feature_activate;
struct dect_ie_feature_indicate *feature_indicate;
struct dect_ie_escape_to_proprietary *escape_to_proprietary;
};
struct dect_ciss_facility_msg {
struct dect_msg_common common;
struct dect_ie_repeat_indicator facility;
struct dect_ie_display *display;
struct dect_ie_keypad *keypad;
struct dect_ie_feature_activate *feature_activate;
struct dect_ie_feature_indicate *feature_indicate;
struct dect_ie_repeat_indicator iwu_to_iwu;
struct dect_ie_escape_to_proprietary *escape_to_proprietary;
struct dect_ie_time_date *time_date;
struct dect_ie_events_notification *events_notification;
struct dect_ie_call_information *call_information;
};
struct dect_ciss_register_msg {
struct dect_msg_common common;
struct dect_ie_portable_identity *portable_identity;
struct dect_ie_repeat_indicator facility;
struct dect_ie_display *display;
struct dect_ie_keypad *keypad;
struct dect_ie_feature_activate *feature_activate;
struct dect_ie_feature_indicate *feature_indicate;
struct dect_ie_escape_to_proprietary *escape_to_proprietary;
};
extern void dect_clss_rcv(struct dect_handle *dh, struct dect_msg_buf *mb);
/**
* Call Related Supplementary Services messages types
*/
enum dect_crss_msg_types {
CRSS_HOLD = 0x24,
CRSS_HOLD_ACK = 0x28,
CRSS_HOLD_REJECT = 0x30,
CRSS_RETRIEVE = 0x31,
CRSS_RETRIEVE_ACK = 0x33,
CRSS_RETRIEVE_REJECT = 0x37,
CRSS_FACILITY = 0x62,
};
#endif