Addded draft 7 encryption capabilities.
FossilOrigin-Name: 3a6c7be9781e09fe840b818078e03471c77748ea03df3d53935d4352e20f7df1
This commit is contained in:
parent
5e0c583669
commit
2dd8d4b19c
16
src/cw/cw.h
16
src/cw/cw.h
@ -305,10 +305,23 @@ static inline int cw_put_elem_vendor_hdr(uint8_t * dst, uint32_t vendorid,
|
||||
|
||||
|
||||
|
||||
|
||||
#define cw_put_sockaddr lw_put_sockaddr
|
||||
|
||||
int cw_put_image_data(uint8_t * dst, FILE * infile);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Put encryption capabilities as described in CAWAP
|
||||
* draft 7 fpr WTP Descriptor
|
||||
* @param dst Destination buffer
|
||||
* @param cap Capability
|
||||
* @return number of bytes put
|
||||
*/
|
||||
#define cw_put_encryption_capabilities_7(dst,cap) cw_put_word(dst,cap)
|
||||
|
||||
|
||||
/**
|
||||
* Add a message element to a buffer
|
||||
* @param dst pointer to buffer
|
||||
@ -424,6 +437,9 @@ extern int cw_in_radio_operational_state(struct conn *conn, struct cw_action_in
|
||||
uint8_t * data, int len, struct sockaddr *from);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user