The assumption here is that you are working with the CYW920706 evaluation platform?
Yes, I tested with CYW82070Y EVB and WICED STUDIO 5.2.0 demo app hci_serial_gatt_service as provided.
And test with Galaxy s8, iPhone 6+, Galaxy note 4.
Only Galaxy note 4 can not connected.
I'm not familiar with this kit as it was never released to the broad market. Can you reach out to the person as CY that provided the kit and ask them for guidance? It sounds like this was part of a tier 1 engagement.
When I replied on my phone, I got a mistake.
I tested with CYW920706 EVB. CYW920706xV3_EVAL
From your comments, I assume you are able to connect with Galaxy S8 and iPhone 6+ and exchange data.
When you connect with Note 4, what is the exact issue? Are you seeing a disconnect immediately after connection. Do you see any disconnect event received?
I think this is an issue specific to Samsung Galaxy S8. I tested with a couple of phones and found no issues.
I think that the flag of advertisement data was the problem.
My application using BT(HFP) and BLE(very often and continuously) simultaneously.
How do I set the flag?
(BTM_BLE_GENERAL_DISCOVERABLE_FLAG | BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_CONTROLLER_SUPPORTED) or
(BTM_BLE_GENERAL_DISCOVERABLE_FLAG | BTM_BLE_BREDR_NOT_SUPPORTED) ?
I think the advertisement flags need to be BTM_BLE_GENERAL_DISCOVERABLE_FLAG | BTM_BLE_SIMULTANEOUS_DUAL_MODE_TO_SAME_DEVICE_CONTROLLER_SUPPORTED if you are establishing both the LE and BR/EDR connection with the same device.