AWSIoTSubscribe (topic 80chars and greater)

ajvr
2023-02-13
2023-02-22
  • ajvr - 2023-02-13

    Hello,

    since a couple of weeks i am using 'codesysIOT' librarys. i use the AWS functionality. it works great. but now i have a problem, the subscribe doesnt work with a topic with a lenght of 90 chars. does anyone have the same experience?

    it seems that somewhere in the fb the string is used which is declared with no length. so it is set at 80 chars.

    kind regards,
    Ardjan

     
  • nothinrandom - 2023-02-21

    Try to downgrade the MQTT Client SL to 1.1.0.0, which is the last known good working version. CoDeSys posted on their store that 1.3.0.0 is supposed to fix this issue, but it looks like not yet.

    MQTT Client SL-1.3.0.0
        Important Bugfix (for topics > 80 chars)
        Bugfix (AsyncProperty)
        Improved error handling of the subscriber FB
    
     
    πŸ‘
    1
  • ajvr - 2023-02-21

    Thanks you very much. that version works good.

    but how do you now that this is the last known good working version?
    I've read the release notes, but I can't read that there.

    the bug has also been reported to codesys by the PLC supplier.

     

Log in to post a comment.