Other Parts Discussed in Thread: CC2540
I am using the CC2540 KeyFob with the HostTestRelease project configured for HCI control over UART with the GATT_DB_OFF_CHIP defined as TRUE. I am connecting with an iPhone 4S successfully, my advertisement data shows up, I can create the connection successfully, and answer FindByTypeRequests, ReadByTypeRequests, and ReadByGrpTypeRequests all successfull--this is all needed to inform the iOS device about the services/attributes.
Once the enumeration process of the services and attributes is complete, the iOS device issues a ReadRequest of the preferred connection parameters (handle 0x000B based on the attribute table that I have adopted from the TI Software Developer's Guide). The CC2540 responds, and a few moments later the link is terminated for reason 0x80 (supervisor timeout). I've read the other posts about this error message but I
Is this a problem that can be fixed? I know the connection parameters for the iOS device--simply matching them by calling SetParam() from my host-controller to the CC2540 doesn't seem to be working.
It is odd that the supervisor timeout seems to happen just after the iOS device has received the ReadResponse. A few times, maybe 5 out of 300, I've been able to see the iOS device register the fact that its ReadRequest has been answered by the CC2540. It's not consistent, and I think something fishy is happening.......