{"action":"created","issue":{"url":"https://api.github.com/repos/JiriBilek/WiFiSpi/issues/13","repository_url":"https://api.github.com/repos/JiriBilek/WiFiSpi","labels_url":"https://api.github.com/repos/JiriBilek/WiFiSpi/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/JiriBilek/WiFiSpi/issues/13/comments","events_url":"https://api.github.com/repos/JiriBilek/WiFiSpi/issues/13/events","html_url":"https://github.com/JiriBilek/WiFiSpi/issues/13","id":394857860,"node_id":"MDU6SXNzdWUzOTQ4NTc4NjA=","number":13,"title":"Problem with 3 second delay when calling WiFiSpiServer::avaliable()","user":{"login":"m0rt3nlund","id":2767844,"node_id":"MDQ6VXNlcjI3Njc4NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2767844?v=4","gravatar_id":"","url":"https://api.github.com/users/m0rt3nlund","html_url":"https://github.com/m0rt3nlund","followers_url":"https://api.github.com/users/m0rt3nlund/followers","following_url":"https://api.github.com/users/m0rt3nlund/following{/other_user}","gists_url":"https://api.github.com/users/m0rt3nlund/gists{/gist_id}","starred_url":"https://api.github.com/users/m0rt3nlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0rt3nlund/subscriptions","organizations_url":"https://api.github.com/users/m0rt3nlund/orgs","repos_url":"https://api.github.com/users/m0rt3nlund/repos","events_url":"https://api.github.com/users/m0rt3nlund/events{/privacy}","received_events_url":"https://api.github.com/users/m0rt3nlund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-30T09:15:11Z","updated_at":"2018-12-30T23:09:42Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nI am having a problem that creates a 3000ms delay when calling WiFiSpiServer::avaliable() in my STM32 run loop.\r\nIs this a known problem with the ESP? I have traced it all the way to ServerSpiDrv::getClientState and it is in the EspSpiDrv::waitResponseCmd the delay is created. I would guess the ESP does not respond before 3 seconds inside the function ServerSpiDrv::cmdGetClientStateTcp.\r\nThis creates a 3 second delay every time my loop is ran so the application gets a \"bit\" slow :-P\r\n\r\nHope to here from you as besides this the library is getting really good! :-D\r\n\r\nThank you,\r\nMorten Lund"},"comment":{"url":"https://api.github.com/repos/JiriBilek/WiFiSpi/issues/comments/450593113","html_url":"https://github.com/JiriBilek/WiFiSpi/issues/13#issuecomment-450593113","issue_url":"https://api.github.com/repos/JiriBilek/WiFiSpi/issues/13","id":450593113,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU5MzExMw==","user":{"login":"m0rt3nlund","id":2767844,"node_id":"MDQ6VXNlcjI3Njc4NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2767844?v=4","gravatar_id":"","url":"https://api.github.com/users/m0rt3nlund","html_url":"https://github.com/m0rt3nlund","followers_url":"https://api.github.com/users/m0rt3nlund/followers","following_url":"https://api.github.com/users/m0rt3nlund/following{/other_user}","gists_url":"https://api.github.com/users/m0rt3nlund/gists{/gist_id}","starred_url":"https://api.github.com/users/m0rt3nlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0rt3nlund/subscriptions","organizations_url":"https://api.github.com/users/m0rt3nlund/orgs","repos_url":"https://api.github.com/users/m0rt3nlund/repos","events_url":"https://api.github.com/users/m0rt3nlund/events{/privacy}","received_events_url":"https://api.github.com/users/m0rt3nlund/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T23:09:42Z","updated_at":"2018-12-30T23:09:42Z","author_association":"NONE","body":"I also appears it is not always just WiFiSpiServer::avaliable() but it is also WifiSpiClient::status, but if I am correct both these functions uses the same function: ServerSpiDrv::getClientState to retrive the client status?\r\n\r\nIt also easier to reproduce if there is no clients connected, right after boot."}}
{"actor":{"display_login":"m0rt3nlund"}}