add message type field

This commit is contained in:
gardners 2013-05-09 21:09:33 +09:30
parent 82dc45f511
commit f489d74c6c
2 changed files with 3 additions and 1 deletions

View File

@ -440,9 +440,10 @@ int app_meshms_list_messages(const struct cli_parsed *parsed, void *context)
"recipient",
"date",
"delivery_status",
"type",
"message"
};
cli_columns(7, names);
cli_columns(8, names);
int i;
for(i=message_count-1;i>=0;i--)

View File

@ -300,6 +300,7 @@ int deserialize_meshms(unsigned char *buffer,int *offset, int buffer_size,
cli_printf("%lld",time); cli_delim(":");
cli_printf("%s",delivery_status); cli_delim(":");
cli_printf("%s","meshms"); cli_delim(":");
int j=0;
int payload_end=start_offset+length-length_length;