mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-15 01:13:33 +00:00
Merged in antmerlino/apps/i8sak-seteppanid (pull request #193)
i8sak: Allow setting the endpoint PAN ID Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
906f77a62d
commit
6228b43a72
1 changed files with 4 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ void i8sak_set_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
|||
i8sak_cmd_error(i8sak);
|
||||
}
|
||||
}
|
||||
else if (strcmp(argv[argind], "ep_panid") == 0)
|
||||
{
|
||||
i8sak_str2panid(argv[argind + 1], i8sak->ep_addr.panid);
|
||||
}
|
||||
else if (strcmp(argv[argind], "ep_saddr") == 0)
|
||||
{
|
||||
i8sak_str2saddr(argv[argind + 1], i8sak->ep_addr.saddr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue