• Thanks for the tip. Until now the data I have sent was "simple text". If the text would contain newlines, single or double quotes, backticks, etc I'm sure that I'm in trouble.

    I am searching for a reliable way to provide a Bangle app with data from "the internet", and wanted to try this.

    My current code sends 4 short textfiles to the Bangle, every minute via a crontab. Added a short delay after each 20-byte chunk, without it I ran into several "FIFO FULL" errors.

    Work reasonable reliable, during a 1 hour test I had no fails.

    But sometimes:

    • I get a "connection failed"
    • while transferring data something goes wrong. data is garbled, and the Bangle gets confused because it does not recognise valid commands anymore. And the picture on the Bangle screen is shifted 50% to the left. Looks like a memory error of some sort. Maybe the 0.05 second delay is too small, and causes a memory error.

    So I'm not out of the woods yet, but had fun learning.

    Thanks for this wonderfull project!

About

Avatar for gerardwr @gerardwr started