openD unified API  1.0.0
opend_sub_types.h
Go to the documentation of this file.
1 #ifdef __cplusplus
2 extern "C"
3 {
4 #endif
5 
30 #ifndef __OPEND_SUB_TYPES_H__
31 #define __OPEND_SUB_TYPES_H__
32 
33 #include <stdbool.h>
34 #include "opend_dataTypes.h"
35 
39 typedef enum openD_subApi_service {
61 
65 typedef struct subApiReq_subscribeEnable {
69  bool enable;
71 
75 typedef struct subApiReq_subscribe {
85 
95 
99 typedef struct subApiReq_setAc {
105 
113  bool enable;
115 
119 typedef struct subApiInd_subscribe {
129 
139 
143 typedef struct openD_subApiReq {
147  openD_subApi_service_t service;
148 
152  union {
156  subApiReq_subscribeEnable_t subscribeEnable;
160  subApiReq_subscribe_t subscribe;
164  subApiReq_subscriptionDelete_t subscriptionDelete;
168  subApiReq_setAc_t setAc;
169  } param;
171 
175 typedef struct subApiReq_getRegState {
185 
189 typedef struct subApiReq_getHandsetId_t {
193  uint8_t id;
195 
199 typedef struct openD_subApiCfm {
203  openD_subApi_service_t service;
208 
212  union {
216  subApiReq_getRegState_t registrationState;
220  subApiReq_getHandsetId_t handsetId;
221  } param;
223 
227 typedef struct openD_subApiInd {
231  openD_subApi_service_t service;
232 
236  union {
240  subApiInd_subscribeEnable_t subscribeEnable;
244  subApiInd_subscribe_t subscribe;
248  subApiInd_subscriptionDelete_t subscriptionDelete;
252  subApiReq_getRegState_t registrationState;
253  } param;
255 
258 #endif /* __OPEND_SUB_TYPES_H__ */
259 #ifdef __cplusplus
260 }
261 #endif
openD_subApi_service_t service
Definition: opend_sub_types.h:203
openD_status_t
Definition: opend_dataTypes.h:62
uint8_t rfpi_t[5]
Definition: opend_dataTypes.h:38
struct subApiReq_subscribeEnable subApiReq_subscribeEnable_t
Definition: opend_sub_types.h:143
openD_subApi_service_t service
Definition: opend_sub_types.h:231
struct subApiReq_getRegState subApiReq_getRegState_t
Definition: opend_sub_types.h:55
ac_t ac
Definition: opend_sub_types.h:103
Definition: opend_sub_types.h:227
Definition: opend_sub_types.h:43
openD_subApi_service
Definition: opend_sub_types.h:39
struct subApiInd_subscriptionDelete subApiInd_subscriptionDelete_t
bool isRegistered
Definition: opend_sub_types.h:179
struct subApiReq_subscribe subApiReq_subscribe_t
Definition: opend_sub_types.h:75
struct openD_subApiCfm openD_subApiCfm_t
struct subApiInd_subscribeEnable subApiInd_subscribeEnable_t
Definition: opend_sub_types.h:199
uint8_t id
Definition: opend_sub_types.h:193
openD_subApi_service_t service
Definition: opend_sub_types.h:147
pmid_t pmid
Definition: opend_sub_types.h:137
enum openD_subApi_service openD_subApi_service_t
uint8_t pmid_t[3]
Definition: opend_dataTypes.h:50
struct openD_subApiReq openD_subApiReq_t
Definition: opend_sub_types.h:51
Definition: opend_sub_types.h:59
bool enable
Definition: opend_sub_types.h:69
Definition: opend_sub_types.h:189
pmid_t pmid
Definition: opend_sub_types.h:183
Definition: opend_sub_types.h:133
Definition: opend_sub_types.h:47
struct subApiInd_subscribe subApiInd_subscribe_t
Definition: opend_sub_types.h:119
Definition: opend_sub_types.h:99
openD_status_t status
Definition: opend_sub_types.h:207
rfpi_t rfpi
Definition: opend_sub_types.h:79
bool enable
Definition: opend_sub_types.h:113
struct subApiReq_subscriptionDelete subApiReq_subscriptionDelete_t
uint8_t ipui_t[5]
Definition: opend_dataTypes.h:57
struct subApiReq_setAc subApiReq_setAc_t
pmid_t pmid
Definition: opend_sub_types.h:123
pmid_t pmid
Definition: opend_sub_types.h:93
struct openD_subApiInd openD_subApiInd_t
Definition: opend_sub_types.h:175
struct subApiReq_getHandsetId_t subApiReq_getHandsetId_t
Definition: opend_sub_types.h:65
ac_t ac
Definition: opend_sub_types.h:83
uint8_t ac_t[4]
Definition: opend_dataTypes.h:43
ipui_t ipui
Definition: opend_sub_types.h:127
openD data types.
Definition: opend_sub_types.h:89
Definition: opend_sub_types.h:109