I have a simple console service that works when paired, but I can't for the life of me figure out how to get it to function while unpaired. I saw this thread about refusing pairing:
The solution works in that the master no longer attempts to pair, or at least no longer prompts the user to pair, but it doesn't work in that I get various errors and cannot maintain a connection. Disabling the callback added via the solution makes the code work again, but the user is prompted to pair.
The service is a simple console service, basically like the Nordic UART Service. For now I'm even using the NUS UUIDs to test with generic console apps. I have it working when paired (no bonding), but it will not work when using the linked solution to disable pairing. I've set the various flags - pairing_params has LESMP_AUTH_FLAG_NO_BONDING, encr_required is set to 0, and I am not sending any security requests because as mentioned in this thread sending a security request should result in bonding.
I've verified that it's not the console phone app that I'm using that's trying to pair. When using a similar service set up on a Raspberry Pi no pairing is requested.
This is for WICED Smart Bluetooth using the BCM920737Show Less
Hello. We are trying to get Bluetooth A2DP functionality up and running on a 20721 design. Starting with the EVK (CYW920721B2EVK-02) the code is up and running and we are able to establish a connection with a mobile phone to stream audio. However when this connection starts, the audio stream does not get started.
When the streaming begins from the phone we see this in the WICED_TRACE output, and it looks like the jitter buffer never enters into the
state, so the audio stream never opens.
jitter_buffer_event_handler (status : 0x07)
jitter_buffer_event_handler: ignore states
What could be going wrong here and how do we get the stream open, and data flowing?
In our design, we will need to capture the decoded PCM data which we are hoping to do with either the audio_record APIs or the I2S_inject APIs so that we can route this data over to our playback device (which does not have a PCM or I2S interface).
Thanks in advance for your help!
I bought a CYBLE-013025-EVAL , and it includes CYW20737 silicon device . I saw the datasheet of CYW20737 mentioned it supports "Bluetooth Smart Audio", and details can available in application notes on this topic. However, I can't find related application notes introduce how to implement this function by SDK(WICED SMART). Does there has application notes about how to implement Bluetooth Smart Audio?
Best regardsShow Less
I was trying to find some of the documentation on WICED Smart that I was previously looking at but I can't seem to find it. I went to the download page ( https://www.cypress.com/products/wiced-software ) and all of the WICED studio links lead to "page not found". Are the documents and other downloads still available?Show Less
I was following along with the "find me" tutorial on the "Getting Started with EZ-BLE WICED Modules" document and noticed the "bleprofile_LEDOn();" function did not work. What function do you recommend using to turn on the evaluation board LEDs and pins instead (and how can I implement the function)? Also is there anywhere that I could find a description of common functions and how to use them for this specific board (CYBLE-013025)? Any help would be great!
Thank you very much,
Does anyone know how to set the TAG4 board switches so i can use the MBT.exe tool to test the Bluetooth regulatory part. Basically how to set the TAG4 board switch to enable HCI command and then i can use the Manufacturer Bluetooth Test Tool (mbt.exe).
I was trying to re-program the demo application that came with the eval board.
Through ModusToolbox, I downloaded the "Audio-20721B2EVK02" application. I was able to build the "Audio-20721B2EVK02.a2dp_sink" project fine, but a few other audio projects are having compilation issues, 1 specifically "Audio-20721B2EVK02.headset"
headset_control.c:673:14: error: 'BTM_BLE_REMOTE_CONNECTION_PARAM_REQ_EVT' undeclared (first use in this function); did you mean 'BTM_BLE_CONNECTION_PARAM_UPDATE'?
This seems to be missing from wiced_bt_dev.h.
Is this project deprecated, or is there some library update that must be done ?
wiced_btsdk release-v2.6.0 18c098e
Audio-20721B2EVK02 release -v2.7.1 7831effShow Less
I am looking at the hello_sensor example project, and I see the call to wiced_bt_start_advertisements(), which starts advertising, and I can see the BLE device show up on a BLE scanning app.
What I am trying to do now is stop the advertising after 1 minute to try to save power if no client has connected to the device. I do not see a corresponding wiced_bt_stopadvertisements() function anywhere.
Does anyone the API call to stop the device from advertising?Show Less