Problem with 250 byte string - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Problem with 250 byte string (/showthread.php?tid=2180) |
Problem with 250 byte string - usyntax - 05.08.2019 Hello, Why logicmachine can't receive data more than 14 byte over rest api? Example: 1) I created 250 byte string group address in logicmachine 2) I find out rest api url: http://192.168.0.1/scada-remote?m=json&r=grp&fn=write&alias=0/0/72&value=asdsadsadxxvvzzwwyyuu&datatype=string 3) I send value which are more than 14 bytes (asdsadsadxxvvzzwwyyuu) and i get only 14 bytes - asdsadsadxxvvz. I know that KNX can send only maximum 14 bytes, but why logicmachine rest api can't send more than 14 bytes string? RE: Problem with 250 byte string - admin - 05.08.2019 Datatype parameter should be text instead of string. You can also remove it because it is optional. LM will use object datatype from the database if datatype is not set explicitly. |