- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm testing hci_serial_gatt_service for the BLE Serial Service.
- Unidirectional data transmission is not a problem.
- Client_Control.exe ===> CYW20706(Peripheral) ===> LE BSG Client(Central) : OK
- LE BSG Client(Central) ===> CYW20706(Peripheral) ===> Client_Control.exe : OK
- But, When continuous data is sent in both directions, there is a problem that data can not be transmitted or received.
- Client_Control.exe <===> CYW20706(Peripheral) <===> LE BSG Client(Central)
<Test Environment>
- Chipset : CYW20706
- WICED Version : WICED-Studio-6.1
- Example : hci_serial_gatt_service
- Test Program : Client_Control.exe & LE BSG Client(apk)
<Test Procedure>
- "hci_serial_gatt_service" Build & Download
- RUN the Client_Control.exe
- Start Advertise
- RUN the LE BSG Client
- Search and Connect
- Continuous data transmission from Client_Control.exe to LE BSG Client.
- Continuous data transmission from LE BSG Client to Client_Control.exe.
How can I solve this problem.
Please, Help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jmlee_1578121,
As per my understanding, you want simultaneous transmission of data over GATT.
Simultaneous data transmission using GATT profile is not possible according to spec. So I don't think you will be able to achieve Client_Control.exe <===> CYW20706(Peripheral) <===> LE BSG Client(Central) this purpose here.
Please explain more about your query to make it more clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jmlee_1578121,
As per my understanding, you want simultaneous transmission of data over GATT.
Simultaneous data transmission using GATT profile is not possible according to spec. So I don't think you will be able to achieve Client_Control.exe <===> CYW20706(Peripheral) <===> LE BSG Client(Central) this purpose here.
Please explain more about your query to make it more clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi shjl
Is it impossible to send and receive data in both directions at the same time using Serial over GATT?
Is this not supported by the Bluetooth SPEC?
In more detail, I want to implement the following.
a. Periodically, data is sent from CYW20706 to BSG Client(Android Phone APP).
b. At the same time, data is sent from BSG Client(Android Phone APP) to CYW20706.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jmlee_1578121,
Please check Bluetooth spec section 6 BLUETOOTH APPLICATION ARCHITECTURE -> 6.4 GENERIC ATTRIBUTE PROFILE (Spec version 5.0): https://www.bluetooth.com/specifications/bluetooth-core-specification
This will give you detailed info of GATT profile.
I don't think the simultaneous transmission of data is possible. You have to send data one after another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi shjl
I can not understand your explanation.
Although I may misunderstand,
There seems to be no point in the BLUETOOTH SPEC that continuous two-way communication is not possible.
After all, does WICED's BSG Solution (BLE Serial Service) not support full_duplex?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jmlee_1578121,
GATT server and client works on request-response manner.
This may give you an insight on the data exchange process: https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gatt
We do not support full duplex transmission over GATT in WICED.