{"action":"opened","issue":{"url":"https://api.github.com/repos/eblot/pyftdi/issues/156","repository_url":"https://api.github.com/repos/eblot/pyftdi","labels_url":"https://api.github.com/repos/eblot/pyftdi/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/eblot/pyftdi/issues/156/comments","events_url":"https://api.github.com/repos/eblot/pyftdi/issues/156/events","html_url":"https://github.com/eblot/pyftdi/issues/156","id":523860412,"node_id":"MDU6SXNzdWU1MjM4NjA0MTI=","number":156,"title":"Questions to `Ftdi.set_line_property` and `Ftdi.set_flowctrl`","user":{"login":"friedrichromstedt","id":130059,"node_id":"MDQ6VXNlcjEzMDA1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/130059?v=4","gravatar_id":"","url":"https://api.github.com/users/friedrichromstedt","html_url":"https://github.com/friedrichromstedt","followers_url":"https://api.github.com/users/friedrichromstedt/followers","following_url":"https://api.github.com/users/friedrichromstedt/following{/other_user}","gists_url":"https://api.github.com/users/friedrichromstedt/gists{/gist_id}","starred_url":"https://api.github.com/users/friedrichromstedt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedrichromstedt/subscriptions","organizations_url":"https://api.github.com/users/friedrichromstedt/orgs","repos_url":"https://api.github.com/users/friedrichromstedt/repos","events_url":"https://api.github.com/users/friedrichromstedt/events{/privacy}","received_events_url":"https://api.github.com/users/friedrichromstedt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-16T15:46:08Z","updated_at":"2019-11-16T15:46:08Z","closed_at":null,"author_association":"NONE","body":"The docs of my FTDI chip from the vendor of my device request the following configuration:\r\n\r\n*   Baudrate 9600;\r\n*   8 data bits, 1 stop bit, no parity;\r\n*   no handshake;\r\n*   no flow control.\r\n\r\nFrom the docs of the class `Ftdi` on http://eblot.github.io/pyftdi/api/ftdi.html I see that:\r\n\r\n*   The baudrate can be set by the method `set_baudrate`;\r\n*   the number of data bits, the stop bit and the parity can be set by method `set_line_property`;\r\n*   the flowcontrol mode can be set by method `set_flowctrl`;\r\n*   regarding the handshake I couldn't find a method.\r\n\r\nI have a couple of questions and comments related to this:\r\n\r\n- [ ] For method `set_line_property`: The *stopbit* count is documented as a *float*; why not as an integer?\r\n- [ ] Furthermore, the bullet list of the section starting with \"Parity accepts one of the following strings:\" in the docs of `set_line_property` probably has not been written in the ReST source with a blank line between the \"... following strings:\" sentence and the list, leading to just a paragraph containing asterisks.\r\n- [ ] Method `set_flowctrl`: The docs of the *flowctrl* argument somehow looks messy: it says something like `one of 'hw', ''`. How do I request \"no flow control\" as requested by my vendor? From the rest of the method's documentation I see that the options should embrace *hardware*, *software* and *no* flow control.\r\n- [ ] The `.. note::` directive in the body of the documentation of `set_flowctrl` looks like if the space between `..` and `note::` has been forgotten.\r\n- [ ] What about the *handshake*?"}}
{"actor":{"display_login":"friedrichromstedt"}}