Open Architecture for the Control of a Neuroprosthesis by Means of a Mobile Device