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.

CC2652R7: Please tell me about BLE Communication

Part Number: CC2652R7
Other Parts Discussed in Thread: SYSCONFIG

I have a few question about Ble communication related to connection interval and PDUs max count.

I set the Max Number of PDUs to 10 in  sysconfig file of BLE Central( Peripheral sysconfig file is set to 16) .

But the number of packets the Central captured in connection interval was more than 10.

I send the tha packet file at the time.

ble_packet.csv

The packet No.6285~6324, The number of Empty PDU the Central send  to the Peripheral was 20.

In connection Interval, The Packet is 20.

Please tell me why the actual number of PDUs captured by the Central does not match the Sysconfig.

The Packet No 6284 and No 6671, The Central Send Empty PDU but No responce from the Peripheral.


Please tell me why No responce.

Also, I feel like there are a lot of PDUs at the situation like this.

Are The Number of PDUs and No repounce is related?

Best regards.

  • Hi,

    Thank you for reaching out. We will take a look at your provided query and get back to you as soon as possible. In the meantime, could you provide the SDK version you are using?

    Best Regards,

    Jan

  • Hi, Jan-san

    I use simplelink_cc13xx_cc26xx_sdk_5_30_01_01

    Also Connction Interval is 30ms.

    Best Regards

  • Hi Satoshi,

    Is it possible for you to reproduce this issue using the latest SDK  which is 7.10.01.24 ?

    And explain me which changs you did to the device except the ones described above.

    The connection interval defines how often a device send and receive data from each other.

    The max_num_pdu descibes how many messages can be queued up by the stack.

    Empty PDU is caused by not having content to send.

    I would like to ask you to provide some more information on the .csv file you provided.

    Is this the data on air captured with a packet sniffer? 

    Regards,

    Alex

  • Hi, Alex san
    Thank you for your reply.

    I have used only simplelink_cc13xx_cc26xx_sdk_5_30_01_01 so I don't know if thie issue happens in Latest version.
    That data is captured with a packet siniffer.

    Best Regards.

  • Hi Satoshi,

    Did you do an except changing the interval and the max_num_Pdu ? 

    Regard,

    Alex

  • I'm Sorryt for the rate reply.

    I send  the system config files of Peripheral and Central.
    plese check the paremeter expected connection interval60 and max num pdu.

    Also the connection Interval is reset to 30 ms in the Application.

    /**
     * Write custom configuration values to the imported modules.
     */
    ble.deviceRole                            = "CENTRAL_CFG";
    ble.disablePairing                        = true;
    ble.maxConnNum                            = 1;
    ble.maxPDUSize                            = 251;
    ble.tbmActiveItemsOnly                    = false;
    ble.disDevBySerUuid                       = true;
    ble.advRptFields                          = ["SCAN_ADVRPT_FLD_ADDRESS","SCAN_ADVRPT_FLD_ADDRTYPE","SCAN_ADVRPT_FLD_EVENTTYPE"];
    ble.rpaRead                               = 0;
    ble.addressMode                           = "ADDRMODE_PUBLIC";
    ble.maxPDUNum                             = 10;
    ble.dupFilter                             = "SCAN_FLT_DUP_DISABLE";
    ble.scanDuration                          = 30000;
    ble.scanInt                               = 25;
    ble.scanWin                               = 25;
    ble.connIntMax                            = 60;
    ble.scanType                              = "SCAN_TYPE_PASSIVE";
    ble.connIntMin                            = 30;
    ble.radioConfig.codeExportConfig.$name    = "ti_devices_radioconfig_code_export_param0";
    ble.connUpdateParamsCentral.$name         = "ti_ble5stack_general_ble_conn_update_params0";
    ble.connUpdateParamsCentral.reqMinConnInt = 60;
    ble.connUpdateParamsCentral.reqMaxConnInt = 60;
    /**
     * Write custom configuration values to the imported modules.
     */
    ble.lockProject                                       = true;
    ble.deviceName                                        = "TI_IIOT";
    ble.numOfAdvSets                                      = 1;
    ble.bondMITMProtection                                = false;
    ble.bonding                                           = false;
    ble.rpaRead                                           = 0;
    ble.addressMode                                       = "ADDRMODE_PUBLIC";
    ble.maxPDUSize                                        = 251;
    ble.maxConnNum                                        = 1;
    ble.tbmActiveItemsOnly                                = false;
    ble.disableDisplayModule                              = true;
    ble.ledDebug                                          = true;
    ble.oadDebug                                          = true;
    ble.oadFeature                                        = true;
    ble.maxBonds                                          = 0;
    ble.maxPDUNum                                         = 16;
    ble.radioConfig.codeExportConfig.$name                = "ti_devices_radioconfig_code_export_param0";
    ble.connUpdateParamsPeripheral.$name                  = "ti_ble5stack_general_ble_conn_update_params0";
    ble.connUpdateParamsPeripheral.reqConnTo              = 4000;
    ble.connUpdateParamsPeripheral.paramUpdateDelay       = 500;
    ble.connUpdateParamsPeripheral.reqMaxConnInt          = 60;
    ble.connUpdateParamsPeripheral.reqMinConnInt          = 30;
    ble.advSet1.$name                                     = "ti_ble5stack_broadcaster_advertisement_set0";
    ble.advSet1.advParam1.$name                           = "ti_ble5stack_broadcaster_advertisement_params0";
    ble.advSet1.advParam1.txPower                         = "otherTxPower";
    ble.advSet1.advParam1.primIntMin                      = 3000;
    ble.advSet1.advParam1.primIntMax                      = 3000;
    ble.advSet1.advData1.$name                            = "ti_ble5stack_broadcaster_advertisement_data0";
    ble.advSet1.advData1.GAP_ADTYPE_FLAGS                 = true;
    ble.advSet1.advData1.advertisingFlags                 = ["GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED","GAP_ADTYPE_FLAGS_GENERAL"];
    ble.advSet1.advData1.GAP_ADTYPE_LOCAL_NAME_SHORT      = true;
    ble.advSet1.advData1.shortenedLocalName               = "SP";
    ble.advSet1.advData1.numOfUUIDs16More                 = 1;
    ble.advSet1.advData1.UUID016More                      = 0xFFF0;
    ble.advSet1.advData1.GAP_ADTYPE_ADV_INTERVAL          = true;
    ble.advSet1.advData1.advIntValue                      = 1000;
    ble.advSet1.advData1.GAP_ADTYPE_MANUFACTURER_SPECIFIC = true;
    ble.advSet1.advData1.companyIdentifier                = 0x0D06;
    ble.advSet1.scanRes1.$name                            = "ti_ble5stack_broadcaster_advertisement_data1";
    ble.advSet1.scanRes1.maxConnInterval                  = 130;
    ble.advSet1.scanRes1.completeLocalName                = "TI_IIOT";
    ble.advSet1.scanRes1.numOfUUIDs128More                = 1;
    ble.advSet1.scanRes1.UUID0128More                     = system.utils.bigInt("B000405104101100F0",16);
    ble.advSet1.scanRes1.numOfUUIDs16More                 = 1;
    ble.advSet1.scanRes1.UUID016More                      = 0x494E;
    ble.advSet1.scanRes1.TXPower                          = 5;
    ble.advSet1.scanRes1.GAP_ADTYPE_POWER_LEVEL           = true;
    scripting.suppress("The example app code handles 2 advertisement sets\. Please make sure to update the example app code according to the configured number of sets\.", ble, "numOfAdvSets");
    

  • Hi Satoshi-san,

    I have noticed your post while browsing the forum for other reasons. Apologize for the lack of answer as the engineer who initially handled your request has been affected to a different team.

    In case our support is still required, may I kindly ask you to open a new thread?

    Appreciate your understanding,

    Best regards,