Hello TI engineer!
I use cc2541 for keyboard. And I can't find the good connection parameter for all the os (Android, IOS, MAC OSX, windows10);
the defalut HIDEmuKbd, the connection parameter is below; I call this parameter is 8-8-50-500 for easy say;
// Minimum connection interval (units of 1.25ms) if automatic parameter update request is enabled
#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 8
// Maximum connection interval (units of 1.25ms) if automatic parameter update request is enabled
#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 8
// Slave latency to use if automatic parameter update request is enabled
#define DEFAULT_DESIRED_SLAVE_LATENCY 50
// Supervision timeout value (units of 10ms) if automatic parameter update request is enabled
#define DEFAULT_DESIRED_CONN_TIMEOUT 500
But when the keyboard link my android phone, the key input is good, but my APP send data (this data is defined by my self) to keyboard by bluetooth, the keyboard get the data very slow (about delay 1second);
And this parameter setting when I link Mac osx, the link will be disconnect after few miniute (not the IDLE_TIMEOUT happen);
When I use 10-15-4-500 for connection parameter, I find that link windows 10, the current is very BIG about 8MA (is 200uA in Android);
When I disable the parameter update used below way; I find that delayed about 200ms linked MAC OSX when input words, And I fell very Uncomfortable when i input words, so this parameter can't use for keyboard. And I try some connection parameter to test, but can't find the useful connection connection parameter!
#define DEFAULT_ENABLE_UPDATE_REQUEST FALSE
(hid.c)
if ( updateConnParams )
{
// GAPRole_SetParameter( GAPROLE_PARAM_UPDATE_REQ, sizeof( uint8 ), &updateConnParams );
// updateConnParams = FALSE;
}
SO what is the best connection parameter for all os (Android, IOS, MAC OSX, Windows10)???
Thanks!