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.

Bluetooth Low Energy (CC2540) various questions

Other Parts Discussed in Thread: CC2540

-          Is it possible to send messages and directly control the Link Layer rather than using GAP or GATT?  There are some specific things that I would like to be able to do with regards to scanning and advertising, and if I can bypass the GAP layer that would be great.

o   I would like to be able to set the device to continuously scan for scannable non-directed events and interleaved in this scanning process I want to be able to have the device be able to advertise scannable non-directed events.  Essentially I need the link layer to be able to be in both the advertising and scanning state simultaneously.  Does the TI BLE stack support multiple simultaneous states in the link layer?  (the BT4.0 spec does not require it, but allows it)

o   Similarly, if I cannot access the Link Layer directly, I want to be able to set the device to be a broadcaster and an observer at the same time so that the scanning and advertising is interleaved in time.  Is this possible with the TI BLE stack?

-          I would like to be able to switch between master and slave in software rather than having to re-flash the device.  My understanding is that this is not currently possible.  It that a limitation imposed by the TI stack, and is there a way to overcome it?

-          In the software user guide for the BLE stack it indicates that a device with the Central role (in GAP) is not able to have “multiple simultaneous connections”.  Does this mean that a central (master) can only be paired with one peripheral (slave) at a time? 

o   If so, are there plans to update the stack to allow for multiple peripherals (star networks)?

-          How large is the TI BLE stack? 

o   What is the remaining flash space available for custom applications in the CC2540?

o   Approximately how much RAM does the stack use and how much is remaining for custom applications?

-          Can a device be a GATT client and server at the same time?

  • EdWalker said:
    Is it possible to send messages and directly control the Link Layer rather than using GAP or GATT?  There are some specific things that I would like to be able to do with regards to scanning and advertising, and if I can bypass the GAP layer that would be great.

    It is not currently possible to directly control the link layer, as the CC2540 implements the complete BLE stack. In the future we may support a controller-only software configuration, in which the stack is implemented up to the HCI.

    EdWalker said:
    I would like to be able to set the device to continuously scan for scannable non-directed events and interleaved in this scanning process I want to be able to have the device be able to advertise scannable non-directed events.  Essentially I need the link layer to be able to be in both the advertising and scanning state simultaneously.  Does the TI BLE stack support multiple simultaneous states in the link layer?  (the BT4.0 spec does not require it, but allows it)

    EdWalker said:
    o   Similarly, if I cannot access the Link Layer directly, I want to be able to set the device to be a broadcaster and an observer at the same time so that the scanning and advertising is interleaved in time.  Is this possible with the TI BLE stack?

    Our current stack does not support these simultaneous state, but we are working on implementing these "multi-role" states and will be supporting them in the future.

    EdWalker said:
    I would like to be able to switch between master and slave in software rather than having to re-flash the device.  My understanding is that this is not currently possible.  It that a limitation imposed by the TI stack, and is there a way to overcome it?

    Again, we do not currently support this, but are working on this and will have future support.

    EdWalker said:

    In the software user guide for the BLE stack it indicates that a device with the Central role (in GAP) is not able to have “multiple simultaneous connections”.  Does this mean that a central (master) can only be paired with one peripheral (slave) at a time? 

    o   If so, are there plans to update the stack to allow for multiple peripherals (star networks)?

    Again, coming soon :-)

    EdWalker said:

        How large is the TI BLE stack? 

    o   What is the remaining flash space available for custom applications in the CC2540?

    o   Approximately how much RAM does the stack use and how much is remaining for custom applications?

    The BLE stack consumes around 115k of flash. The stack consumes around 5k of RAM.

    EdWalker said:
    Can a device be a GATT client and server at the same time?

    Yes.

     

  • Thank you for the reply. Since most of the items appear to be "in the works", please provide a timeframe estimate of when these features will be available.

    This is essential for users to try and line up product development schedules with TI feature sets.