Hi.
I'm using GTL to control a master from a PC via UART. The problem is that sometimes the master BLE is reset after sending command disconnect(app_disconnect).
Usually PC can receive disconnect indication(GAPC_DISCONNECT_IND) soon after sending disconnect command ,but when this problem is occurred cannot receive the disconnection indication and be reset after 7 seconds. Could you give me some advice about this issue?
Thank you.
Device:
Hi Daekeun Yun,
Which SDK are you using is it the 3.0.10 or an older one ?
Thanks MT_dialog
I'm using 3.0.10.1.
Thank you.
Hi Daekeun Yun,
Since you are using the latest SDK there shouldn't be a problem, can you tell me a few things about your application, maybe send us some code and try to recreate your issue?
Thanks MT_dialog
Thank you for your help.
I want share my source code with you. May I ask your e-mail address for sending source code?
I upload a project which is example src of my GTL project.
A document (pdf) is included which explains the state machine of this project.
Basically this master module is continuously repeating : scanning -> check bd address and connect -> service enable -> read characteristic -> disconnect
Reset is occurred after disconnection command is sent.
This module do not use sleep mode neither flow control.
BleCtrlFSM (in ble_msg.c) function runs main state machine.
I earnestly need your help.
Thank you.
Best regards.
Daekeun Yun.
Hi Daekeun Yun,
Mail sent.
Thanks MT_dialog