- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
One of my customer is having problem with reconnecting PSoC 6 BLE after disconnection, such as power down.
The cusotmer is using a couple of PSoC 6 BLEs, one for central and the other for device.
And the issue is that once peripheral disconnection (such as power down) takes place,
after restarting the device, communication fails to re-establishing.
What customer is doing are
(1) When Central detects CY_BLE_GATT_DISCONNECT_IND Event,
Central scans the peripheral using Cy_BLE_GAPC_StartScan
(2) When Central finds the returned peripheral in the CY_BLE_EVT_GAPC_SCAN_PROGRESS_RESULT,
reconnection seems to be established using Cy_BLE_GAPC_ConnectDevice
(3) But now sending/receiving data is not working.
Would someone teach us what step or process is missing to recover normal send/receive connection
between the Central and the peripheral Deivce?
Best Regards,
21-Dec-2022
Motoo Tanaka
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Tags:
- ble
- Reconnection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MotooTanaka ,
Have you gone through this code example CE222046 -PSoC 6 BLE Throughput Measurement. Which has two projects one as central and another as peripheral you can refer this for data sending and receiving though it doesn't have power down feature in this code example .
Please let me know if this doesn't help.
You can refer this link for code example
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MotooTanaka ,
Have you gone through this code example CE222046 -PSoC 6 BLE Throughput Measurement. Which has two projects one as central and another as peripheral you can refer this for data sending and receiving though it doesn't have power down feature in this code example .
Please let me know if this doesn't help.
You can refer this link for code example
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear @PratikshaV -san,
Thank you very much for your response!
We will ask the customer if they have referenced the CE.
I will keep you updated when we hear from the customer.
Best Regards,
22-Dec-2022
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear @PratikshaV -san,
The customer replied that they did not know about the CE
and they are going to test it.
Again, I will keep you updated when we hear from the customer.
Best Regards,
23-Dec-2022
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear @PratikshaV -san,
The customer could solve their problem by referencing the CE you mentioned!
Thank you very much!
Best Regards,
23-Dec-2022
Motoo Tanaka