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.

使用苹果手机连接CC2640R2F设备无法更换PHY

Other Parts Discussed in Thread: CC2640R2F

背景:SDK2-40,手机iphone X,app:light blue;

连接参数如下:

#define DEFAULT_ADDRESS_MODE ADDRMODE_PUBLIC

#define DEFAULT_DISCOVERABLE_MODE GAP_ADTYPE_FLAGS_GENERAL

// Minimum connection interval (units of 1.25ms, 80=100ms) for parameter update request

#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 240//240 300MS

// Maximum connection interval (units of 1.25ms, 104=130ms) for parameter update request

#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 320// 320 400MS

#define DEFAULT_DESIRED_SLAVE_LATENCY 0

#define DEFAULT_DESIRED_CONN_TIMEOUT 600

#define DEFAULT_PARAM_UPDATE_REQ_DECISION GAP_UPDATE_REQ_ACCEPT_ALL
//DEFAULT_ENABLE_UPDATE_REQUEST

// How often to perform periodic event (in ms)
#define SP_PERIODIC_EVT_PERIOD 5000

// How often to read current current RPA (in ms)
#define SP_READ_RPA_EVT_PERIOD 3000

#define SP_SEND_PARAM_UPDATE_DELAY 6000

两个CC2640R2F设备一个做主机,一个做从机,通过按键可以正常更换PHY。

但是使用苹果手机找到设备并连接设备后,发现从机设备被直接设置成了2M PHY模式,上面可以正常按键更换PHY的函数却不能正常更换PHY成功,无法更换成1M模式或者code模式。

后来使用小米NOTE3,也是连接设备后从机设备被设置成2M PHY模式,但可以正常更换PHY,但是必须是发送连接参数更新之前,如果等待连接更新参数完成后再发起更换PHY不会成功。(我两个设备之间切换PHY没有这个限制)

想请教TI的工程师们,这个是什么情况?谢谢,并期待你们的回复