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.

CC2640R2F: Simple Serial Socket

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK

Hi TI support team,

I am using cc2640r2f, I want to use bluetooth 5 as transparent mode emulate serial port profile.

I found Simple Serial Socket in TI SimpleLink CC2640R2 SDK 3.30.00.20 (current) as lik below

https://github.com/ti-simplelink/ble_examples/blob/master/examples/rtos/CC2640R2_LAUNCHXL/bleapps/simple_serial_socket_server/readme.md

1. I  need to know this link above, it is used for bluetooth 4.xx or bluetooth 5 ?

2. How I can check SDK version x.xx.xx.xx is used for what bluetooth version(4.xx or 5) ?

Could you please share serial port profile sample software for bluetooth 5 ?

Note: For Bluetoot 4.xx payload size 0-37 Bytes and Bluetooth 5 payload size 0-255

 

Thank you

best Regards,

  • Hi,

    1. The link above is for the Bluetooth 4.2-feature BLE-stack on CC2640R2. However this stack has been qualified for Bluetooth 5.1, but it does not support any Bluetooth 5.0 or 5.1 features.

    2. Please see the qualification sticky post:

    3. We have a version for our Bluetooth 5 ble5stack, however it is only for the CC13x2 and CC26x2 devices (not CC2640R2):

    4. You are confused about Bluetooth versions. Data length extensions which allows you to use payload up to 255 bytes was implemented in Bluetooth 4.2. Both of the versions of the Simple Serial Socket example can use this feature.

  • Hi Marie H,

    Many thanks for your reply

    For your answer no.1

    Currently, The link above is not support BLE5-stack feature.

    Do you mean it is not support LE 2M and LE coded feature, right ?

    For your answer no.3

    Could you please modify exmaple Simple Serial Socket ble5stack for CC2640R2 device ?

    For your answer no.4

    I tested the link above it sent/receive 20 Bytes per packet

    How I can increase Buffer size up to 255 Bytes in the link above ?

    Thank you

    Best Regards,

  • Hi,

    I answered 1-3 on e-mail.

    For the BLE packets please see how to use data length extensions here:

    You will also need to adjust the UART buffer accordingly.