Develop a simple bluetooth remote control unit that is controlled from an Iphone 4s app.
Write software/firmware for a Bluetooth CC2540 Module The software should enable 4 digital input lines, 4 digital output lines, and 2 ADC channels on the CC2540 module.
Write a simple Iphone App that provides bluetooth connectivity between the Iphone and CC2540 module. The app shall periodically (for example every 2 seconds - user configurable) poll the CC2540 and indicate the state of the digital input lines and ADC channels and provide the ability to change the state of the digital output lines from the IPhone App. For the UI, it needs 4 toggle switches to change the 4 digital output lines, 4 check boxes showing the state of the 4 digital input lines and 2 label boxes showing the value of the ADC channels. There should be a connect function that shows a list of available Bluetooth remote control modules and allow the user to select from the list.
The Iphone app should also be able to read the Digital Received Signal-Strength Indicator (RSSI) of the CC2540 module and have a label box that indicates the approximate distance to the CC2540 module. It should be useful to help find the location of the CC2540 module.