• Update on my previous post.

    • added the \x03\x10 back in
    • increased the delay between 20-byte chunks to 0.1 second

    The update Python code on RPi code has been running now for 3.5 hours.

    It transfers 4 small text textfiles (20-30 textlines each) every minute to Bangle storage, so that is 3.5*60*4 = 840 separate BLE connections

    • no more catastrofic errors like "garbled data" or "bangle screen shifted right 50%" or "FIFO FULL", my Bangle App keeps running flawless
    • appr. 88 times the BLE connection has failed, that's like 10%

    So it seems likes the suggestions are working :-)

    Next steps:

    • let it run overnight and look at the behaviour and the numbers
    • add code for reconnection if connect fails
    • think of a way to check whether the transfer was successful. That's a challenge considering the \x10 switches response from the Bangle OFF ;-)

    All in all, making progress.

About

Avatar for gerardwr @gerardwr started