[spinel] add spinel_command_to_cstr() and update strings (#3097)

This commit is contained in:
Abtin Keshavarzian
2018-09-27 08:45:17 -07:00
committed by Jonathan Hui
parent cc24aa8f76
commit 00cac8002b
2 changed files with 419 additions and 308 deletions
+416 -307
View File
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -404,7 +404,7 @@ enum
SPINEL_CMD_HBO_DROP = 14,
SPINEL_CMD_HBO_OFFLOADED = 15,
SPINEL_CMD_HBO_RECLAIMED = 16,
SPINEL_CMD_HBO_DROPED = 17,
SPINEL_CMD_HBO_DROPPED = 17,
SPINEL_CMD_PEEK = 18,
SPINEL_CMD_PEEK_RET = 19,
@@ -2559,6 +2559,8 @@ SPINEL_API_EXTERN const char *spinel_next_packed_datatype(const char *pack_forma
// ----------------------------------------------------------------------------
SPINEL_API_EXTERN const char *spinel_command_to_cstr(unsigned int command);
SPINEL_API_EXTERN const char *spinel_prop_key_to_cstr(spinel_prop_key_t prop_key);
SPINEL_API_EXTERN const char *spinel_net_role_to_cstr(uint8_t net_role);