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.

cc2541 ccservice 調變問題



Dear Ti,

可以問一下有關intervalmin/max 的問題

假如我現在min跟max 從100->3200 可以從示撥器很明顯的看到馬上改變,但是當我從3200->100改變時間大概是30秒時間

要請問如果要要從code去更改馬上要做變化,要從哪一段著手呢?

Thanks

Ben

  • ben,

    interval 改变的时候,都是需要经过一定的interval 个数才能做到的,这个个数叫做"instant", 你有兴趣可以看一下spec.

    所以,3200 到 100, 自然时间会很长。因为要经过一定个数个3200 长的interval 才会到100.

    如果这个过程你觉得时间太长,你可以中间加一个 这条HCI 命令试试,可以让你暂时速度加快:HCI_EXT_SetSlaveLatencyOverrideCmd()