Searched refs:pathstr (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_util.c | 442 int lwm2m_string_to_path(const char *pathstr, struct lwm2m_obj_path *path, in lwm2m_string_to_path() argument 447 int end_index = strlen(pathstr) - 1; in lwm2m_string_to_path() 453 if (isdigit((unsigned char)pathstr[i]) == 0) { in lwm2m_string_to_path() 461 if (pathstr[i] == delim || i == end_index) { in lwm2m_string_to_path() 465 if (pathstr[i] == delim) { in lwm2m_string_to_path() 473 value = lwm2m_atou16(&pathstr[tokstart], toklen, &len); in lwm2m_string_to_path()
|
D | lwm2m_util.h | 27 int lwm2m_string_to_path(const char *pathstr, struct lwm2m_obj_path *path, char delim);
|
D | lwm2m_shell.c | 116 const char *pathstr = argv[1]; in cmd_exec() local 118 int ret = lwm2m_string_to_path(pathstr, &path, '/'); /* translate path -> path_obj */ in cmd_exec() 121 shell_error(sh, "Illegal path (PATH %s)", pathstr); in cmd_exec() 165 const char *pathstr = argv[1]; in cmd_read() local 169 ret = lwm2m_string_to_path(pathstr, &path, '/'); in cmd_read() 317 const char *pathstr = argv[1]; in cmd_write() local 322 ret = lwm2m_string_to_path(pathstr, &path, '/'); in cmd_write()
|