# Saleae team - we would love samples of protocol captures!

**URL:** <https://discuss.saleae.com/t/saleae-team-we-would-love-samples-of-protocol-captures/520>\
**Category:** Uncategorized\
**Created:** [May 15, 2020, 10:48pm UTC](https://discuss.saleae.com/t/saleae-team-we-would-love-samples-of-protocol-captures/520 "2020-05-15T22:48:18Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![P.Jaquiery](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/p.jaquiery/32/289_2.png) [@P.Jaquiery](https://discuss.saleae.com/u/P.Jaquiery)\
**Post date:** [June 29, 2020, 11:10pm UTC](https://discuss.saleae.com/t/saleae-team-we-would-love-samples-of-protocol-captures/520/31 "2020-06-29T23:10:59Z")

</div>

Hi @huffman!

nice to see I’ve stirred some interest with my HLA and captures.

I’m sorry to say, but I agree that the generator approach doesn’t seem to lead to an elegant solution in this case. That may be I’m not really a Python user and not familiar with yield, but deeply nested code is generally regarded as a [code smell](https://en.wikipedia.org/wiki/Code_smell). I’d have thought at least the outermost loop could go away if you used “continue” instead of “break” in the first inner loop. 8 yealds scattered through the code doesn’t bode well for understanding either. 😁

My own HLA is a pretty mixed bag tailored very much for the hardware I’m working on at the moment. In particular, it ignores any TUSB422 registers that I’m not interested in, and decodes non-TUSB422 traffic for I/O expanders that are very project specific. I don’t think there would be any harm in it being in the public domain, but it may not be very useful to anyone else either.

---

_[View the full topic](https://discuss.saleae.com/t/saleae-team-we-would-love-samples-of-protocol-captures/520)._
