microsoft / jacdac

Device and service catalogs for Jacdac.
https://aka.ms/jacdac
Creative Commons Attribution 4.0 International
66 stars 25 forks source link

`reset_in` not keeping to time #688

Closed jamesadevine closed 3 years ago

jamesadevine commented 3 years ago

Devices reset due to the dashboard not keeping up with reset_in packets:

Screenshot 2021-09-23 at 21 15 14

Trace attached trace.jd (2).txt

pelikhan commented 3 years ago

Are there too many packets?

pelikhan commented 3 years ago

sending every announce now https://github.com/microsoft/jacdac-ts

pelikhan commented 3 years ago

@jamesadevine could you give more details about this issue. "not keeping up"?

jamesadevine commented 3 years ago

It looked like the reset in 2s was sent and then 3-4 seconds later the next reset in 2s was sent. I thought this might be why the rotary module is resetting.

pelikhan commented 3 years ago

We are now sending reset every anounce packets. Let's test again on the next hack.

Use "grouping:false" in the packet editor to disable packet grouping which might be messing with your head here.