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/CC2640R2F: Configure win size,win offset,channel map

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hi:

As the Central role,how to configure win size,win offset,channel map in connect_req field?

or these field can be configured?

thanks.

  • Hello,

    I have assigned an expert to help you with your question.

    Best Regards,

    Jenny

  • Hi:

    thank you!

    How can I connect with the export?

    Best Regards。

  • Hi,

    Which SDK version are you using, and is there any specific example project that you are trying to work off of?

    Best Regards,
    Alec

  • I am using simplelink_cc2640r2_sdk_1_40_00_45  ,and I can configure connInterval ,connTimeout,latency by call GAP_SetParamValue function in LL data field in simple_central example project;

    exg:

    // Set connection parameters
    (TGAP_CONN_EST_INT_MIN, DEFAULT_CONN_INT);
    GAP_SetParamValue(TGAP_CONN_EST_INT_MAX, DEFAULT_CONN_INT);
    GAP_SetParamValue(TGAP_CONN_EST_SUPERV_TIMEOUT, DEFAULT_CONN_TIMEOUT);
    GAP_SetParamValue(TGAP_CONN_EST_LATENCY, DEFAULT_CONN_LATENCY);

    There is no example of setting these parameters in simplelink_cc2640r2_sdk_1_40_00_45。So I want to ask Which sdk can provide examples on how to set win size, win offset and other parameters?

    thanks!

  • Hi, 

    As mentioned in the thread that was already linked as the original thread, some of the parameters you mentioned are not user-configurable, because they are determined by processes in the BLE stack. The best way to understand what is and is not configurable would be to look at the stack configuration page in our BLE stack user's guide and then look at the files and methods that it describes. I will link this page below for your convenience. In regards of which SDK to look at, I would HIGHLY recommend using our latest SDK's (4_30) as they will always have the most examples on how to use our software.

    https://dev.ti.com/tirex/explore/content/simplelink_cc2640r2_sdk_4_30_00_08/docs/blestack/ble_user_guide/html/ble-stack-3.x/stack-configuration.html#stack-configurations

    Best Regards,
    Alec

  • Hi:

     I know that the user can not configure these parameters.but as the central role,how to get these parameters by some function interface?

    for example I Can set the connInterval by GAP_SetParamValue(...),and get the connInterval by GAP_GetParamValue(...);

    Thanks.

  • Hi,

    Sorry for the confusion, when I said "user" I meant users of the stack, not users of your application or product. These values are going to be negotiated and configured by the stack itself. As I mentioned, all configurable parameters should be mentioned in the user guide that I linked previously.

    Best Regards,
    Alec