Home
last modified time | relevance | path

Searched refs:messages (Results 1 – 25 of 33) sorted by relevance

12

/openthread-latest/tests/unit/
Dtest_message_queue.cpp108 Message *messages[kNumTestMessages]; in TestMessageQueue() local
116 for (Message *&msg : messages) in TestMessageQueue()
125 messageQueue.Enqueue(*messages[0]); in TestMessageQueue()
126 VerifyMessageQueueContent(messageQueue, 1, messages[0]); in TestMessageQueue()
127 messageQueue.Dequeue(*messages[0]); in TestMessageQueue()
131 messageQueue.Enqueue(*messages[0], MessageQueue::kQueuePositionHead); in TestMessageQueue()
132 VerifyMessageQueueContent(messageQueue, 1, messages[0]); in TestMessageQueue()
133 messageQueue.Dequeue(*messages[0]); in TestMessageQueue()
137 messageQueue.Enqueue(*messages[0]); in TestMessageQueue()
138 VerifyMessageQueueContent(messageQueue, 1, messages[0]); in TestMessageQueue()
[all …]
/openthread-latest/tests/scripts/thread-cert/
Dv1_2_test_parent_selection.py133 messages = self.simulator.get_messages_sent_by(ROUTER_1_1)
134 parent_prefer = messages.next_mle_message(mle.CommandType.PARENT_RESPONSE)
137 messages = self.simulator.get_messages_sent_by(LEADER_1_2)
138 parent_cmp = messages.next_mle_message(mle.CommandType.PARENT_RESPONSE)
146 messages = self.simulator.get_messages_sent_by(REED_1_2)
147 msg = messages.next_mle_message(mle.CommandType.CHILD_ID_REQUEST)
165 messages = self.simulator.get_messages_sent_by(LEADER_1_2)
168 assert messages.next_mle_message(mle.CommandType.PARENT_RESPONSE)
170 parent_prefer = messages.next_mle_message(mle.CommandType.PARENT_RESPONSE)
173 messages = self.simulator.get_messages_sent_by(REED_1_2)
[all …]
Dmessage.py364 def __init__(self, messages, commissioning_messages=()): argument
365 self._messages = messages
369 def messages(self): member in MessagesSet
387 while self.messages:
388 m = self.messages.pop(0)
419 size = len(self.messages)
422 m = self.messages[i]
451 while self.messages:
452 m = self.messages.pop(0)
471 message = self.messages.pop(0)
[all …]
Dsniffer.py102 messages = self._message_factory.create(io.BytesIO(data))
103 self.logger.debug("Received messages: {}".format(messages))
104 for msg in messages:
151 messages = []
154 messages.append(bucket.get_nowait())
156 return message.MessagesSet(messages)
Dv1_2_test_backbone_router_service.py187 messages = self.simulator.get_messages_sent_by(BBR_2)
188 msg = messages.next_coap_message('0.02', '/a/sd', False)
202 messages = self.simulator.get_messages_sent_by(BBR_1)
203 messages.next_coap_message('0.02', '/a/sd', True)
221 messages = self.simulator.get_messages_sent_by(BBR_1)
222 messages.next_coap_message('0.02', '/a/sd', True)
Dv1_2_test_domain_unicast_address.py148 messages = self.simulator.get_messages_sent_by(node)
149 msg = messages.next_mle_message(mle.CommandType.CHILD_UPDATE_REQUEST)
211 messages = self.simulator.get_messages_sent_by(MED_1_2)
227 messages = self.simulator.get_messages_sent_by(MED_1_2)
240 messages = self.simulator.get_messages_sent_by(MED_1_2)
278 messages = self.simulator.get_messages_sent_by(MED_1_2)
Dsimulator.py103 messages = self._sniffer.get_messages_sent_by(nodeid).messages
104 ret = message.MessagesSet(messages, self.commissioning_messages[nodeid])
201 messages = self._message_factory.create(io.BytesIO(message_obj))
202 self.devices[addr]['msgs'] += messages
229 messages = self.devices[addr]['msgs']
232 ret = message.MessagesSet(messages, self.commissioning_messages[nodeid])
Dv1_2_test_multicast_registration.py162 messages = self.simulator.get_messages_sent_by(node)
164 msg = messages.next_mle_message(mle.CommandType.CHILD_UPDATE_REQUEST,
Dv1_2_test_domain_unicast_address_registration.py170 messages = self.simulator.get_messages_sent_by(node)
172 msg = messages.next_coap_message('0.02', '/n/dr', False)
Dv1_2_test_multicast_listener_registration.py670 messages = self.simulator.get_messages_sent_by(self.pbbr_id)
671 logging.info("PBBR %d messages: %s", self.pbbr_id, messages)
674 msg = messages.next_coap_message('2.04')
682 messages = self.simulator.get_messages_sent_by(id)
685 msg = messages.next_coap_message('0.02', '/n/mr', assert_enabled=False)
Ddtls.py620 messages = []
643 messages.append(content_class.from_bytes(fragment_data))
645 return messages
/openthread-latest/src/cli/
DREADME_COMMISSIONER.md58 - mask: Bitmask identifying channels to send MLE Announce messages.
80 The contents of `MGMT_ED_REPORT` messages (i.e. Channel Mask and Energy List) are printed as they a…
176 The contents of `MGMT_PANID_CONFLICT` messages (i.e. PAN ID and Channel Mask) are printed as they a…
234 This command will cause the device to send `LEAD_PET` and `LEAD_KA` messages.
263 This command will cause the device to send `LEAD_KA[Reject]` messages.
DREADME.md491 - The first number shows number messages in the queue.
492 - The second number shows number of buffers used by all messages in the queue.
493 - The third number shows total number of bytes of all messages in the queue.
1296 - `srv_txt_sep`: Query in parallel for SRV and TXT using separate messages.
1324 - `srv_txt_sep`: Query in parallel for SRV and TXT using separate messages.
1643 Send fake Thread messages.
2175 Specifies filename to capture otPlatLog() messages, useful when debugging automated test scripts on…
2343 - Number of queued messages (in case the child is sleepy)
3724 Enable/disable filter that drops UDP messages sent to the TMF port from untrusted origin. Also get …
3790 Each table row shows min and max time-in-queue (in milliseconds) followed by number of messages wit…
[all …]
DREADME_BR.md299 Sets additional options to append at the end of emitted Router Advertisement (RA) messages. `<optio…
310 …eviously set additional options to append at the end of emitted Router Advertisement (RA) messages.
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Drun-metatests.sh9 Expected output: a lot of scary-looking error messages, since each
/openthread-latest/third_party/mbedtls/repo/
DSECURITY.md30 packets, as well as suppressing or delaying legitimate messages, and injecting
31 messages.
37 messages will arrive without delay, as the TLS protocol doesn't guarantee that
D.pylintrc53 # many messages that use formatting and are below the log level).
/openthread-latest/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c218 queue->messages = (size_t *) mbedtls_calloc(capacity, sizeof(size_t)); in mbedtls_test_ssl_message_queue_setup()
219 if (NULL == queue->messages) { in mbedtls_test_ssl_message_queue_setup()
237 if (queue->messages != NULL) { in mbedtls_test_ssl_message_queue_free()
238 mbedtls_free(queue->messages); in mbedtls_test_ssl_message_queue_free()
257 queue->messages[place] = len; in mbedtls_test_ssl_message_queue_push_info()
273 message_length = queue->messages[queue->pos]; in mbedtls_test_ssl_message_queue_pop_info()
274 queue->messages[queue->pos] = 0; in mbedtls_test_ssl_message_queue_pop_info()
309 *msg_len = queue->messages[queue->pos]; in test_ssl_message_queue_peek_info()
/openthread-latest/third_party/mbedtls/repo/library/
Dcmac.c827 const unsigned char *messages, in cmac_test_wth_cipher() argument
850 if ((ret = mbedtls_cipher_cmac(cipher_info, key, keybits, messages, in cmac_test_wth_cipher()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_debug.function40 /* Detect if debug messages output partial lines and mark them */
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dssl_helpers.h144 size_t *messages; member
/openthread-latest/third_party/mbedtls/repo/docs/
Dtls13-early-data.md43 data sent during the first flight of client messages while the handshake is in
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dtls13-support.md405 context to prepare for the next incoming and outgoing messages. This stage is
407 as handshake messages checksum update.
429 context to prepare for the next incoming and outgoing messages. This stage is
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dtesting.md21 However, when it comes to TLS, we also have the option of using debug messages
/openthread-latest/tests/toranj/
DREADME_NCP.md237 `wpan.Node` method `prepare_rx()` prepares a node to listen for UDP messages from a sender.
258 Sending 10 messages containing `"Hello there!"` from `node1` to `node2` using their mesh-local addr…

12