Wi-Fi Combo Forum Discussions
text.format{('custom.tabs.no.results')}
When EPD occurs after receiving the user's voice input, I try to send the voice data to the Google REST API.
By the way, Google does not provide SDKs made in C language.
I wonder if there is a way to do End Point Detection of voice data received from users in CYW43907.
Show Lesscyw54907 use default boot, 802.11ac 20MHZ is ok,but 40MHZ or 80MHZ is not wokr(not find ssid)
We have been trying to achieve simultaneous Bluetooth classic and LE connection. BT classic application and BLE application running simultaneous on the target board. Using two dedicated android phones to connect over classic and LE link respectively. We are facing the following issues,
1. Only the unique advertisement string assigned for Bluetooth classic is always discoverable. Couldn't find LE advertisement name using LE scanner android app.
2. While initiating the connection for Bluetooth classic with android mobile , LE is always taking precedence over classic(as seen from the logs in the target device)
Request your insights and help on the same.
Show LessHello,
I keep getting a 36480 (0x8E80) error returned from wiced_tcp_stream_read_with_count() and wiced_tcp_receive().
How do I determine what his error means? This error causes the connection to be closed. When downloading a binary file, I have to keep re-connecting and re-starting the download where I left off. To make it more interesting, this happens often when connected to a WiFi router (WPA2) of various models but does not happen at all when connected to an Android (Verizon) hot spot.
Please let me know what other information would be beneficial for me to share.
Laird STerling EWB ( Cypress CYW4343W + STM32F412)
Wiced Studio 6.6
Regards,
-Rocko
Show LessHello all;
i want to execute my c99 source code on my CYW943907AEVAL1F evaluation kit.
I implemented a basic publish-subscribe application by using OP C-UA (open62541 git) libraries on my Ubuntu 16.04 PC.
In this application i have 2 source code. (basically publisher.c and subscriber.c) publisher creates a server and pub-sub connection and publishes int32 info entered by the user and subscriber subscribe to this pub-sub connection and gets the data.
Now i want to implement publisher side on CYW943907AEVAL1F evaluation kit. So i downloaded wiced studio. (version is written below*). And implemented some demo applications explained in YouTube. All working well, there is no problem.
To use my existing codes that i have compiled on GCC before,
1-I configured AMALGAMATION = ON in c make configurations. TO use compact open62541.c and open62541.h source and header files.
2-put these files in my project folder. apps/pubsub3/open62541.c, apps/pubsub3/open62541.h
3-add c standard include folder(/usr/include/) used by header file. apps/pubsub3/include(I'm not sure if this is necessary but during compilation(after double click make target or using ./make pubsub3-CYW943907AEVAL1F-FreeRTOS-LwIP download run) command in terminal) i got following error:
"apps/pubsub3/open62541.h:162:10: fatal error: arpa/inet.h: No such file or directory
#include <arpa/inet.h>"(and similar header files like this.)
4-put pubsub3.c file into project folder apps/pubsub3/pubsub3.c
5-create .Mk file apps/pubsub3/pubsub3.Mk like below:
"NAME := apps_pubsub3
$(NAME)_SOURCES :=pubsub3.c \open62541.c
$(NAME)_INCLUDES += /apps/pubsub3/include"
6-This gives the following error. Probably there are so many mistakes about configuration.
18:16:30 **** Build of configuration Default for project 43xxx_Wi-Fi ****
/home/osboxes/Documents/WICED-Studio-6.6/43xxx_Wi-Fi/make pubsub3-CYW943907AEVAL1F-FreeRTOS-download run
MAKEFILE MAKECMDGOALS=pubsub3-CYW943907AEVAL1F-FreeRTOS-download run OTA2_SUPPORT is disabled
Making config file for first time
./tools/makefiles/wiced_config.mk:267: *** Unknown component: download. Stop.
make: *** No rule to make target `build/pubsub3-CYW943907AEVAL1F-FreeRTOS-download/config.mk', needed by `main_app'. Stop.
18:16:30 Build Finished (took 121ms)
7-Is there a way to use OPC- UA files (or integrate OPC-UA files) in the project? For example i want to publish an information to the server when i press the button. Is it possible?
But first i need to compile this code. Then i can include wiced.h to use buttons leds etc. There is another threat about this:Unable to integrate the OP C-UA files into the current project .but the it seems it was not resulted clearly.
* Version: wicked_006.006.000.0009
b38d42ee8368ff374b13514286120afd9e788a07
Show LessI am using a Murata's 1LD(CYW43438 combo chipset + STM32F412 MCU) development board. I am using WICED studio's IDE and built system for development and building. I am using ST micro's DfuSe (USB Device Firmware Upgrade host application) for programming, which is expecting a .DFU file to upload. There is another application provided by ST micro (DfuFileMgr) which takes S19, BIN and HEX files as input and output DFU file. Multiple bin files can be used to create a single DFU file. The WICED built system has generated multiple bin files (Bootloader, 2 DCT, Filesystem, APP LUT and sflash_write). I am not sure of the files and flash address for each of the files that has to be given as input to the DfuFileMgr for making a single DFU file. Request your help on the same.
Bin file list
1. 43xxx_Wi-Fi\build\waf.bootloader-NoOS-MurataType1LD\binary\waf.bootloader-NoOS-MurataType1LD.bin
2. 43xxx_Wi-Fi\build\waf.bootloader-NoOS-MurataType1LD\DCT.bin
3. 43xxx_Wi-Fi\build\snip.scan-MurataType1LD\binary\snip.scan-MurataType1LD.bin
4. 43xxx_Wi-Fi\build\snip.scan-MurataType1LD\APPS.bin
5. 43xxx_Wi-Fi\build\snip.scan-MurataType1LD\DCT.bin
6. 43xxx_Wi-Fi\build\waf.sflash_write-NoOS-MurataType1LD-SDIO\binary\waf.sflash_write-NoOS-MurataType1LD-SDIO.bin
Show LessWICED SDK 3.5.2 IDE Installer and .7z Source files
The WICED SDK provides a full compliment of application level APIs,
libraries and tools needed to design & implement secure embedded wireless
networking applications.
=====================================================================
Broadcom WICED Software Development Kit 3.5.2 - README
=====================================================================
Only one installer issue with Java 8 (update 66) is known.
Major features of the WICED SDK include ...
- Low-footprint embedded Wi-Fi Driver with Client (STA), softAP and Wi-Fi Direct
- Wi-Fi <-> Bluetooth SmartBridge
- Various RTOS/TCP stack options including
- ThreadX/NetX (IPv4), ThreadX/NetX Duo (IPv6), FreeRTOS/LwIP (IPv4)
- Support for various Broadcom Wi-Fi & combo chips
- BCM4390 Integrated Apps + Wi-Fi SoC
- BCM4390X (43909, 43907 and 43903) Integrated Apps + Wi-Fi SoC
- BCM43362 Wi-Fi SoC
- BCM43364 Wi-Fi SoC
- BCM43341 Wi-Fi SoC
- BCM43438 Wi-Fi SoC
- BCM43341 Wi-Fi + Bluetooth combo SoC
- Support for various MCU host platforms
- ST Microelectronics : STM32F2xx, STM32F4xx
- Atmel : AT91SAM4S16B
- Freescale : K61
- NXP : LPC17xx, LPC18xx
- RTOS & Network abstraction layer with a simple API for UDP, TCP, HTTP, HTTPS communications
- SSL/TLS Security Library integrated with an HTTPS library for secure web transactions
- WICED Application Framework including Bootloader, OTA Upgrade and Factory Reset
- Second flavor of OTA and Factory Reset (called OTA2)
- Automated Wi-Fi Easy Setup using one of several methods
- SoftAP & Secure HTTP server
- Wi-Fi Protected Setup
- Apple Wireless Accessory Configuration (WAC) Protocol
- Simple API to provide access to MCU peripherals including UART, SPI, I2C, Timers, RTC, ADCs, DACs, etc
- Support for multiple toolchains including GNU and IAR
- Support for Apple AirPlay and HomeKit
The WICED SDK release is structured as follows:
apps : Example & Test Applications
doc : API & Reference Documentation
include : WICED API, constants, and defaults
libraries : Bluetooth, daemons, drivers, file systems, inputs, and protocols
platforms : Evaluation board support package, including Eval Board and Module Schematics
resources : Binary and text based objects including scripts, images, and certificates
tools : Build tools, compilers, debugger, makefiles, programming tools etc.
tools/drivers : Drivers for WICED evaluation boards
WICED : WICED core components (RTOS, Network Stack, Wi-Fi Driver, Security & Platform libraries)
WICED/WWD : The WICED Wi-Fi Driver (equivalent to the Wiced directory in previous SDK-1.x releases)
README.txt : This file
CHANGELOG.txt : A log of changes for each SDK revision
Getting Started
---------------------------------------------------------------------
If you are unfamiliar with the WICED SDK, please refer to the
WICED Quickstart Guide located here: <WICED-SDK>/doc/WICED-QSG2xx-R.pdf
The WICED Quickstart Guide documents the process to setup a computer for
use with the WICED SDK, IDE and WICED Evaluation Board.
The WICED SDK includes lots of sample applications in the <WICED-SDK>/Apps directory.
Applications included with the SDK are outlined below.
apps/demo : Demonstration Applications
- Applications demonstrating how to integrate various WICED API features
apps/snip : Application Snippets
- Various applications to demonstrate usage of individual WICED APIs
apps/test : Test & Utility Applications
- console : Provides various test features including Iperf for throughput testing
- mfg_test : Manufacturing Test application to enable radio performance and certification testing
apps/waf : WICED Application Framework
- bootloader : Bootloader application used in conjunction with the WICED Application Framework
- sflash_write : Serial flash application used to write data into external serial flash
apps/wwd : Wiced Wi-Fi Driver Applications to demonstrate advanced usage of the low layer Wi-Fi driver
To obtain a complete list of build commands and options, enter the following text in the
base WICED SDK directory on a command line:
$> make
To compile, download and run the Wi-Fi scan application on the Broadcom BCM943362WCD4 evaluation platform,
enter the following text on a command line (a period character is used to reference applications
in sub-directories) :
$> make snip.scan-BCM943362WCD4 download run
The default RTOS and Network Stack components are defined in the WICED configuration makefile
at <WICED-SDK>/tools/makefiles/wiced_config.mk. The default I/O bus component is defined in the platform
makefile at <WICED-SDK>/platforms/<Platform>/<Platform>.mk. Defaults may be bypassed by specifying the
component as part of the build string if desired as shown in the following example.
$> make snip.scan-BCM943362WCD4-FreeRTOS-LwIP-SDIO download run
Source code, headers and reference information for supported platforms are available
in the <WICED-SDK>/platforms directory. Source code, headers, linker scripts etc that
are common to all platforms are available in the <WICED-SDK>/WICED/platform directory.
Supported Features
---------------------------------------------------------------------
Wi-Fi & Bluetooth SmartBridge Features
* Scan and associate to Wi-Fi access points
* Authenticate to Wi-Fi Access Points with the following security types:
Open, WEP-40, WEP-104, WPA (AES & TKIP), WPA2 (AES, TKIP & Mixed mode)
* AP mode with support for security types : Open, WPA, WPA2
* Concurrent AP & STA mode (AP mode limited to 3 concurrent connected clients)
* Wi-Fi Direct
* WPS 1.0 & 2.0 Enrollee & Registrar (Internal Registrar only)
* Wi-Fi APIs : Network keep alive, packet filters
* Host <-> Wi-Fi SDIO & SPI interface
* Bluetooth SmartBridge with multiple connections including the
following features: Whitelist, Bond Storage, Attribute Caching,
GATT Procedures, Configurable Maximum Concurrent Connections, Directed
Advertisements, Device address initialisation, Passkey entry
* Host <-> Wi-Fi via Memory to Memory DMA engine
Bluetooth Features
* Bluetooth Dual-mode stack support - classic BR/EDR and BLE modes
- Also available BLE-only stack library with reduced memory footprint
* Generic Attribute (GATT) profile
- Sample BLE applications - Hello sensor and Proximity reporter
* A2DP v1.2 (Advanced Audio Distribution Profile)
- A2DP Sink Functionality
- SBC Decoder
* AVRCP (Audio/Video Remote Control Profile)
- AVRCP Controller v1.3
- AVRCP Target v1.5 (Absolute Volume)
* Man-Machine-Interface via buttons
- AVRCP play/pause/Skip-forward/Skip-backward
- A2DP Volume Up/Down
* SDAP (Service Discovery Application Profile)
* GAP (Generic Access Profile)
RTOS & Network Stack Support
* FreeRTOS / LwIP (full source)
* ThreadX / NetX (object file; free for use with WICED *ONLY*)
* ThreadX / NetXDuo (object file; free for use with WICED *ONLY*)
Networking Features (IPv4 & IPv6)
* ICMP (Ping)
* ARP
* TCP
* UDP
* IGMP (Multicast)
* IPv6 NDP, Multicast
* DHCP (Client & Server)
* DNS (Client & Redirect Server)
* mDNS/DNS-SD Zeroconf Network Discovery (Broadcom Gedday)
* TLS1.0/1.1/1.2 (object file with host abstraction layer; free for use with WICED *ONLY*)
* HTTP / HTTPS (Client & Server)
* SNTP
* SMTP
Application Features
* Apple AirPlay (requires Apple authentication co-processor; available to Apple MFi licensees *ONLY*)
* Apple HomeKit (available to Apple MFi licensees *ONLY*)
* Bluetooth Audio
* Peripheral interfaces
* GPIO
* Timer / PWM
* UART
* SPI
* I2C
* RTC (Real Time Clock)
* Xively "Internet of Things" protocol
* COAP (Constrained Application Protocol)
* MQTT (MQ Telemetry Transport) with AWS sample application
* WICED Application Framework
* Bootloader
* Device Configuration Table (region in flash to store AP, security credentials, TLS certs, serial number, Wi-Fi country code, etc)
* OTA upgrade
* Factory reset
* Automated configuration via softAP & webserver
* Apple Wireless Accessory Configuration (WAC) protocol (available to Apple MFi licensees *ONLY*)
* System Monitor to manage the watchdog
Toolchains
* GNU make
* IAR
Hardware Platforms
BCM43362
* BCM943362WCD4 : Broadcom WICED Module with STM32F205 MCU mounted on BCM9WCD1EVAL1
* BCM943362WCD6 : Broadcom WICED Module with STM32F415 MCU mounted on BCM9WCD1EVAL1
* BCM943362WCD8 : Broadcom WICED Module with Atmel SAM4S16B MCU mounted on BCM9WCD1EVAL1
* BCM9WCDPLUS114 : WICED+ Eval Board (includes BCM43362+STM32F205 WICED+ Module and BCM20702 Bluetooth module)
* BCM9WCD1AUDIO : Broadcom WICED Audio Evaluation Board (includes BCM43362, STM32F415, WM8533 audio DAC, and BCM20702 Bluetooth module)
BCM943364
* BCM943364WCD1 : Broadcom WICED Module with STM32F215 MCU mounted on BCM9WCD1EVAL1
* BCM943364WCDA : Broadcom WICED Module with Atmel SAM4S16B MCU mounted on BCM9WCD1EVAL1
BCM943341
* BCM943341WCD1 : Broadcom BCM43341-based WICED Module with STM32F417 MCU mounted on BCM9WCD5EVAL1
BCM4390
* BCM94390WCD2 : Broadcom BCM4390 SiP-based WICED Module on BCM9WCD3EVAL1
BCM43909
* BCM943909WCD1_3 : Broadcom BCM43909 SiP-based WICED Module on BCM943909WCDEVAL_1
* BCM943907AEVAL1F_1 : Broadcom BCM43907WLCSPR SiP-based WICED Module on BCM943907AEVAL1F_1
* BCM943907WAE_1 : Broadcom BCM43907WCD2 SiP-based WICED Module on BCM943907WAE_1
* BCM943903WCD1_1 : Broadcom BCM43903 SiP-based WICED Module on BCM9WCD8EVAL1
Known Limitations & Notes
---------------------------------------------------------------------
* Description - WICED_Audio: DUT resets if incoming call received/outgoing call initiated during Airplay streaming.
Workaround - No work around
Resolution - Targeting to be fixed in the next SDK release
* Description - WICED_Audio: Play/Pause/FWD/BCKWD does not work with Mac Book Air and BTW.
Workaround - No work around
Resolution - Targeting to be fixed in the next SDK release
* Description - snip.email: Email is not being send shows error
Workaround - No work around
Resolution - Targeting to be fixed in the next SDK release
* Description - snip.https_server: Showing error in console while opening the webpage
Resolution - Targeting to be fixed in the next SDK release
* Description - snip.ping_webserver" is not working properly in debug mode, giving exceptional error also for snip.https client and demo.appliance apps
Workaround - No work around
Resolution - Targeting to be fixed in the next SDK release
* Description - demo.temp_control: App stuck at the initial phase of booting up
Workaround - No work around
Resolution - Targeting to be fixed in the next SDK release
* Description - snip.thread_monitor not working properly in both release mode and debug mode
Workaround - No work around
Resolution - Targeting to be fixed in the next SDK release
* Description - Switching from Airplay to Bluetooth may result in silence if Bluetooth connection is established after the Airplay streaming has commenced.
Workaround - Switching back a second time should resolve the issue.
Resolution - Targeting to be fixed in the next SDK release
* Description - Switching between Bluetooth music and Handsfree voice may fail after a few iterations
Workaround - None
Resolution - Targeting to be fixed in the next SDK release
* Features not yet supported in WICED-SDK-3.5.2
- IAR Embedded Workspace native support
- WAC procedure is not supported for AP mode with WEP security
* Platform Restrictions:
BCM943341WCD1
- Wi-Fi Direct not support
- SPI bus not supported
BCM4390WCD2
- Wi-Fi Direct not supported
- WPS may timeout with some access points
* Wi-Fi Powersave (1)
The WLAN chip requires an external 32kHz sleep clock input during powersave.
Platforms that do not support Wi-Fi powersave (per the table above) are
not capable of driving the WLAN sleep clock. An external 32kHz clock is
required for these platforms.
* libc does not include support for printing uint64_t (long long)
* RTOS detection may cause OpenOCD to crash in the following situation:
GDB has an elf containing a known RTOS loaded, and your app is using the
RTOS memory for other purposes. This situation may occur while debugging
the bootloader
SOLUTION : Remove " -rtos auto " from the <WICED-SDK>/Tools/OpenCD/OpenOCD
.cfg file that matches your hardware debugger
(ie. BCM9WCD1EVAL1.cfg for WICED Evaluation Boards)
* For the 43362, AP mode when running with Wi-Fi Direct is limited to 2 STA clients
* P2P feature
If the board's MAC address is locally administered then it needs to be modified
to become a global address or P2P will not initialize.
First build the application using the SDK, then find the
generated_mac_address.txt file and modify the MAC address.
Ex: Change text "macaddr=02:0A:F7:9c:76:f2" to "macaddr=00:0A:F7:9c:76:f2"
Tools
---------------------------------------------------------------------
The GNU ARM toolchain is from Yagarto, http://yagarto.de
Programming and debugging is enabled by OpenOCD, http://openocd.berlios.de
The standard WICED Evaluation board (BCM9WCD1EVAL1) provides two physical
programming/debug interfaces for the STM32 host microprocessor: USB-JTAG and direct
JTAG. The WICED Evaluation board driver additionally provides a single USB-serial
port for debug printing or UART console purposes.
The USB-JTAG interface is enabled by the libftdi/libusb open source driver,
http://intra2net.com/en/developer/libftdi.
The direct JTAG interface works with third party JTAG programmers including
Segger, IAR J-Link and Olimex ARM-USB-TINY series. OpenOCD works with the libftdi/libusb
USB-JTAG driver shipped with the WICED SDK and commercially available JTAG drivers
available from third party vendors.
Building, programming and debugging of applications is achieved using either a
command line interface or the WICED IDE as described in the Quickstart Guide.
Instructions to use the IAR toolchain are provided in a README located in the
following directory: <WICED-SDK>/Tools/IAR
Show LessHello.
I see on you site that is available the new CYW54907 processor.
I have developed I firmware for the "old" CYW43907 processor and my collegue is drawing the board schematics.
The new processor if fully compatible from the old ?
Can I use the same firmware (obviously I compile this for CYW54907) ?
Show LessHello,
I am looking for a functional example of using WICED OTA and OTA2 with the CYW4343W (LAIRD EWB).
The OTA example compiles and runs on the module however, after applying the update, the module does not run the new firmware. It appears the OTA2 examples, were not written with the CYW4343W in mind. Any assistance in this would be greatly appreciated. My target requires OTA2 however, operation and understanding of OTA would be beneficial as well.
Thank you,
-Rocko
Show LessHello.
I configured CYW943907AEVAL1F as STAtion.
I want to know if there is a way to know when a STA connects to my AP.
I try to use
wiced_network_register_link_callback ( (wiced_network_link_callback_t)&onWiFiConnect, NULL, (wiced_network_link_callback_t)&onWiFiDisconnect, NULL, WICED_AP_INTERFACE );
but "onWiFiConnect" or "onWiFiDisconnect" callbacks never execute
Show Less