Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How to adjust Maximun packet size in the parameter list? (MQTT)

androidzz
2022-10-28
2022-11-07
  • androidzz - 2022-10-28

    Hello,

    In my application, we want to adjust the maximum packet size we can send to the mqtt broker to 128KB. I found that the current packet size is 4096. See image. I have tried to adjust this parameter, see highlighted part in the other image, but I constantly get an [AccessViolation] from the "CheckPoint" function. see image acces violation.

    Does somebody has an solution on how to adjust this packetsize?

    Kind Regards

     
  • i-campbell

    i-campbell - 2022-10-28

    Add MQTT library to the root of your Application.Library Manager. Browse to the parameter in Library Manager. Here it is editable.

     
  • androidzz - 2022-11-07

    Sorry for the late respone, i was out of office.

    I have installed the library maneger with the specific liberary in the root of my application see image in attachment. When i browse to the parameter in the library (online and offline) i'm not able to edit the parameter. neither through the library manager or thourgh the plc program (see my initial post). Am I missing something?

     

    Last edit: androidzz 2022-11-07

Log in to post a comment.