background image

Broadcom BCM943364WCD1 C-SDK Setup Guide (v 1.0)

 

 

14   

2. 

Verify that the edited files (SSID, Appkey, IP address) are exactly 
correct with no syntax errors, such as a missing quotation mark.  The 
Appkey must be exactly correct, the server hostname should be correct 
(for IP addresses, type the IP address without “http”).  

3. 

Try to use a different version of either the WICED SDK or ThingWorx C-
SDK. 

3.   

The device is not visible via USB / Serial in 
either a guest or host operating system 

1. 

Follow directions from your virtual machine provider to ensure that the 
device is connected via serial in “pass-through” from the host computer. 

2. 

For problems with the host computer, make sure you have the WICED 
drivers installed before connecting the device to your computer.  Use 
Windows and download/install the WICED 3.5.x .exe installer, which 
includes serial drivers, from 

https://community.broadcom.com/community/wiced-wifi/wiced-wifi-
documentation

 

4.   

Cannot connect to the device via PuTTY or 
another terminal program, or no console output 

1. 

Verify that the device is properly connected to the computer or virtual 
machine you are attempting to view the console from. 

2. 

Verify that the proper USB serial drivers are installed. 

3. 

Verify that the baud rate of the serial connection is 115200. 

4. 

Verify that the SDK has compiled correctly on the device. Disconnect it 
and reconnect it before trying again. 

5. 

Try an alternative terminal program, such as PuTTY or HyperTerminal. 

5.   

Cannot bind a Thing to the Broadcom Device in 
Thingworx. 

1. 

Ensure that the Thing name you are creating is 

exactly

 the same as the 

device’s ID in the ThingWorx Unbound Things page.  The Thing name 
can alternatively be customized if it is set to be an identifier in the 
source code. 

2. 

Ensure the Thing you are creating is of the RemoteThing Template. 

3. 

Refer to ThingWorx support for further assistance. 

6.   

Device will not connect to ThingWorx server / is 
not visible under “Unbound Things”. 

1. 

Check the “All” tab instead of the unbound things tab to confirm that the 
device is not already bound to a Remote Thing. 

2. 

Double-check the connection settings in “

thingworx.c

”. Re-compile if 

changes were necessary. 

3. 

Confirm that the wifi network is active and that the connection 
parameters in “

wifi_config_dct.h

” are exactly correct.  Switch to testing 

on an unsecured wifi network if necessary. Ensure you have the latest 
WICED SDK installed.  Contact Broadcom if the device will not connect 
to any WiFi network. 

4. 

Verify that no firewall or network configuration settings are preventing 
the device from communicating with a remote ThingWorx server. 

This is 

a common problem.  

 

5. 

Test on a locally-hosted ThingWorx platform to rule out internet 
connectivity issues. 

 

Summary of Contents for ThingWorx Broadcom BCM943364WCD1 C-SDK

Page 1: ...Broadcom BCM943364WCD1 C SDK Setup Guide Version 1 0...

Page 2: ...disclosed to third parties or used in any manner not provided for in the software licenses agreement except with written prior approval from PTC UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN...

Page 3: ...duction 2 About the Broadcom BCM943364WCD1 2 Installation 3 Downloads and Prerequisites 3 Configuration and Setup 5 Compiling and Running the Application 8 Binding Properties in ThingWorx 10 Troublesh...

Page 4: ...featured USB based evaluation and development board that is fully compatible with the WICED Wi Fi Software Development Kit SDK Designed to be a lower cost alternative to the popular BCM43362 the onboa...

Page 5: ...leshooting section of this guide for help with frequently asked questions Downloads and Prerequisites 1 Begin by downloading the WICED 3 5 x latest SDK from https community broadcom com community wi c...

Page 6: ...3364WCD1 C SDK Setup Guide v 1 0 4 3 Once downloaded extract the compressed WICED SDK Install p7zip first if you do not already have it sudo apt get install p7zip full unzip file_name 7z zip 7za x fil...

Page 7: ...he ThingWorx C SDK from the PTC support site downloads section at support ptc com 8 Open the Thingworx C SDK and copy the src folder to WICED SDK 3 5 x apps demo thingworx Configuration and Setup 1 Ex...

Page 8: ...h and twWicedThread c files located in src porting in the Extracted Starter Kit package to WICED SDK 3 5 x apps demo thingworx src porting 4 Open and edit the file apps demo thingworx src porting twO...

Page 9: ...ingworx thingworx c Edit the following line to include the IP address of the ThingWorx server which the device will connect to define TW_HOST type_ip_address_here Edit the following line to include a...

Page 10: ...directory 2 Make sure that the Broadcom device is connected via USB Note If performing this in a Linux virtual machine environment you ll need to set up the VM so that the USB device is connected to...

Page 11: ...st operating system use a client such as PuTTY The device will first need to be connected to the host operating system and the virtual machine may need to be shut down The drivers for the WICED device...

Page 12: ...COM port shown in the Device Manager and connect via Serial at baud rate 115200 The console output from the device should immediately be visible Confirm that a log similar to the following is shown B...

Page 13: ...to a Thing and begin binding properties follow the standard procedure for binding a Remote Thing Create a new Thing in Thingworx Composer with the same name as the remote Unbound Thing Ensure that th...

Page 14: ...s a simulator on the device They include Temperature and Pressure Click Add All Above Properties to add these properties to the Thing and then click Done 5 After saving and refreshing you should see p...

Page 15: ...ake sure you have pzip installed on the linux machine and make sure you are using the proper extraction method Type sudo apt get install p7zip full unzip file_name 7z zip 7za x file_name 7z 2 Try extr...

Page 16: ...nnection is 115200 4 Verify that the SDK has compiled correctly on the device Disconnect it and reconnect it before trying again 5 Try an alternative terminal program such as PuTTY or HyperTerminal 5...

Page 17: ...via HTTPS SSL TLS Compatibility This guide has been tested for compatibility with the DEVICE and the following ThingWorx platform and operating system ThingWorx Platform Version ThingWorx 7 0 0 OS Win...

Reviews: