- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We would like to connect the CYW20706 to a portofoon taget device and currently have this working, but our customer wants to implement AT commands which we need to send in order to configurate the target device.
We are currently using the CYW920706WCDEVAL dev kit and have the audio track working with the 'Headset' example and the AT command interface working with the 'Audio gateway' example. But the headset example uses a different BT profile which allows the audio track to work.
The headset example uses the handsfree profile in order to send and receive audio data and the Audio gateway example uses the SPP profile in order to send the AT commands neccessary.
the target device is the following:
According to the datasheet the target devices BT peripheral is described as below:
Bluetooth module:
• Bluetooth v2.1+EDR
• Bluetooth v4.x
Bluetooth audio:
• Headset profile (HSP)
• PTT extension to HSP support
Bluetooth data services:
• Serial Port Profile (SPP) for data connectivity with
body-worn printers/scanners
• Dial-up networking (DUN)
• Discovery mode
• Generic attributes profile (GATT)
• Hardware-ready for:
– Object push profile
– Heart device (heart rate & temperature)
– Battery service profile
– Devices identity profile
– MAP
– HID
– HoG
Bluetooth trusted device, auto re-connect
Is it possible for the CYW20706 to do this simultaneously?
With kind regards (and hope)
Richard.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with software team.
Yes you can use both HFP and SPP profile simultaneously. Data can be transferred via SPP when AG is connected to HF. You can look at Audio Gateway example in WICED 6.4 where SPP is implemented along with HF..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RiBe_4725556,
Do you want to use HFP and SPP profile simultaneously in order to send AT commands?
I am afraid we have not tested the HFP+SPP profile working simultaneously. There shouldn't be any limitations on hardware side. To be sure about firmware implementation, I will check with software team and update you soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sheetalj_96,
Yes we need to insert settings in the target device and these settings work via the AT command protocol which is only accepted via an SPP link. But we also need the audio track which we can't receive via the SPP link so we also need the HFP link.
Thank you for inquiring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with software team.
Yes you can use both HFP and SPP profile simultaneously. Data can be transferred via SPP when AG is connected to HF. You can look at Audio Gateway example in WICED 6.4 where SPP is implemented along with HF..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
We are curerntly using the Audio gateway example in order to be able to send the AT commands so the SPP connection in this example is working. However the HFP connection doesn't seem to produce audio when connected.
Does this example initiate both connections or is initially only the SPP connection made and do we have to create the HFP connection manually?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently, audio_gateway example does not have implementation of audio transfer. The current example shows audio connection open-close functionality. Please refer headset example for HF implementation.