diff --git a/prebuilt/run_demo.sh b/prebuilt/run_demo.sh
--- a/prebuilt/run_demo.sh
+++ b/prebuilt/run_demo.sh
# @brief TIMAC 2.0 run_demo.sh - run the demo from prebuilt directory
#
# Group: WCS LPC
-# $Target Devices: Linux: AM335x, Embedded Devices: CC1310, CC1350$
+# $Target Devices: Linux: AM335x, Embedded Devices: CC1310, CC1350, CC1352$
#
#############################################################
# $License: BSD3 2016 $
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#############################################################
# $Release Name: TI-15.4Stack Linux x64 SDK$
-# $Release Date: July 14, 2016 (2.00.00.30)$
+# $Release Date: Sept 27, 2017 (2.04.00.13)$
#############################################################
hostarch=`uname -m`
exit 1
fi
+# If no arguments provided assume AWS
+if [ -z "${1}" ]
+then
+ CLOUD="aws"
+else
+ CLOUD=${1}
+fi
+
HERE=`pwd`
BIN_DIR=${HERE}/bin
-GATEWAY_DIR=${HERE}/iot-gateway
+GATEWAY_DIR=${HERE}/../example/iot-gateway
echo "Launching the Collector Application in the background"
cd ${BIN_DIR}
if [ $? != 0 ]
then
echo "Something seems wrong with the collector app"
- echo "Make sure the /prebuilt/bin/bbb_collector file is executable:"
- echo "chmod +x /prebuilt/bin/bbb_collector"
exit 1
fi
cd ${HERE}
echo "Launching Node-JS gateway application in background"
cd ${GATEWAY_DIR}
-bash ./run_gateway.sh
+bash ./run_gateway.sh ${CLOUD}
if [ $? != 0 ]
then
echo "Something seems wrong with the gateway app"