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.

CCS/MSP432P401R: Is there any way to connect msp432p401r CC2650MODA to phone via BLE without RTOS?

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi all,

I'm new to msp432p401r and CC2650MODA. After applying Project Zero, I learn some basic knowledge about using BLE to connect MSP432p401 to app LightBlue on phone. I have some questions to ask:

1. Can I simply the code by turning off all service, except Data Service which is only thing I need to transfer data. I want to connect BLE and transmit Data, that's it. 

2. On the top of right corner, there is label "Hex" to help you choose data type such as Hex, Octa, String,... How you can turn it off to make default only String, no Hex, no Oct, no Binary? 

3. And as title, Is there any way to connect msp432p401r CC2650MODA to phone via BLE without RTOS? Using Peripheral Driver Library? 

Thanks 

  • Hey Ai,

    Ai Nguyen1 said:
    1. Can I simply the code by turning off all service, except Data Service which is only thing I need to transfer data. I want to connect BLE and transmit Data, that's it. 

    The BLE SIG defines a few mandatory characteristics, namely Device Name and Appearance (Section 12 of the v5.1 spec). You can remove most of what's provided, but be sure to leave the required characteristics as defined in the spec.

    Ai Nguyen1 said:
    2. On the top of right corner, there is label "Hex" to help you choose data type such as Hex, Octa, String,... How you can turn it off to make default only String, no Hex, no Oct, no Binary? 

    I'm not too sure if there's a way to set a default format, I would check any LightBlue docs there to see if they offer that capability.

    Ai Nguyen1 said:
    3. And as title, Is there any way to connect msp432p401r CC2650MODA to phone via BLE without RTOS? Using Peripheral Driver Library? 

    I don't think we have any examples with a non-rtos implementation. BLE is time critical and I'd say having an OS is critical to a smooth implementation, especially with other tasks involved as well. Is there a reason you want this capability?

  • Thanks for helping.

    1. In Project Zero, they have 3 service: LEDservice, Buttonservice, and Dataservice. I only need Dataservice. I remove most of stuffs relating to LED and Button services and it works. However, when I remove #include ledservice.h it shows errors: BLEProfileCallbacks_t not identify in Dataservice.h even they define it in Dataservice.c 

    And pardon me. What book or document you mention about Section 12 of the v5.1 spec? 

    2. Thanks. So it means it is feature from Light Blue to change data type, not from code. 

    3. I just want to ask to see if I can do BLE without TI-RTOS. You know RTOS is more complicated than Peripheral Driver Library. Assuming I have BLE.h and BLE.c files about BLE using TI-RTOS. Can I use it in non-RTOS project and it works or it also requires RTOS project?

    Sincerely, 

  • Hey Ai,

    Can you show the error the compiler gives you here? I am referring to the BLE SIG's core specifications document.

    All our examples require TI-RTOS as our BLE Stack is built with RTOS. See the related post here. To be clear, it is possible in a non-RTOS project. You may not be able to use our BLE stack, which means you'll have to implement the stack. I would not recommend this.