-
程序默认的是:#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.