Once the total command goes above 255 characters, remaining characters are ignored by NodeMCU and error is flagged.
I suspect based on reading UART documentation that the UART buffer limit is hit.
Does anyone have a way around that, where a LUA command can be broken into 2 pieces and 2nd command continues on the first etc.
Command looks like
sk3:send('POST /data HTTP/1.1\r\nContent-Length: 89\r\nContent-Type: text/plain\r\nHost: xxxx.xxxxxx.com\r\nConnection: close\r\n\r\na>>>>DATA>>>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
Total length is 272 characters.
Thanks
OS.