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.

CC2650 对连接间隔的更新参数应该选哪个

  • 程序默认的是:
    #define DEFAULT_ENABLE_UPDATE_REQUEST GAPROLE_LINK_PARAM_UPDATE_WAIT_BOTH_PARAMS
    但是我看了一下,有七种, GAPROLE_LINK_PARAM_UPDATE_WAIT_BOTH_PARAMS 和  GAPROLE_LINK_PARAM_UPDATE_INITIATE_BOTH_PARAMS  有什么区别,  选哪个比较好
  • #define GAPROLE_LINK_PARAM_UPDATE_WAIT_REMOTE_PARAMS 0 // Wait for parameter update request, respond with remote's requested parameters.
    #define GAPROLE_LINK_PARAM_UPDATE_INITIATE_BOTH_PARAMS 1 // Initiate parameter update request, respond with best combination of local and remote parameters.
    #define GAPROLE_LINK_PARAM_UPDATE_INITIATE_APP_PARAMS 2 // Initiate parameter update request, respond with local requested parameters only.
    #define GAPROLE_LINK_PARAM_UPDATE_WAIT_APP_PARAMS 3 // Wait for parameter update request, respond with local requested parameters only.
    #define GAPROLE_LINK_PARAM_UPDATE_WAIT_BOTH_PARAMS 4 // Wait for parameter update request, respond with best combination of local and remote parameters.
    #define GAPROLE_LINK_PARAM_UPDATE_REJECT_REQUEST 5 // Reject all parameter update requests.
    #define GAPROLE_LINK_PARAM_UPDATE_NUM_OPTIONS 6 // Used for parameter checking.