Home
last modified time | relevance | path

Searched refs:event (Results 1 – 17 of 17) sorted by relevance

/openthread-3.6.0/examples/platforms/simulation/virtual_time/
Dplatform-sim.c96 struct Event event; in receiveEvent() local
97 ssize_t rval = recvfrom(sSockFd, (char *)&event, sizeof(event), 0, NULL, NULL); in receiveEvent()
105 platformAlarmAdvanceNow(event.mDelay); in receiveEvent()
107 switch (event.mEvent) in receiveEvent()
113 platformRadioReceive(aInstance, event.mData, event.mDataLength); in receiveEvent()
117 otPlatUartReceived(event.mData, event.mDataLength); in receiveEvent()
127 struct Event event; in platformSendSleepEvent() local
131 event.mDelay = platformAlarmGetNext(); in platformSendSleepEvent()
132 event.mEvent = OT_SIM_EVENT_ALARM_FIRED; in platformSendSleepEvent()
133 event.mDataLength = 0; in platformSendSleepEvent()
[all …]
/openthread-3.6.0/src/posix/platform/
Dvirtual_time.cpp140 struct VirtualTimeEvent event; in virtualTimeSendSleepEvent() local
142 event.mDelay = (uint64_t)aTimeout->tv_sec * kUsPerSecond + (uint64_t)aTimeout->tv_usec; in virtualTimeSendSleepEvent()
143 event.mEvent = OT_SIM_EVENT_ALARM_FIRED; in virtualTimeSendSleepEvent()
144 event.mDataLength = 0; in virtualTimeSendSleepEvent()
146 virtualTimeSendEvent(&event, offsetof(struct VirtualTimeEvent, mData)); in virtualTimeSendSleepEvent()
151 struct VirtualTimeEvent event; in virtualTimeSendRadioSpinelWriteEvent() local
153 event.mDelay = 0; in virtualTimeSendRadioSpinelWriteEvent()
154 event.mEvent = OT_SIM_EVENT_RADIO_SPINEL_WRITE; in virtualTimeSendRadioSpinelWriteEvent()
155 event.mDataLength = aLength; in virtualTimeSendRadioSpinelWriteEvent()
157 memcpy(event.mData, aData, aLength); in virtualTimeSendRadioSpinelWriteEvent()
[all …]
Dhdlc_interface.cpp282 struct VirtualTimeEvent event; in WaitForFrame() local
288 virtualTimeReceiveEvent(&event); in WaitForFrame()
290 switch (event.mEvent) in WaitForFrame()
293 Decode(event.mData, event.mDataLength); in WaitForFrame()
297 VerifyOrExit(event.mDelay <= aTimeoutUs, error = OT_ERROR_RESPONSE_TIMEOUT); in WaitForFrame()
371 const VirtualTimeEvent *event = reinterpret_cast<const VirtualTimeEvent *>(aMainloopContext); in Process() local
373 assert(event != nullptr); in Process()
375 Decode(event->mData, event->mDataLength); in Process()
Dspi_interface.cpp717 struct gpioevent_data event; in Process() local
722 VerifyOrDie(read(mIntGpioValueFd, &event, sizeof(event)) != -1, OT_EXIT_ERROR_ERRNO); in Process()
/openthread-3.6.0/src/core/backbone_router/
Dbbr_leader.cpp221 DomainPrefixEvent event; in UpdateDomainPrefixConfig() local
239 event = kDomainPrefixRemoved; in UpdateDomainPrefixConfig()
243 event = kDomainPrefixUnchanged; in UpdateDomainPrefixConfig()
247 event = HasDomainPrefix() ? kDomainPrefixRefreshed : kDomainPrefixAdded; in UpdateDomainPrefixConfig()
251 …LogInfo("%s domain Prefix: %s", DomainPrefixEventToString(event), mDomainPrefix.ToString().AsCStri… in UpdateDomainPrefixConfig()
254 Get<Local>().HandleDomainPrefixUpdate(event); in UpdateDomainPrefixConfig()
256 Get<NdProxyTable>().HandleDomainPrefixUpdate(event); in UpdateDomainPrefixConfig()
261 Get<DuaManager>().HandleDomainPrefixUpdate(event); in UpdateDomainPrefixConfig()
263 OT_UNUSED_VARIABLE(event); in UpdateDomainPrefixConfig()
/openthread-3.6.0/src/cli/
DREADME_HISTORY.md39 For example `02:31:50.628` indicates the event was recorded "2 hours, 31 minutes, 50 seconds, and 6…
41 Timestamps use millisecond accuracy and are tacked up to 49 days. If the event is older than 49 day…
102 00:00:20.327 -> event:Removed address:2001:dead:beef:cafe:c4cb:caba:8d55:e30b prefixlen:64 origin:s…
103 00:00:59.983 -> event:Added address:2001:dead:beef:cafe:c4cb:caba:8d55:e30b prefixlen:64 origin:sla…
104 00:01:22.535 -> event:Added address:fd00:0:0:0:0:0:0:1 prefixlen:64 origin:manual scope:14 preferre…
105 00:02:33.221 -> event:Added address:fdde:ad00:beef:0:0:ff:fe00:fc00 prefixlen:64 origin:thread scop…
106 00:02:33.221 -> event:Added address:fdde:ad00:beef:0:0:ff:fe00:5400 prefixlen:64 origin:thread scop…
142 00:00:25.447 -> event:Unsubscribed address:ff05:0:0:0:0:0:0:1 origin:Manual
143 00:01:42.208 -> event:Subscribed address:ff05:0:0:0:0:0:0:1 origin:Manual
144 00:02:11.808 -> event:Subscribed address:ff03:0:0:0:0:0:0:2 origin:Thread
[all …]
/openthread-3.6.0/tests/scripts/thread-cert/
Dsimulator.py278 for event in self.event_queue:
279 print(event)
320 event = (event_time, self.event_sequence, addr, type, datalen)
323 bisect.insort(self.event_queue, event)
324 self.devices[addr]['alarm'] = event
345 event = (
355 bisect.insort(self.event_queue, event)
361 event = (
370 bisect.insort(self.event_queue, event)
383 event = (
[all …]
/openthread-3.6.0/src/core/net/
Dnetif.cpp405 Event event; in SignalUnicastAddressChange() local
409 event = (aEvent == kAddressAdded) ? kEventThreadRlocAdded : kEventThreadRlocRemoved; in SignalUnicastAddressChange()
413 event = (aEvent == kAddressAdded) ? kEventIp6AddressAdded : kEventIp6AddressRemoved; in SignalUnicastAddressChange()
416 Get<Notifier>().Signal(event); in SignalUnicastAddressChange()
/openthread-3.6.0/
DREADME.md19 … https://github.com/openthread/openthread/actions?query=workflow%3ABuild+branch%3Amain+event%3Apush
20 …ild-svg]: https://github.com/openthread/openthread/workflows/Build/badge.svg?branch=main&event=push
21 …s://github.com/openthread/openthread/actions?query=workflow%3ASimulation+branch%3Amain+event%3Apush
22 …vg]: https://github.com/openthread/openthread/workflows/Simulation/badge.svg?branch=main&event=push
23 …https://github.com/openthread/openthread/actions?query=workflow%3ADocker+branch%3Amain+event%3Apush
24 …er-svg]: https://github.com/openthread/openthread/workflows/Docker/badge.svg?branch=main&event=push
DCODE_OF_CONDUCT.md35 …icial social media account, or acting as an appointed representative at an online or offline event.
/openthread-3.6.0/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c455 int event; /* loop or event-driven IO? level or edge triggered? */ member
810 opt.event = DFL_EVENT; in main()
916 opt.event = atoi( q ); in main()
917 if( opt.event < 0 || opt.event > 2 ) in main()
1323 if( opt.event == 1 && opt.nbio != 1 ) in main()
2124 if( opt.event == 1 /* level triggered IO */ ) in main()
2403 if( opt.event == 1 /* level triggered IO */ ) in main()
2477 if( opt.event == 1 /* level triggered IO */ ) in main()
2508 if( opt.event == 1 /* level triggered IO */ ) in main()
2572 if( opt.event == 1 /* level triggered IO */ ) in main()
[all …]
Dssl_server2.c550 int event; /* loop or event-driven IO? level or edge triggered? */ member
1463 opt.event = DFL_EVENT; in main()
1574 opt.event = atoi( q ); in main()
1575 if( opt.event < 0 || opt.event > 2 ) in main()
2011 if( opt.event == 1 && opt.nbio != 1 ) in main()
3174 if( opt.event == 1 /* level triggered IO */ ) in main()
3441 if( opt.event == 1 /* level triggered IO */ ) in main()
3554 opt.event == 1 /* level triggered IO */ ) in main()
3612 if( opt.event == 1 /* level triggered IO */ ) in main()
3680 if( opt.event == 1 /* level triggered IO */ ) in main()
[all …]
/openthread-3.6.0/examples/platforms/simulation/
Dradio.c989 struct Event event; in radioTransmit()
991 event.mDelay = 1; // 1us for now in radioTransmit()
992 event.mEvent = OT_SIM_EVENT_RADIO_RECEIVED; in radioTransmit()
993 event.mDataLength = 1 + aFrame->mLength; // include channel in first byte in radioTransmit()
994 memcpy(event.mData, aMessage, event.mDataLength); in radioTransmit()
996 otSimSendEvent(&event); in radioTransmit()
/openthread-3.6.0/tests/toranj/
DREADME_CLI.md169 …ime speed-up factor) while the `thread-cert` scripts use virtual-time and event-based simulation m…
171 - `toranj` test cases are useful to validate the real-time (non event-based) simulation platform im…
172 - `toranj` test cases can be used in situations where the platform layer may not support event-base…
/openthread-3.6.0/src/core/thread/
Dmle_router.cpp1904 DuaManager::ChildDuaAddressEvent event; in ProcessAddressRegistrationTlv() local
1910event = (oldDua != address) ? DuaManager::kAddressChanged : DuaManager::kAddressUnchanged; in ProcessAddressRegistrationTlv()
1914 event = DuaManager::kAddressAdded; in ProcessAddressRegistrationTlv()
1917 Get<DuaManager>().HandleChildDuaAddressEvent(aChild, event); in ProcessAddressRegistrationTlv()
/openthread-3.6.0/third_party/mbedtls/repo/
DLICENSE154 8. Limitation of Liability. In no event and under no legal theory,
DChangeLog1831 underlying transport in case event-driven IO is used.
1859 in the internal buffers; these cases led to deadlocks when event-driven