mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-24 07:16:43 +00:00
add message type field
This commit is contained in:
parent
82dc45f511
commit
f489d74c6c
3
meshms.c
3
meshms.c
@ -440,9 +440,10 @@ int app_meshms_list_messages(const struct cli_parsed *parsed, void *context)
|
|||||||
"recipient",
|
"recipient",
|
||||||
"date",
|
"date",
|
||||||
"delivery_status",
|
"delivery_status",
|
||||||
|
"type",
|
||||||
"message"
|
"message"
|
||||||
};
|
};
|
||||||
cli_columns(7, names);
|
cli_columns(8, names);
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
for(i=message_count-1;i>=0;i--)
|
for(i=message_count-1;i>=0;i--)
|
||||||
|
@ -300,6 +300,7 @@ int deserialize_meshms(unsigned char *buffer,int *offset, int buffer_size,
|
|||||||
cli_printf("%lld",time); cli_delim(":");
|
cli_printf("%lld",time); cli_delim(":");
|
||||||
|
|
||||||
cli_printf("%s",delivery_status); cli_delim(":");
|
cli_printf("%s",delivery_status); cli_delim(":");
|
||||||
|
cli_printf("%s","meshms"); cli_delim(":");
|
||||||
|
|
||||||
int j=0;
|
int j=0;
|
||||||
int payload_end=start_offset+length-length_length;
|
int payload_end=start_offset+length-length_length;
|
||||||
|
Loading…
Reference in New Issue
Block a user