CC2540 Peripheral & Central projects:
If enable GAPROLE_PARAM_UPDATE_ENABLE,peripheral will be updated after connection is established,and i get some paramaters using function GAPRole_GetParameter(),they are:
uint16 desired_min_interval = 6; // about 7.5ms
uint16 desired_max_interval = 800; // about 1s
uint16 desired_slave_latency = 0; // 0
uint16 desired_conn_timeout = 1000; // about 10s
The communication speed is slow:send 1 byte user data need almost 2s.
Then i disable GAPROLE_PARAM_UPDATE_ENABLE and modify these paramater's macro-defined value,and few seconds later after connection is established,i get paramaters again and they are the same values ofcourse.
But the communication speed is much faster,it's almost about 50ms,maybe.
I do not know why this happens.what data updated in peripheral when GAPROLE_PARAM_UPDATE_ENABLE is enable?