Commit: dd81aa0534aba0ee5793dc6e7e60a7a627dae243
Parent: ff41bce83de019fc1630bdc46ae0d8f2375350b1
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-03-05 18:01:28
Tree: 9108fd738f5d6ec0a63e9cd25e7bec3c75f3a196

tools/mesh-cfgclient: Add address checks for pub/sub commands This addrs verification of subscriptpion address value entered on the command line: unassigned address, unicast address, and all-nodes address are not allowed. Publication address check verifies that the entered value falls into mesh address space. Also, change the type of parameter count in comaand processing routines from int to uint32_t to match the retrun type of the parameter parsing routine.

Diffstat

M tools/mesh/cfgcli.c | 47 +++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - -

1 files changed, 29 insertions(+), 18 deletions(-)

View Full Diff | Patch