TSG-14930 TFE支持发送控制报文给SAPP
This commit is contained in:
@@ -115,9 +115,17 @@ enum tfe_cmsg_tlv_type
|
||||
TFE_CMSG_TLV_NR_MAX
|
||||
};
|
||||
|
||||
#define TFE_CMSG_FLAG_INIT 0x0
|
||||
#define TFE_CMSG_FLAG_USER0 0x1 // 1 << 0
|
||||
#define TFE_CMSG_FLAG_USER1 0x2 // 1 << 1
|
||||
|
||||
struct tfe_cmsg* tfe_cmsg_init();
|
||||
void tfe_cmsg_destroy(struct tfe_cmsg *cmsg);
|
||||
|
||||
void tfe_cmsg_dup(struct tfe_cmsg *cmsg);
|
||||
void tfe_cmsg_set_flag(struct tfe_cmsg *cmsg, uint8_t flag);
|
||||
uint8_t tfe_cmsg_get_flag(struct tfe_cmsg *cmsg);
|
||||
|
||||
int tfe_cmsg_get_value(struct tfe_cmsg * cmsg, enum tfe_cmsg_tlv_type type, unsigned char * out_value,
|
||||
size_t sz_out_value_buf, uint16_t * out_size);
|
||||
int tfe_cmsg_set(struct tfe_cmsg * cmsg, enum tfe_cmsg_tlv_type type, const unsigned char * value, uint16_t size);
|
||||
|
||||
Reference in New Issue
Block a user