max msg length defined, removed some old vars.
FossilOrigin-Name: ec0feec419bfc09ddad0deebf0c11f9c48bc1a163cf86a195a892f1e43c164d3
This commit is contained in:
parent
9d3b3cadee
commit
c50b9a9cae
@ -42,6 +42,8 @@
|
||||
#include "mbag.h"
|
||||
#include "mod.h"
|
||||
|
||||
#define CONN_MAX_MSG_LENGTH 65536
|
||||
|
||||
/**
|
||||
* Connection Object
|
||||
*/
|
||||
@ -54,9 +56,7 @@ struct conn {
|
||||
mbag_t incomming;
|
||||
mbag_t remote;
|
||||
mbag_t local;
|
||||
|
||||
mbag_t radios;
|
||||
uint8_t radio_create;
|
||||
mbag_t config;
|
||||
|
||||
|
||||
@ -97,10 +97,10 @@ struct conn {
|
||||
struct cwmsg resp_msg;
|
||||
|
||||
/** Buffer for outgoing request messages */
|
||||
uint8_t req_buffer[65536];
|
||||
uint8_t req_buffer[CONN_MAX_MSG_LENGTH];
|
||||
|
||||
/** Buffer for outgoing response messages */
|
||||
uint8_t resp_buffer[65536];
|
||||
uint8_t resp_buffer[CONN_MAX_MSG_LENGTH];
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user