On Tue, May 2, 2017 at 6:26 AM, David Howlett <[email protected]> wrote:
> I couldn't easily find documentation on how to enable flow control on the > beaglebone side so I chose to add a CRC32 checksum to each line. The data > now looks like: > > This is not really so much a beaglebone thing, and more of a Linux thing. The problem is documentation. As in it exists, but one part of the equation does not necessarily have anything to do with the other. As such, it's hard to find information if you know nothing about what you're looking for. Trust me, I've been using Debian nearly since it's first release, and I personally do not know how this is to be done from hands on experience. However, I can shed some light on the subject whcih should allow you to experiment on your own, and have something working fairly quickly if you have a decent amount of experience with Linux in general. First, you're going to need to learn how to use systemd, and specifically, you're going ot need to learn how to create, and use a startup service. Second, you need a tool that is capable of working with serial devices at a "low level". Such as: https://manpages.debian.org/jessie/coreutils/stty.1.en.html and specifically this setting: [-]ixonenable XON/XOFF flow control Then it's just a matter of using this tool properly form within the service, or perhaps calling a script from the service, that sets the serial port exactly how you want. You'll have to experiment to get things exactly how you want / need. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORq%2BqyhmpZ4-HyG2ORjnzujGrhhKETbv2_CRWzz3Hck%2B5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
