Home
last modified time | relevance | path

Searched full:record (Results 1 – 25 of 138) sorted by relevance

123456

/Zephyr-Core-3.4.0/subsys/net/lib/lwm2m/
Dlwm2m_rw_senml_cbor.c63 struct record *current;
82 /* Get the current record */
85 /* Get a record */
87 /* Consume the current record */
162 struct record *record = GET_CBOR_FD_REC(fd); in put_basename() local
164 record->_record_bn._record_bn.value = basename; in put_basename()
165 record->_record_bn._record_bn.len = len; in put_basename()
166 record->_record_bn_present = 1; in put_basename()
259 struct record *record = GET_CBOR_FD_REC(fd); in put_begin_r() local
261 record->_record_n._record_n.value = name; in put_begin_r()
[all …]
Dlwm2m_senml_cbor.cddl1 lwm2m_senml = [1* record]
3 record = {
Dlwm2m_senml_cbor_types.h117 struct record { struct
133 struct record _lwm2m_senml__record[DEFAULT_MAX_QTY];
Dlwm2m_senml_cbor.patch73 …*)decode_record, state, (&(*result)._lwm2m_senml__record), sizeof(struct record))) || (zcbor_list_…
74 …*)decode_record, state, (&(*result)._lwm2m_senml__record), sizeof(struct record))) || (zcbor_list_…
181 … *)encode_record, state, (&(*input)._lwm2m_senml__record), sizeof(struct record))) || (zcbor_list_…
182 … *)encode_record, state, (&(*input)._lwm2m_senml__record), sizeof(struct record))) || (zcbor_list_…
251 @@ -118,7 +130,7 @@ struct record {
255 - struct record _lwm2m_senml__record[99];
256 + struct record _lwm2m_senml__record[DEFAULT_MAX_QTY];
/Zephyr-Core-3.4.0/subsys/net/lib/dns/
Ddns_sd.h52 * @param[out] record the DNS-SD record to initialize and populate
62 int dns_sd_query_extract(const uint8_t *query, size_t query_size, struct dns_sd_rec *record,
68 * This function zero-initializes @p record and populates the appropriate
69 * fields so that @p record may be subsequently passed to @ref dns_sd_rec_match.
80 * @param[out] record the DNS-SD record to initialize and populate
92 size_t query_size, struct dns_sd_rec *record, char *service,
97 * @brief See if the DNS SD @p filter matches the @p record
133 * @param record The reference DNS-SD record
134 * @param filter The DNS-SD record filter
136 * @return true if the @p record matches the @p filter
[all …]
Ddns_sd.c65 * Resource Record (RR).
78 * @param ref the DNS-SD record
79 * @return the size of the DNS-SD service for a DNS Resource Record
281 * Check DNS SD Record for validity
717 * Instance Enumeration (subtype) PTR record in a response packet, the in dns_sd_handle_ptr_query()
720 * o The SRV record(s) named in the PTR rdata. in dns_sd_handle_ptr_query()
721 * o The TXT record(s) named in the PTR rdata. in dns_sd_handle_ptr_query()
723 * contain the SRV record(s), the TXT record(s), and the address in dns_sd_handle_ptr_query()
764 /* first add the answer record */ in dns_sd_handle_ptr_query()
913 bool dns_sd_rec_match(const struct dns_sd_rec *record, in dns_sd_rec_match() argument
[all …]
Dmdns_responder.c325 const struct dns_sd_rec *record; in send_sd_response() local
358 ARG_UNUSED(record); in send_sd_response()
393 * where the rdata of each PTR record is the two-label <Service> name, in send_sd_response()
400 DNS_SD_FOREACH(record) { in send_sd_response()
402 if (dns_sd_rec_match(record, &filter)) { in send_sd_response()
404 record->instance, record->service, in send_sd_response()
405 record->proto, record->domain, in send_sd_response()
406 ntohs(*(record->port))); in send_sd_response()
410 ret = dns_sd_handle_service_type_enum(record, addr4, addr6, in send_sd_response()
418 ret = dns_sd_handle_ptr_query(record, addr4, addr6, in send_sd_response()
/Zephyr-Core-3.4.0/include/zephyr/drivers/sensor/
Dgrow_r502a.h27 /** Add values to the sensor which are having record storage facility */
29 /** To find requested data in record storage */
31 /** To delete mentioned data from record storage */
33 /** To get available position to store data on record storage */
35 /** To empty the storage record*/
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/audio/src/
Dhas_client_test.c54 static void check_preset_record(const struct bt_has_preset_record *record, in check_preset_record() argument
58 if (record->properties != expected_properties || strcmp(record->name, expected_name)) { in check_preset_record()
60 record->properties, record->name, expected_properties, expected_name); in check_preset_record()
65 const struct bt_has_preset_record *record, bool is_last) in preset_read_rsp_cb() argument
72 if (record->index == test_preset_index_1) { in preset_read_rsp_cb()
75 check_preset_record(record, test_preset_properties, test_preset_name_1); in preset_read_rsp_cb()
76 } else if (record->index == test_preset_index_5) { in preset_read_rsp_cb()
79 check_preset_record(record, test_preset_properties, test_preset_name_5); in preset_read_rsp_cb()
81 FAIL("unexpected index 0x%02x", record->index); in preset_read_rsp_cb()
/Zephyr-Core-3.4.0/samples/tfm_integration/psa_crypto/src/
Dutil_app_cfg.h30 * @brief The version number for the stored config record.
43 * @brief Creates a new config record in secure storage.
50 * @brief Attempts to load the config record from secure storage. If the
51 * record is not found in secure storage, a new record will be created
Dutil_app_cfg.c15 /** The 64-bit UID associated with the config record in secure storage. */
22 * config record is created, or when the config record is reset.
42 * call which also creates the secure storage record if necessary, in cfg_create_data()
62 /* Check if the config record exists, if not create it. */ in cfg_load_data()
/Zephyr-Core-3.4.0/doc/_extensions/zephyr/
Dwarnings_filter.py50 def filter(self, record: logging.LogRecord) -> bool:
51 if record.levelno != logging.WARNING:
55 if re.match(expression, record.msg):
59 record.levelno = logging.INFO
60 record.msg = f"Filtered warning: {record.msg}"
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/
Dsdp.h286 /** @brief SDP Service Record Value. */
291 uint8_t index; /* Index of the record in LL */
343 * @brief SDP New Service Record Declaration Macro.
345 * Helper macro to declare a new service record.
346 * Default attributes: Record Handle, Record State,
439 * @param _attrs List of attributes for the service record.
449 /** @brief Register a Service Record.
451 * Register a Service Record. Applications can make use of
456 * @param service Service record declared using BT_SDP_DECLARE_SERVICE.
466 /* buffer containing unparsed SDP record result for given UUID */
[all …]
/Zephyr-Core-3.4.0/include/zephyr/net/
Ddns_sd.h101 * @param _id variable name for the DNS-SD service record
106 * @param _text information for the DNS TXT record
152 * @param id variable name for the DNS-SD service record
156 * @param text information for the DNS TXT record
183 * @param id variable name for the DNS-SD service record
187 * @param text information for the DNS TXT record
204 * @brief DNS Service Discovery record
230 /** DNS TXT record */
232 /** Size (in bytes) of the DNS TXT record */
256 * @param rec the record to in question
[all …]
/Zephyr-Core-3.4.0/tests/benchmarks/latency_measure/
Dtestcase.yaml18 record:
35 record:
/Zephyr-Core-3.4.0/subsys/bluetooth/host/
Dsdp.c90 /* buffer for collecting record data */
136 * @brief SDP service record iterator callback.
138 * @param rec Service record found.
141 * @return BT_SDP_ITER_CONTINUE if should continue to the next service record
410 /* @brief SDP service record iterator.
417 * @return Pointer to the record where the iterator stopped, or NULL if all
435 /* @brief Inserts a service record into a record pointer list
437 * Inserts a service record into a record pointer list
439 * @param rec The current service record.
440 * @param user_data Pointer to the destination record list.
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/services/ots/
Dots_dir_list_internal.h19 /** Maximum size of the Directory Listing Object Record. Table 4.1 in the OTS spec. */
28 * object record at a time so the buffer must be a multiple of object record length.
41 /** @brief Directory Listing record flag field. */
Dots_dir_list.c30 /* Record Length */ in dir_list_object_record_size()
83 /* skip 16bits at the beginning of the record for the record's length */ in dir_list_object_encode()
122 /* Update the record length at the beginning */ in dir_list_object_encode()
192 * the associated object that builds up the record. in bt_ots_dir_list_search()
Dots_client.c1581 LOG_WRN("incorrect DirListing record length %u, " in decode_record()
1588 LOG_WRN("incorrect DirListing record, reclen %u too short, " in decode_record()
1589 "includes only record length", in decode_record()
1604 LOG_WRN("incorrect DirListing record, reclen %u too short, " in decode_record()
1605 "includes only record length + ObjId", in decode_record()
1616 LOG_WRN("incorrect DirListing record, remaining length " in decode_record()
1624 LOG_WRN("Name length %u too long, invalid record", rec->name_len); in decode_record()
1636 LOG_WRN("incorrect DirListing record, reclen %u too short, " in decode_record()
1648 LOG_WRN("incorrect DirListing record, reclen %u " in decode_record()
1660 LOG_WRN("incorrect DirListing record, reclen %u " in decode_record()
[all …]
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/audio/
Dhas.h93 /** @brief Preset record definition */
140 * The record object as well as its members are temporary and must be copied to in order
145 * @param record Preset record or NULL on errors.
149 const struct bt_has_preset_record *record, bool is_last);
154 * The callback is called when the preset record update is notified by the remote server.
155 * The record object as well as its objects are temporary and must be copied to in order
160 * @param record Preset record.
164 const struct bt_has_preset_record *record, bool is_last);
/Zephyr-Core-3.4.0/tests/net/lib/dns_sd/src/
Dmain.c61 /** A completely invalid record */
82 * @param the type of DNS Resource Record to query
632 DNS_SD_REGISTER_TCP_SERVICE(record, in ZTEST()
661 zassert_equal(false, dns_sd_rec_match(&record, NULL), ""); in ZTEST()
662 zassert_equal(false, dns_sd_rec_match(&record, &filter_nok), ""); in ZTEST()
663 zassert_equal(true, dns_sd_rec_match(&record, &filter_ok), ""); in ZTEST()
756 struct dns_sd_rec record; in ZTEST() local
782 dns_sd_query_extract(query, ARRAY_SIZE(query), &record, label, size, &n), in ZTEST()
785 zassert_true(dns_sd_is_service_type_enumeration(&record), ""); in ZTEST()
796 DNS_SD_FOREACH(record) { in ZTEST()
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/shell/
Dhas_client.c47 const struct bt_has_preset_record *record, bool is_last) in has_client_preset_read_rsp_cb() argument
55 record->index, record->properties, record->name); in has_client_preset_read_rsp_cb()
/Zephyr-Core-3.4.0/tests/subsys/settings/functional/nvs/
Dsettings_test_nvs.c24 zassert_true(nvs_rc >= 0, "Can't read nvs record (err=%d).", rc); in ZTEST()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
DKconfig.has25 int "Preset record list size"
/Zephyr-Core-3.4.0/samples/net/dns_resolve/
DREADME.rst13 - If IPv4 is enabled, then A record for ``www.zephyrproject.org`` is
15 - If IPv6 is enabled, then AAAA record for ``www.zephyrproject.org`` is

123456