Hello im doing my dissertation project now, and my project is about making iphone as a mouse. So the basic idea is to make an application that using accelerometer and gyroscope data from iphone and send it very a Bluetooth to move a cursor in computer what i cant figure it out is how to connect the iphone via Bluetooth to computer If someone can help me with the idea how mouse works via Bluetooth and the source code for wireless mouse or anything that can help me would be wonderful
Iphone as a mouse
First, you can't use Bluetooth specifically because of restrictions on the Developer sandbox on iOS devices. You, using a Developer written app, cannot turn an iOS device into a bluetooth mouse.
What you can do is write an iOS app which reads the accelerometer and gyroscope data, and a Mac OS X application that moves the mouse; and have those two applications communicate over BTLE or wifi or whatever.
Since you've said this is a dissertation project, I'll leave the rest as an exercise to the student.
Thank you so much this is really helpful