This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Demo communication between Ipad 3 and CC2540?

Other Parts Discussed in Thread: CC2540

I have just purchased CC2540 development KIT. prebuilt demos (SimpleBLECentral and Simple BLEPeripheral) is working (connected to each other). But my Ipad 3 cannot be detected by BLECentral or see BLEPeripheral. I know that ipad 3 has bluetooth 4.0 and i think it can communicate with BLE too, am i wrong?

  • Hi,

    You have to write an App which accesses the CoreBluetooth (BLE) functionality. The general Bluetooth (found in settings) do not operate towards BLE devices.

    Br

  • thank you :-)

  • Hello,

    I have installed all the free apps that are related to BLE 4.0 and will be testing them to see how they work with the CC2540 kit.

    Below are the 16 FREE BLE 4.0 Apps for the iPad 3.  I only have the iPad 3 so I can't tell if they work better on the iPhone or any other other IOS device.

    I will be adding a review for each of them, so stay tuned.

    So far, most of them just don't work.  They crash.  There are however a few that at least allow you to SEE something happen when you press a button on the keyfob.  They also only seem to work with the SimpleBLEPeripheral on the keyfob.

    It may be possible to change the UUID for the LEDs, Buttons and Buzzer to get the App fully functional.  For now, if you just received your CC2540DK and you have an Apple BLE 4.0 device, you can start playing with these apps.



    The Apps from the Apple Store Are:


    Car Mate from Joybien allows you to find your car (Keyfob) anywhere.  You have to use the SimpleBLEPeripheral to connect to it by pressing SW2 to advertise.
    The only thing that seems to work is the link strength display.  There is no disconnecting BLE from Apps view screen, you have to close it then remove it from memory.


    OFF All BLE also from Joybien enables ON/OFF and blinking of the LED and accepts inputs from the SW1 and SW2.  It also connects using SimpleBLEPeripheral.
    The LED control doesn't work, but the alternate pressing of SW1 and SW2 changes the display.  Since the buttons work, it should be possible to change the UUID for the LED and get it fully functional.


    BLE RSSI from Propagation displays battery level, the signal level in a graph and enables control of LED1 and LED2.  Connection is through SimpleBLEPeripheral.
    The signal strength graph works, but it does not show battery level, or control the LEDs.  There is also no Bluetooth disconnect from the view.


    BLE Chat from ISSC supports data transfer through BLE!  It connects with SimpleBLEPeripheral and request pairing.  I'm not sure exactly how to set it up, but it may be something to look into for sending text information from the CC2540 to the iPad. It allows disconnecting from main view as well as Link Back.


    BLEStart from Kenzo Konishi has 2 sensor inputs, for button inputs and 2 buttons for controlling the LEDs.  It connects with SimpleBLEPeripheral, but nothing else seems to work.  It does say that the UUID has been changed from 16-bits to 128-bits, so it may be possible to get it working with the Keyfob.


    LinkABit from Samsonvn connects the iPad for controlling the camera.  It has an iPod Player, camera controls, IR controls and a link loss notifier.  It connects with SimpleBLEPeripheral, but that is about it.  It freezes up when you select IRSettings.

    BlueFire EKG from body Pro connects using SimpleBLEPeripheral.  The Heart Rate Monitor project in the C:\Texas Instruments\BLE-CC254x-1.2\ projects folder works with this App.  It has its' own volume control though!


    nRF Utility from Nordic Semiconductor connects using the BLE Projects for Blood Pressure, Hear Rate Monitor, Temperature (connected, but didn't display anything), Glucose Sensor.  These work!  You just have to press SW2 to start broadcasting.

    The above six (8) apps connected to the CC2540 Keyfob with the SimpleBLEPeripheral firmware from the C:\Texas Instruments\BLE-CC254x-1.2\ projects folder.  The nRF Utility is the best app to play with that could allow for all its features to work with the keyfob.
    I'm just starting to wrap my head around BLE so perhaps you can get more functionality out of the above.  I just wanted to have something that works out of the box, just for piece of mind to know that something useful is happening.
    I couldn't get the other ten (7) apps to connect with any of the profiles.  Some of them are not based on the CC2540.  This doesn't mean they don't work, just I couldn't get them working.

    They are:

    Atomax BLE           - (should have worked, but just displayed a blank view after introduction screen)
    BLE Phone Finder
    Em-Browser         - I think these two are just simulators
    Em-Blinker
    Find My Bike
    Logitec

    nLocator
    PEBBLE

    Enjoy!!!
  • Thanks.

  • Here are three (3) more FREE Apps from the Apple App store that connect to the CC2540.



    BTLExplorer  from KS Technology is the one App you definitely want to have.  It connects to the CC2540 (and other devices) and scans the accessories, gets the description, signal strength and the UUID!!!  It is a must have and a very valuable tool.  Thank you KS Technology for sharing this App with everyone!!!!

    Heart Rate from LogYour Run LLC is a heart rate monitor that connects with the CC2540 keyfob running the Heartrate code from the BLE project folder.  Just tap the strap icon and it will connect and start counting.

    HeartRate from Oban US LLC is a heart rate monitor that works well with the CC2540 keyfob using the Heartrate code in the BLE project folder.  Just press the continue button, then go into settings, hit the configure bluetooth button and then the device will show up.  Tap it and it will pair up and start counting.

  • This is the last free App I could find that functions with the CC2540 BLE Stack 1.2.  I have not upgraded to the BLE 1.2.1, so I don't know its functionality with that version.

    Wahoo Utility from Wahoo Fitness is a health and fitness App that monitors Heart Rate and a Bike Speed and Cadence Sensor.

    The Heart Rate firmware from the BLE1.2/projects folder works with this App.  The connection time is rather slow, so be patient.


    That concludes all the Apps that I could find that at least connected with the CC2540.  There may be others out there.  If you find one, please add it to the list.

    Thanks,

  • There is also the TI demo on the wiki (not available in App Store I think):

    http://processors.wiki.ti.com/index.php/Category:IPhone4SBLEDemo

  • Hi All,

    We have developed a free BLE app, LightBlue, that I think would be helpful to everyone.  It lets you scan and connect to any apps out there, and can even be used to make your phone a Peripheral.  This lets you simulate the operation of your hardware without any hardware!



     
    Feel free to email us with feature requests or feedback.  info@punchthrough.com

    Cheers,
    Colin 

  • Hey Colin,

    Interesting app. This could prove to be very useful when debugging new peripherals. (You may want to add it to the wiki).

    I don't have a BLE peripheral handy right now, but can the app scan for all services, characteristics, and descriptors and display them accordingly?

  • Colin, I went home and tested out the features of LightBlue, and i have to say, it is quite impressive. Very useful for debugging services and characteristics.  If you started a new thread about this, I'm sure people would be interested in participating.

    One things I'm curious about, or perhaps it's a feature request:  I'd like to store descriptions about specific services and characteristics to label them, specifically custom ones that I am building. I didn't see a feature for this under the Central scheme.  In other words, I'd like to define service 0xFF04 as a custom service with name: "HelloWorld", and whenever a peripheral is broadcasting this service, the iphone would see it as HelloWorld

  • Dear Colin,

    Light Blue is working well.

    Can i have this app source code for my reference.

    Thanks

    Arul