{"action":"created","issue":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/805","repository_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/805/labels{/name}","comments_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/805/comments","events_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/805/events","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/issues/805","id":170791175,"number":805,"title":"Make WiFi Driver More Robust Against Message Send Failures","user":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels/Kickstarter%20Deliverable","name":"Kickstarter Deliverable","color":"bfe5bf"},{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels/RaceCapture","name":"RaceCapture","color":"0052cc"},{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/labels/RC-Required","name":"RC-Required","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones/10","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/milestones/2.10.0","labels_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/milestones/10/labels","id":1578425,"number":10,"title":"2.10.0","description":"Next new feature release.","creator":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":191,"state":"open","created_at":"2016-02-11T20:22:49Z","updated_at":"2016-08-16T19:01:31Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-12T03:13:10Z","updated_at":"2016-08-16T19:48:03Z","closed_at":null,"body":"Seems that when we fail to send a message we put ourselves into a state where we can not recover.  Case in point:\r\n\r\n```\r\n[serial (WiFi)] RX: SEND OK(\\r)(\\n)\r\n[serial (WiFi)] TX: AT+CIPSEND=0,96(\\r)(\\n)\r\n[serial (WiFi)] RX: (\\r)(\\n)\r\n[serial (WiFi)] RX: OK(\\r)(\\n)\r\n[serial (WiFi)] TX: {\"beacon\":{\"name\":\"RCT\",\"port\":7223,\"serial\":\"34002D001257334330313020\",\"ip\":[\"192.168.4.1\"]}}(\\r)(\\n)\r\n[serial (WiFi)] RX: > (\\r)(\\n)\r\n[serial (WiFi)] RX: Recv 96 bytes(\\r)(\\n)\r\n[serial (WiFi)] RX: (\\r)(\\n)\r\n[serial (WiFi)] RX: SEND OK(\\r)(\\n)\r\n[serial (WiFi)] TX: AT+CIPSEND=0,96(\\r)(\\n)[at] Command timed out\r\n[esp8266] send_data_cb failed with msg: Bad response value\r\n[ESP8266 Driver] Failed to send data\r\n\r\n[serial (WiFi)] TX: AT+CIPSEND=0,160(\\r)(\\n)\r\n[serial (WiFi)] RX: �����������������������������������������������������������������������������������������������������������������������������������������������������������t\r\n[esp8266] send_data_cb failed with msg: Bad response value\r\n[ESP8266 Driver] Failed to send data\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n[wifi] Event overflow: Beacon\r\n```\r\n\r\nThis was after sitting for 20 seconds.  We need to be able to handle this sort of invalid return value from the driver and move on with our lives."},"comment":{"url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/comments/240216339","html_url":"https://github.com/autosportlabs/RaceCapture-Pro_firmware/issues/805#issuecomment-240216339","issue_url":"https://api.github.com/repos/autosportlabs/RaceCapture-Pro_firmware/issues/805","id":240216339,"user":{"login":"stieg","id":141519,"avatar_url":"https://avatars.githubusercontent.com/u/141519?v=3","gravatar_id":"","url":"https://api.github.com/users/stieg","html_url":"https://github.com/stieg","followers_url":"https://api.github.com/users/stieg/followers","following_url":"https://api.github.com/users/stieg/following{/other_user}","gists_url":"https://api.github.com/users/stieg/gists{/gist_id}","starred_url":"https://api.github.com/users/stieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stieg/subscriptions","organizations_url":"https://api.github.com/users/stieg/orgs","repos_url":"https://api.github.com/users/stieg/repos","events_url":"https://api.github.com/users/stieg/events{/privacy}","received_events_url":"https://api.github.com/users/stieg/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T19:48:03Z","updated_at":"2016-08-16T19:48:03Z","body":"Issue for this is tracked by the PR #813 "}}
{"actor":{"display_login":"stieg"}}