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.

using bluetooth in application

Other Parts Discussed in Thread: MSP430F5438A, CC2564

Hi,

I have tried the Bluetopia SPPLE demo and it works fine (CC2564 and MSP430F5438A experimenter board).

Now I want to send data from within a simple test program. I can't find the proper function call to send a byte of data. (here trying to modify the demo code) Everything seem to be scattered all around and the demo is designed to run via a terminal program from a PC. 

Also if possible I'd like to establish a pairing and connection to a tablet from within a program as opposed to a terminal program command interpreted method.

thanks,

Sami Zein

  • Hi,

    See the documentation folder "CC256x MSP430 Bluetopia SDK\v1.4 R2\Documentation" which is part of the SDK.

    I think both your requirements should be possible.

    Anyway moving it to SSO team for precise answer

  • Hi,

    You'll need to call SPP_Data_Write if you want to write data to the other device. The Documentation folder describes all the functions that you'll need to use(specifically the BluetopiaCoreAPI pdf). 

    You can modify the program as per your design to establish connection and pairing with in the program. You'll have to know the Bluetooth address of the device you are connecting to and issue connection and pair requests to the device from within your program. The SPPLE_LITE demo which doesn't use terminal input shows examples on how to send functions at startup using the InitializeApplication function.

    Thanks,

    Stonestreet One.