Wi-Fi Combo Forum Discussions
Hi,
I am using Wiced SDK 3.5.2 and E2Studio as a development environment. This version does not support configuring BCM4343 in a Central role.
Show LessI am Using BCM43907WCD2 platform of WICED SDK for my device BCM43907 device.
In WICEDSDK4.0 =>43xx_WiFi=>Platforms=>BCM43907=>Platform.c file =>
const platform_i2c_t platform_i2c_peripherals[] =
{
[WICED_I2C_1] =
{
.port = BCM4390X_I2C_0,
.pin_sda = &platform_gpio_pins[WICED_GPIO_28],
.pin_scl = &platform_gpio_pins[WICED_GPIO_29],
.driver = &i2c_gsio_driver,
},
[WICED_I2C_2] =
{
.port = BCM4390X_I2C_1,
.pin_sda = NULL,
.pin_scl = NULL,
.driver = &i2c_gsio_driver,
},
};
in platform_i2c_peripherals[] array => WICED_I2C_2 port has both sda and sclk pins are assigned to NULL ? Is this Correct.
I have a I2C slave on this I2C Pheripheral on PINS C1 and B2 which correspond to WICED_PERIPHERAL_PIN_9,WICED_PERIPHERAL_PIN_10
const platform_i2c_t platform_i2c_peripherals[] =
{
[WICED_I2C_1] =
{
.port = BCM4390X_I2C_0,
.pin_sda = &platform_gpio_pins[WICED_GPIO_28],
.pin_scl = &platform_gpio_pins[WICED_GPIO_29],
.driver = &i2c_gsio_driver,
},
[WICED_I2C_2] =
{
.port = BCM4390X_I2C_1,
.pin_sda = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],
.pin_scl = &platform_gpio_pins[WICED_PERIPHERAL_PIN_10],
.driver = &i2c_gsio_driver,
},
};
Still I am Not able To Probe On This Device . Can anyone Help me on this.
Show LessI've connected a BCM434381A1 (an RedBear IoT pHAT with an Ampak AP6212A module) to my Mac over an USB-UART adapter at 921600 where I run our BTstack (http://btstack.org). I'm using the initram patch from here: https://github.com/OpenELEC/misc-firmware/raw/master/firmware/brcm/BCM43430A1.hcd
When doing a performance test between the BCM and another USB Bluetooth dongle, I only receive a single packet per connection interval when the BCM is in Central Role, resulting in a mere 0.8 kB/s (200 byte ACL packets, 30 ms connection interval).
If I switch roles, BCM as Peripheral and USB Bluetooth as Central, everything works fine and I'll get more than 14 kB/s (fancy!).
Similar, with an TICC2564B instead of the BCM in the Central role, I'll also get 8.5 kB/s.
I've attached logs for WireShark/Apple's PacketLogger for the both BCM tests.
Did you see this before?
Are there vendor specific events that allow to somehow reserve more buffers to allow multiple packets per connection interval?
Should I use a different initram patch?
Cheers,
Matthias from BlueKitchen.
Show LessUsing SDK 3.1.2 and NetX stack. Calling wiced_tcp_connect() and getting an error returned of 64449 when trying to make TLS connection with user side certs loaded and advanced context. I am unable to find any reference to this return value in decimal or hex as an error code so I am lost as to what it means. After tracing it out, it appears to come from the ssl_handshake_client_async() function call. I am looking for anything that I may have broken in my code but thus far not seeing anything. I was working in totally different section of the project and those edits should not impact this code, unless this is a corruption or memory related, so I am confused as to why I am seeing this error when before it was okay.
Is there a list of error codes that I am not seeing or finding when I search the SDK? Where are the return codes for these ssl functions documented? I have seen other similar error codes but never captured them. Right now error 64449 is the one I am seeing and I need more information to debug this. What does this 64449 mean? And for future reference, can somebody document other potential return codes in case I end up seeing something else during my debugging efforts.
Thanks.
Show LessHello All,
we are working on one home automation project.
We use WICED SDK 3.5.2
I have some question :
1> Have any WICED SDK support firebase database so make get and post request
2> if First option not available so any other cloud database support by WICED SDK and which SDK support it.
Thanks
Chintan Patel
Show LessHello,
We are currently using the BCM4343W chip to handle ble and wifi and using SDK 4.1.
In our BLE profile, we have a characteristic that is used to setup the WiFi.
Obviously, this characteristic is quite big and has 114 Bytes (SSID, Password, Security Type, Static config, etc...)
During our tests, we have no issue to write into this characteristic when using an iOS app.
While using an Android app, the writing is made in smaller chunks, therefore, we get:
- 5 write callbacks (each of 20 bytes long and the last one of 14 bytes
As for the read, we were expecting to get an incremental offset in order to copy the data properly in the characteristic value.
But it is not the case... we get at each callback an offset of 0... Therefore we don't know how we can detect that the write request is not completed hence, the action behind fails because of that.
Is that normal? Shouldn't the offset be incremented in such cases?
We are testing with a generic Android app, is that the app that should increase the offset?
Snip of my Write Callback function:
// Verify that size constraints have been met
if ((ble_gatt_db_ext_attr_tbl.max_len >= p_write_request->val_len) && (p_write_request->val_len > 0))
{
// Value fits within the supplied buffer; copy over the value at position: Offset
gatt_db_ext_attr_tbl.cur_len = p_write_request->val_len;
memcpy(ble_gatt_db_ext_attr_tbl.p_data, p_write_request->p_val, p_write_request->val_len);
status = WICED_BT_GATT_SUCCESS;
WPRINT_BT_APP_INFO(("[BLE-WRITE]: Write Request: conn_id:%d hdl:0x%x prep:%d offset:%d len:%d\n ", currentConnection.conn_id, p_write_request->handle, p_write_request->is_prep, p_write_request->offset, p_write_request->val_len));
// Offset is always 0
Thank you for your feedback!
Show LessHi,
I hit below issue while connect to azure-iot using sdk-3.1.2.
https://community.cypress.com/message/12824#12824
ssl_handshake_client_async returns 5015 ERROR_PRIVATE_KEY_REQUIRED
Above link provided a fix for ThreadX NetX Duo build.
However, I'm using LwIP build.
Can someone from cypress help to provide the same fix for LwIP build on sdk-3.1.2?
Show LessHi All,
I am using wiced eclipse.I can able to compile the source code and flash it successfully.After download success a binary file is created.
Now I want to load this binary file into the board directly using JTAG with the help of STM32-ST Link utility.When I flashed the code I just compared the binary file present in the device and the binary file that want to load.Its displaying that the files are not same.
Can anyone help me regarding this issue.
Show LessDear Sirs,
I want to wirte 512KB data to the Flash of BCM94343W_AVN kit, then read these data by the application. I found many new starters(like me) have this question, but there is no a clear and complete anser or docment for this in our WICED docs. Anyone could kindly help this? Thank you.
Show Less“In Bluetooth Classic (BR/EDR) systems, a Serial Port Profile (SPP) is an adopted profile defined by Bluetooth SIG, to emulate a serial port connection over a Bluetooth wireless connection. For Bluetooth LE, an adopted profile for implementing SPP over BLE is undefined, thus emulation of a serial port must be implemented as a vendor-specific custom profile”
Has anyone on this forum been successful in implementing a BLE to UART bridge (ie. something similar to Bluetooth SPP / serial port profile) for BLE?
Thanks, - Peter