{"action":"created","issue":{"url":"https://api.github.com/repos/jeelabs/esp-link/issues/46","labels_url":"https://api.github.com/repos/jeelabs/esp-link/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/jeelabs/esp-link/issues/46/comments","events_url":"https://api.github.com/repos/jeelabs/esp-link/issues/46/events","html_url":"https://github.com/jeelabs/esp-link/issues/46","id":106036180,"number":46,"title":"Can't send more than ~2140 characters at 115200","user":{"login":"poleguy","id":13422719,"avatar_url":"https://avatars.githubusercontent.com/u/13422719?v=3","gravatar_id":"","url":"https://api.github.com/users/poleguy","html_url":"https://github.com/poleguy","followers_url":"https://api.github.com/users/poleguy/followers","following_url":"https://api.github.com/users/poleguy/following{/other_user}","gists_url":"https://api.github.com/users/poleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/poleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poleguy/subscriptions","organizations_url":"https://api.github.com/users/poleguy/orgs","repos_url":"https://api.github.com/users/poleguy/repos","events_url":"https://api.github.com/users/poleguy/events{/privacy}","received_events_url":"https://api.github.com/users/poleguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-11T15:40:19Z","updated_at":"2015-09-11T16:34:54Z","closed_at":null,"body":"I am trying to use your esp-link in transparent mode to replace a serial port. The port presents a prompt and I send a dump command. It seems to work okay until the dump returns about 2140 characters. At this point I lose the final characters of the dump. Is this expected?\r\n\r\nI do see the final characters and prompt correctly on the microcontroller console.\r\n\r\nI suspect this is a flow control issue. I don't see any debug messages. I'm using V1.0.1 on a ESP-01\r\n\r\nI read your blog, but I don't see any reason why a large packet coming from the UART side would cause flow control issues. Any idea?\r\n\r\nIf this is hopeless I'd like to know, otherwise I might have a look at the code and try to fix it myself."},"comment":{"url":"https://api.github.com/repos/jeelabs/esp-link/issues/comments/139593079","html_url":"https://github.com/jeelabs/esp-link/issues/46#issuecomment-139593079","issue_url":"https://api.github.com/repos/jeelabs/esp-link/issues/46","id":139593079,"user":{"login":"tve","id":39480,"avatar_url":"https://avatars.githubusercontent.com/u/39480?v=3","gravatar_id":"","url":"https://api.github.com/users/tve","html_url":"https://github.com/tve","followers_url":"https://api.github.com/users/tve/followers","following_url":"https://api.github.com/users/tve/following{/other_user}","gists_url":"https://api.github.com/users/tve/gists{/gist_id}","starred_url":"https://api.github.com/users/tve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tve/subscriptions","organizations_url":"https://api.github.com/users/tve/orgs","repos_url":"https://api.github.com/users/tve/repos","events_url":"https://api.github.com/users/tve/events{/privacy}","received_events_url":"https://api.github.com/users/tve/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T16:34:54Z","updated_at":"2015-09-11T16:34:54Z","body":"I looked at the code and it's not a trivial change, i.e., not something I can do in 10 minutes and make available. I'll try to get to it this evening (west coast time).\r\nThe underlying error is that I reset the buffer to empty after calling \"send\" but in fact, if the buffer can't be transmitted in one packet (e.g. 1420 bytes) then the SDK expects the buffer to remain untouched until it can send the remainder. (That's all part of the non-documented 'fun' stuff...)"}}