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.

SIG_Connection Parameter Update_Request and Response (iOS)

Other Parts Discussed in Thread: CC2540, ASH

Dear TI,

I am using CC2540/2541 for my initial project. Its well supporting Android regarding SIG_parameter update but in case of iOS, I cant see the SIG_parameter update request or response in sniffer log. Though, I preferred the connection parameters for iOS from the iOS guide_lines PDF, still its not working.

Please suggest the solution~

Thanks n Regards

/Ash

  • Hello Ash,

    Can you post your sniffer log and the parameters you are requesting? This would be a good first start.

    Best wishes
  • Dear JXS,

    Thanks for your reply~

    Here is the parameter configuration, what I am using......

    Sniffer log is attached as well.  CONNPARAMUPDATE_KFB_iPADM_20150514.psd

     

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    // Minimum connection interval (units of 1.25ms) if automatic parameter update request is enabled
    #define DEFAULT_DESIRED_MIN_CONN_INTERVAL     20


    // Maximum connection interval (units of 1.25ms) if automatic parameter update request is enabled
    #define DEFAULT_DESIRED_MAX_CONN_INTERVAL     40  


    // Slave latency to use if automatic parameter update request is enabled
    #define DEFAULT_DESIRED_SLAVE_LATENCY         0

    // Supervision timeout value (units of 10ms) if automatic parameter update request is enabled
    #define DEFAULT_DESIRED_CONN_TIMEOUT          300

    // Whether to enable automatic parameter update request when a connection is formed
    #define DEFAULT_ENABLE_UPDATE_REQUEST         TRUE  

    // Connection Pause Peripheral time value (in seconds)
    #define DEFAULT_CONN_PAUSE_PERIPHERAL         10

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

     

    Please suggest the correct conn parameters for getting the update request and response to/from iOS.

    Thanks n Regards,

    /Ash

  • Hi,

    The request is sent at P.nbr 891, although I don't see an acknowledgement from the iOS. Perhaps it was missed by the sniffer. Can you take other traces and compare?

    Also, you're requesting an interval in a range that is already in use for the connection (0x18 / 30ms), although you're asking for a longer conn time out value. Are you trying to get a slower interval or just longer timeout value?

    Best wishes

  • Dear JXS,

    Thanks for your reply with explanation~

    well, I also can not see the response from iOS.  As I just wanted to see wheather there is an update request and response from/to ios and slave (advertisng device) in the sniffer log, so I am requesting the same parameters for update what I used for making connection.

    Could you please elaborate where I can check this in code and what are the required configuration for getting response from iOS ? I want average connection time out value.

    Please suggest~

    Thanks n Regards,

    /Ash

     

  • Hi Ash,

    Near as I can tell, your params look compliant to Apple's guidelines. What iOS version is this? Maybe try using interval min of 16 (20ms).

    Best wishes
  • Dear JXS,

    well, I am using [iOS 8.1.3]. Also I tried with Interval Min = 16 (20ms), getting the same problem.

    I don't understand why iOS is ignoring the parameter update request ? Is this the iOS issue or something else?

    Please suggest.

    Thanks n Regards
    /Ash
  • For me, I can get 16/44/300 (min/max/timeout) to work with iOS 8.3 / iPhone 6. This set results in a interval of 36 (45ms) and timeout of 300 (3sec).

    Sometimes it's an art trying to find the right combination that works :)


    Best wishes

  • Hi Ash,

    You might want to check the below thread:
    e2e.ti.com/.../1482259

    You might want to issue GAPRole_SendUpdateParam() to trigger the Connection Update Parameter Request explicitly.

    Regards,
    Sunny