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.

CC2540传输数据的速率比CC2530传输速率还慢吗?

Other Parts Discussed in Thread: CC2540, CC2530

能给出CC2540和CC2530的区别吗?

为什么Central每1秒传输10个字节给Peripheral,Peripheral就接收不到数据。但是Central每2秒传输10个字节给Peripheral,Peripheral才能接收到数据?为什么?

使用中怎么感觉CC2540传输数据的速率比CC2530传输速率还慢呢?

  • hi Qin,

    2540的实际速率是 4~5k Byte每秒.

    跟iOS设备的话, 由于苹果方面的限制, 只有1.5k Byte 每秒这样.

    你说的是central 跟 peripheral 的应用的限制, 只是个demo.

  • 那为什么Central每1秒传输10个字节给Peripheral,Peripheral就接收不到数据。但是Central每2秒传输10个字节给Peripheral,Peripheral才能接收到数据?这是为什么呢?Central的发送频率不能太快吗?

  • central 给 peripheral 发送数据间隔最小是多少呢?怎样缩短central 给 peripheral 发送数据间隔?我想central每100ms发送一次数据给peripheral不行吗?

    另外我Central请求Peripheral的时间间隔最小是多少呢?

     下面的代码每1秒执行一次,Central就接收不到Peripheral的数据,但是每2秒执行一次就能接收到。

              attReadReq_t req;  

              if(simpleBLECharHdl  !=  0)  

             {          

                  req.handle = simpleBLECharHdl[1];          

                  status = GATT_ReadCharValue( simpleBLEConnHandle, &req, simpleBLETaskId );          

                  if ( status == SUCCESS )          

                 {            

                   simpleBLEProcedureInProgress = TRUE;                    

                }

          }