{"action":"opened","issue":{"url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device/issues/34","repository_url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device","labels_url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device/issues/34/comments","events_url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device/issues/34/events","html_url":"https://github.com/maxtat3/CSD_Cylindrical_Scanner_Device/issues/34","id":392160956,"node_id":"MDU6SXNzdWUzOTIxNjA5NTY=","number":34,"title":"Улучшение протокола обмена ","user":{"login":"maxtat3","id":12572241,"node_id":"MDQ6VXNlcjEyNTcyMjQx","avatar_url":"https://avatars1.githubusercontent.com/u/12572241?v=4","gravatar_id":"","url":"https://api.github.com/users/maxtat3","html_url":"https://github.com/maxtat3","followers_url":"https://api.github.com/users/maxtat3/followers","following_url":"https://api.github.com/users/maxtat3/following{/other_user}","gists_url":"https://api.github.com/users/maxtat3/gists{/gist_id}","starred_url":"https://api.github.com/users/maxtat3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxtat3/subscriptions","organizations_url":"https://api.github.com/users/maxtat3/orgs","repos_url":"https://api.github.com/users/maxtat3/repos","events_url":"https://api.github.com/users/maxtat3/events{/privacy}","received_events_url":"https://api.github.com/users/maxtat3/received_events","type":"User","site_admin":false},"labels":[{"id":297945742,"node_id":"MDU6TGFiZWwyOTc5NDU3NDI=","url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":1160377821,"node_id":"MDU6TGFiZWwxMTYwMzc3ODIx","url":"https://api.github.com/repos/maxtat3/CSD_Cylindrical_Scanner_Device/labels/interface","name":"interface","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T13:39:56Z","updated_at":"2018-12-18T13:39:56Z","closed_at":null,"author_association":"OWNER","body":"Это очень черновой вариант \r\n\r\npackage lsb:\r\nByte\t\tdesc\r\n-----------\r\ngeneral rsp format\r\n0\t\t\t\tcmd\r\n1,2\t\t\tdata (0,1)\r\n\r\ncsd #1 init \r\nrq: n i 1\r\nrsp: s c 1\r\n\r\npc request: 0, 0, 1 start msr\r\nmcu response: [D1], [D0], 1\r\n\r\npc request: 0, 0, 2 stop msr\r\n??? mcu response: 0, 0, 2\r\n\r\nin uart module\r\nsend_pck(uint8_t d1, uint8_t d0, uint8_t cmd) \r\nor\r\n---//---(struct pck)\r\n\r\ncommands.h\r\n#define START\t0x01\r\nstop 0x02\r\ninit 0x00\r\n\r\nstrucr{\r\n\tuint8_t cmd,\r\n\t uint8_t d0, //data byte0\r\n\t uint8_t d1 //data byte1\r\n}pck"}}
{"actor":{"display_login":"maxtat3"}}