Broadcom ThingWorx Broadcom BCM943364WCD1 C-SDK Setup Manual

! ! ! ! ! ! ! ! ! !
!
!
!
!
!
!
Broadcom!BCM943364WCD1!C-SDK! Setup!Guide!
Version!1.0
Copyright © 2016 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.
Information described herein is furnished for general information only, is subject to change without notice, and should not be construed as a warranty or commitment by PTC. PTC assumes no responsibility or liability for any errors or inaccuracies that may appear in this document.
The software described in this document is provided under written license agreement, contains valuable trade secrets and proprietary information, and is protected by the copyright laws of the United States and other countries. It may not be copied or distributed in any form or medium, 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 RESULT IN CIVIL DAMAGES AND CRIMINAL PROSECUTION. PTC regards software piracy as the crime it is, and we view offenders accordingly. We do not tolerate the piracy of PTC software products, and we pursue (both civilly and criminally) those who do so using all legal means available, including public and private surveillance resources. As part of these efforts, PTC uses data monitoring and scouring technologies to obtain and transmit data on users of illegal copies of our software. This data collection is not performed on users of legally licensed software from PTC and its authorized distributors. If you are using an illegal copy of our software and do not consent to the collection and transmission of such data (including to the United States), cease using the illegal version, and contact PTC to obtain a legally licensed copy.
Important Copyright, Trademark, Patent, and Licensing Information: See the About Box, or copyright notice, of your PTC software.
UNITED STATES GOVERNMENT RESTRICTED RIGHTS LEGEND
This document and the software described herein are Commercial Computer Documentation and Software, pursuant to FAR
12.212(a)-(b) (OCT’95) or DFARS 227.7202-1(a) and 227.7202-3(a) (JUN’95), and are provided to the US Government under a limited commercial license only. For procurements predating the above clauses, use, duplication, or disclosure by the Government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software Clause at DFARS 252.227-7013 (OCT’88) or Commercial Computer Software-Restricted Rights at FAR 52.227-19(c)(1)-(2) (JUN’87), as applicable. 01012015
PTC Inc., 140 Kendrick Street, Needham, MA 02494 USA!
!
!
!
!
!
! !
Broadcom BCM943364WCD1 C-SDK Setup Guide (v 1.0)!
! 1! !
!
Software!Change!Log!....................................................................................................................................!2!
Introduction!.................................................................................................................................................!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!
Troubleshooting!.........................................................................................................................................!13!
Known!Limitations!......................................................................................................................................!15!
Compatibility!..............................................................................................................................................!15!
Document!Revision!History!........................................................................................................................!15!
!
Broadcom BCM943364WCD1 C-SDK Setup Guide (v 1.0)!
! 2! !
Software!Change!Log!
!"#$%&'(
)"*"+$"(,+-"(
./+'0"$(
1.0!
4/7/2016!
Initial!Release!
! Introduction!
! The!Edge!MicroServer!is!a!powerful!component!of!the!ThingWorx!architecture.!!The!Edge!MicroServer! allows!for!the!rapid!deployment!of!connections!between!the!ThingWorx!platform!and!an!associated! data!reporting!device,!with!minimal!design!requirements!on!the!part!of!the!user.! ! The!Edge!MicroServer!provides!an!“always-on”!connection!to!the!platform,!and!it!opens!a!local!web! server!that!interacts!with!the!REST!API!available!on!the!platform.! This!document!provides!installation!and!usage!instructions!for!setting!up!the!Edge!MicroServer!via!a! ThingWorx!C-SDK!Implementation!on!a!Broadcom!BCM943364WCD1.! !
About!the!Broadcom!BCM943364WCD1!
!
!
! The!Broadcom!BCM943364WCD1!module!is!mounted!on!a!full-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!onboard!SIP!mo du le!leve rage s! the!BCM43364!2.4!GHz!WLA N !IEEE!80 2.11 b/ g/n !M AC /ba seb an d /rad io.!In!add ition ,!the!m od ule ! integrates!a!power!amplifier!(PA)!that!meet s!t h e!o u tp u t!p o wer!requirements!of!most!handheld!syste ms,! a!low-noise!amplifier!(LNA)!for!best-in-class!receiver!sensitivity,!and!an!internal!transmit/!receive!(iTR)! RF!switch,!further!reducing!the!overall!solution!cost!and!printed!circuit!board!area.!Powered!by!the! STM32F411!32-bit!ARM!microcontroller,!the!board! is!also!provisioned!to!support!the!authentication! chip!utilized!by!Apple’s!HomeKit!offering.! ! The!Thingworx!C-SDK!distribution!may!be!installe d ! on!the!device,!and!this!guide!will!follow!th e ! procedure!for!doing!so.!!This!guide!will!also!follow! a!Reference!Implementation!proc ed u r e!fo r! connecting!the!device!to!a!remote!ThingWorx! server!with!a!simulated!“steam!sensor”!demo.!
Broadcom BCM943364WCD1 C-SDK Setup Guide (v 1.0)!
! 3! !
Installation! !
Setup!of!the!Broadcom!device!with!this!guide!will!require!the!use!of!a!Linux!operating!sys tem !on !eithe r!a! host!or!guest!(virtual!machine)!operating!system,!such!as!Ubuntu.!It!is!possib le !to !c o mpile!the!necessary! code!in!Windows,!but!this!guide!recommends!using!a!Linux!environment.!!!1*"+$"('&-"(-/+-(-/%$(02%3"( 4+$(4#%--"'(5&#(+(6&782-"#(#2''%'0(9%6#&$&5-(:%'3&4$(;(4%-/(+'(<=2'-2(>?@ABCAD(?%#-2+*(7+6/%'"B((! Refer!to!the!Troubleshooting!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 ced-wifi/wiced-wifi-documentation.!!Follow!the!
link!at!the!bottom!of!t he !p a ge !fo r!t h e!“ WICED!SDK!
3.5.x!IDE!Installer!and!.7z!Source!Files”,!and!then!
locate!the!post!conta in ing !t he !* .7 z!z ip !file .! ! Refer!to!the!screenshots!for!guidance.! ! E&-"F!!For!a!build!on!Linux,!download!the!*.7z!files!
to!the!Linux!machine.!!If!you!are!compiling!on !
Windows,!you!may!download!the!.exe!executable!
version.! You!will!also!need!a!Broadcom!community!site!
account!in!order!to!access!these!pages.!!This!is!
free!to!create.!!
!
2. !
!
Broadcom BCM943364WCD1 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 <file_name>.7z
!
4. !
!
!
5. !
!
!
Loading...
+ 11 hidden pages