{"action":"created","issue":{"url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/127","repository_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers","labels_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/127/comments","events_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/127/events","html_url":"https://github.com/modelica/Modelica_DeviceDrivers/issues/127","id":184410821,"number":127,"title":"Fallback for serial port if message is incomplete","user":{"login":"vwaurich","id":12234403,"avatar_url":"https://avatars.githubusercontent.com/u/12234403?v=3","gravatar_id":"","url":"https://api.github.com/users/vwaurich","html_url":"https://github.com/vwaurich","followers_url":"https://api.github.com/users/vwaurich/followers","following_url":"https://api.github.com/users/vwaurich/following{/other_user}","gists_url":"https://api.github.com/users/vwaurich/gists{/gist_id}","starred_url":"https://api.github.com/users/vwaurich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwaurich/subscriptions","organizations_url":"https://api.github.com/users/vwaurich/orgs","repos_url":"https://api.github.com/users/vwaurich/repos","events_url":"https://api.github.com/users/vwaurich/events{/privacy}","received_events_url":"https://api.github.com/users/vwaurich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-21T06:43:45Z","updated_at":"2016-10-21T07:01:15Z","closed_at":null,"body":"If you use serial port to communicate to external hardware, you have to ensure send and receive is synchronized. If both sample frequencies do not match very precisely, the received message might be incomplete every n samples and you get a strange step in the results. I have added to the win implementation a fallback buffer, that stores the last complete message to get rid of these steps.\r\nIf you are fine with that, I can have a look at the linux version, too.\r\nHave a look at:\r\nhttps://github.com/vwaurich/Modelica_DeviceDrivers/commit/12a9b7bda942a20894f83efafcf722f1b2ebc271\r\n"},"comment":{"url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/comments/255309085","html_url":"https://github.com/modelica/Modelica_DeviceDrivers/issues/127#issuecomment-255309085","issue_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/127","id":255309085,"user":{"login":"tbeu","id":5444067,"avatar_url":"https://avatars.githubusercontent.com/u/5444067?v=3","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T07:01:15Z","updated_at":"2016-10-21T07:01:15Z","body":"You forgot to free the backup buffer in MDD_serialPortDestructor."}}
{"actor":{"display_login":"tbeu"}}