{"action":"created","issue":{"url":"https://api.github.com/repos/tehn/aleph/issues/243","repository_url":"https://api.github.com/repos/tehn/aleph","labels_url":"https://api.github.com/repos/tehn/aleph/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/tehn/aleph/issues/243/comments","events_url":"https://api.github.com/repos/tehn/aleph/issues/243/events","html_url":"https://github.com/tehn/aleph/issues/243","id":130534671,"number":243,"title":"bees serial protocol","user":{"login":"rick-monster","id":6881548,"avatar_url":"https://avatars.githubusercontent.com/u/6881548?v=3","gravatar_id":"","url":"https://api.github.com/users/rick-monster","html_url":"https://github.com/rick-monster","followers_url":"https://api.github.com/users/rick-monster/followers","following_url":"https://api.github.com/users/rick-monster/following{/other_user}","gists_url":"https://api.github.com/users/rick-monster/gists{/gist_id}","starred_url":"https://api.github.com/users/rick-monster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rick-monster/subscriptions","organizations_url":"https://api.github.com/users/rick-monster/orgs","repos_url":"https://api.github.com/users/rick-monster/repos","events_url":"https://api.github.com/users/rick-monster/events{/privacy}","received_events_url":"https://api.github.com/users/rick-monster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tehn/aleph/labels/%23bees","name":"#bees","color":"ff99aa"},{"url":"https://api.github.com/repos/tehn/aleph/labels/FEATURES","name":"FEATURES","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-02-02T00:58:52Z","updated_at":"2016-02-05T23:48:57Z","closed_at":null,"body":"Over on my dev branch there is a bees serial protocol enabling the following operations from host.\r\n\r\nremote control of network:\r\n- read/write DSP params from bees (tested, working)\r\n- read/write bees inputs (tested, working)\r\n- connect bees out to bees in (tested, dummy-only)\r\n- disconnect bees out (tested, dummy-only)\r\n- create op (tested, dummy-only)\r\n- delete op (tested, dummy-only)\r\n- save preset (tested, dummy-only)\r\n- recall preset (tested, dummy-only)\r\n\r\nbees network discovery:\r\n- dump ins in netlist (tested, working)\r\n- dump params in netlist (tested, working)\r\n- dump outs in netlist (tested, dummy-only)\r\n- dump ops in netlist (tested, dummy-only)\r\n- dump connections in netlist (tested, dummy-only)\r\n- dump op descriptions (tested, dummy-only)\r\n\r\ncallback to host:\r\n- special bees operator sends s16 addr, s16 data (tested, working)\r\n\r\nPlanning to send pull request once all the untested items are known-working.  Patching commands & presets will be dummy-only for now but think plumbing these in is straightforward.  Host side is currently implemented as a common lisp serial test harness.  Docs to follow once the protocol is proven in my host application (lisp midilooper).\r\n\r\ncallback to host functionality as it stands (op_serial) still kind of sucks...  Eventually the protocol should be updated replacing bees serial op with these message types:\r\n\r\n- toggle serial message on output & associated callback (requires a tricky refactor of bees)\r\n- toggle serial message on DSP param callback (DSP callback does not currently exist)\r\n- toggle serial message on input & associated callback (should be easy to add)"},"comment":{"url":"https://api.github.com/repos/tehn/aleph/issues/comments/180626507","html_url":"https://github.com/tehn/aleph/issues/243#issuecomment-180626507","issue_url":"https://api.github.com/repos/tehn/aleph/issues/243","id":180626507,"user":{"login":"catfact","id":94855,"avatar_url":"https://avatars.githubusercontent.com/u/94855?v=3","gravatar_id":"","url":"https://api.github.com/users/catfact","html_url":"https://github.com/catfact","followers_url":"https://api.github.com/users/catfact/followers","following_url":"https://api.github.com/users/catfact/following{/other_user}","gists_url":"https://api.github.com/users/catfact/gists{/gist_id}","starred_url":"https://api.github.com/users/catfact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catfact/subscriptions","organizations_url":"https://api.github.com/users/catfact/orgs","repos_url":"https://api.github.com/users/catfact/repos","events_url":"https://api.github.com/users/catfact/events{/privacy}","received_events_url":"https://api.github.com/users/catfact/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T23:48:57Z","updated_at":"2016-02-05T23:48:57Z","body":"serial_store() is called from the UASRT rx interrupt, so yeah, it's execution time is pretty critical.\r\n"}}