Home
last modified time | relevance | path

Searched full:name (Results 1 – 25 of 42) sorted by relevance

12

/mcumgr-2.7.6/cmd/log_mgmt/include/log_mgmt/
Dlog_mgmt_impl.h56 * @brief Retrieves the name of log module at the specified index.
59 * @param out_name On success, the requested module's name gets
70 * @brief Retrieves the name of log level at the specified index.
73 * @param out_name On success, the requested level's name gets
95 * @param log_name The name of the log to operate on.
108 * @brief Clear the log with the specified name.
110 * @param log_name The name of the log to clear.
/mcumgr-2.7.6/cmd/log_mgmt/port/mynewt/src/
Dmynewt_log_mgmt.c83 tmplog = mynewt_log_mgmt_find_log(log->name); in log_mgmt_impl_set_watermark()
108 out_log->name = log->l_name; in log_mgmt_impl_get_log()
119 const char *name; in log_mgmt_impl_get_module() local
121 name = LOG_MODULE_STR(idx); in log_mgmt_impl_get_module()
122 if (name == NULL) { in log_mgmt_impl_get_module()
125 *out_module_name = name; in log_mgmt_impl_get_module()
133 const char *name; in log_mgmt_impl_get_level() local
139 name = LOG_LEVEL_STR(idx); in log_mgmt_impl_get_level()
140 if (!strcmp(name, "UNKNOWN")) { in log_mgmt_impl_get_level()
143 *out_level_name = name; in log_mgmt_impl_get_level()
/mcumgr-2.7.6/cmd/log_mgmt/src/
Dlog_mgmt.c291 rc = log_mgmt_impl_foreach_entry(log->name, &filter, in log_encode_entries()
326 err |= cbor_encode_text_stringz(&logs, "name"); in log_encode()
327 err |= cbor_encode_text_stringz(&logs, log->name); in log_encode()
352 char name[LOG_MGMT_NAME_LEN]; in log_mgmt_show() local
367 .addr.string = name, in log_mgmt_show()
368 .len = sizeof(name), in log_mgmt_show()
385 name[0] = '\0'; in log_mgmt_show()
390 name_len = strlen(name); in log_mgmt_show()
417 /* Client specified log name, but the log wasn't found. */ in log_mgmt_show()
429 if (name_len == 0 || strcmp(name, log.name) == 0) { in log_mgmt_show()
[all …]
/mcumgr-2.7.6/cmd/stat_mgmt/include/stat_mgmt/
Dstat_mgmt_impl.h40 * @brief Retrieves the name of the stat group at the specified index.
43 * @param out_name On success, the name of the requested stat
56 * @param group_name The name of the stat group to operate on.
Dstat_mgmt.h37 const char *name; member
/mcumgr-2.7.6/cmd/stat_mgmt/
Dsyscfg.yml22 Limits the maximum stat group name length in mcumgr requests, in bytes.
24 stat read commands. If a stat group's name exceeds this limit, it will
Dpkg.yml20 pkg.name: cmd/stat_mgmt
/mcumgr-2.7.6/cmd/stat_mgmt/port/zephyr/src/
Dzephyr_stat_mgmt.c51 const char *name, uint16_t off) in zephyr_stat_mgmt_walk_cb() argument
73 entry.name = name; in zephyr_stat_mgmt_walk_cb()
/mcumgr-2.7.6/
DREADME-mynewt.md31 …e, your project can be built using the usual `newt build <target-name>` or `newt run <target-name>`
Drepository.yml20 repo.name: apache-mynewt-mcumgr
/mcumgr-2.7.6/cmd/stat_mgmt/port/mynewt/src/
Dmynewt_stat_mgmt.c61 char *name, uint16_t off) in mynewt_stat_mgmt_walk_cb() argument
83 entry.name = name; in mynewt_stat_mgmt_walk_cb()
/mcumgr-2.7.6/cmd/stat_mgmt/src/
Dstat_mgmt.c55 err |= cbor_encode_text_stringz(enc, entry->name); in stat_mgmt_cb_encode()
78 .attribute = "name", in stat_mgmt_show()
94 err |= cbor_encode_text_stringz(&ctxt->encoder, "name"); in stat_mgmt_show()
131 /* Iterate the list of stat groups, encoding each group's name in the CBOR in stat_mgmt_list()
/mcumgr-2.7.6/samples/smp_svr/zephyr/
Dsample.yaml3 name: smp svr
/mcumgr-2.7.6/samples/smp_svr/mynewt/src/
Dmain.c106 const char *name; in smp_svr_advertise() local
120 * o Device name. in smp_svr_advertise()
140 name = ble_svc_gap_device_name(); in smp_svr_advertise()
141 fields.name = (uint8_t *)name; in smp_svr_advertise()
142 fields.name_len = strlen(name); in smp_svr_advertise()
318 /* Set the default device name. */ in main()
/mcumgr-2.7.6/cborattr/include/cborattr/
Dcborattr.h63 char *name; member
162 const char *attribute; /** The attribute name (key). */
173 * CBOR_STRUCT_OBJECT takes a structure name s, and a fieldname f in s.
175 * CBOR_STRUCT_ARRAY takes the name of a structure array, a pointer to a an
/mcumgr-2.7.6/samples/omp_svr/mynewt/src/
Dmain.c88 static int test_conf_export(void (*export_func)(char *name, char *val),
138 test_conf_export(void (*func)(char *name, char *val), enum conf_export_tgt tgt) in test_conf_export() argument
189 const char *name; in omp_svr_advertise() local
203 * o Device name. in omp_svr_advertise()
223 name = ble_svc_gap_device_name(); in omp_svr_advertise()
224 fields.name = (uint8_t *)name; in omp_svr_advertise()
225 fields.name_len = strlen(name); in omp_svr_advertise()
518 /* Set the default device name. */ in main()
/mcumgr-2.7.6/util/
Dpkg.yml20 pkg.name: util
/mcumgr-2.7.6/omp/port/mynewt/
Dpkg.yml20 pkg.name: omp/port/mynewt
/mcumgr-2.7.6/cmd/fs_mgmt/port/mynewt/
Dpkg.yml20 pkg.name: cmd/fs_mgmt/port/mynewt
/mcumgr-2.7.6/cmd/fs_mgmt/
Dpkg.yml20 pkg.name: cmd/fs_mgmt
/mcumgr-2.7.6/cborattr/
Dpkg.yml20 pkg.name: cborattr
/mcumgr-2.7.6/cmd/stat_mgmt/port/mynewt/
Dpkg.yml20 pkg.name: cmd/stat_mgmt/port/mynewt
/mcumgr-2.7.6/mgmt/
Dpkg.yml20 pkg.name: mgmt
/mcumgr-2.7.6/cmd/log_mgmt/port/mynewt/
Dpkg.yml20 pkg.name: cmd/log_mgmt/port/mynewt
/mcumgr-2.7.6/cmd/os_mgmt/port/mynewt/
Dpkg.yml20 pkg.name: cmd/os_mgmt/port/mynewt

12