- Device Connectivity Guide for Oracle Fusion Cloud IoT Intelligent Applications
- Develop Device Software Using the Client Software Libraries
- Use the Windows Client Software Libraries
- Build the Windows Client Software Libraries
Build the Windows Client Software Libraries
To customize the Windows sample applications, you use the libraries in the source code file.
- Open a web browser and browse to the Oracle Fusion Cloud IoT Intelligent Applications client software libraries download site.
- Scroll to C Client Software Libraries and download the Source Code zip file from the Windows table to your development computer.
- Open a command prompt and run this command to move to the directory where you saved the source code zip file:
cd C:\users\yourname\downloads
. - Run this command to unzip the source code files:
unzip iotcs-csl-windows-src-<release number>.zip
This command sample assumes you have unzip.exe or a similar utility installed. - Run this command to move to the
make
folder:cd iotcs\csl\windows\samples\make
. - Run this command to build a sample application:
make build [CC_CFG= <CC_CFG_Option>][LIB_CFG=<LIB_CFG_Option>][PROXY=<your-company-proxy-server>]
.Replace<CC_CFG_Option>
and<LIB_CFG_Option>
with one of the commands listed in the table. Replace<your-company-proxy-server>
with the IP address of your company server if you are running the sample applications behind a corporate firewall.Command Where Used Description cl
<CC_CFG_Option>
Builds the client software library on Windows computers. This is the default compiler. gcc
<CC_CFG_Option>
Builds the client software library on Linux computers and adds the GNU Compiler Collection (GCC). all
<LIB_CFG_Option>
Builds all of the application samples, including: nots, nots_gw, ts, ts_gw, ts_md, ts_md_gw, ts_md_vs, ts_md_vs_gw. nots
<LIB_CFG_Option>
Builds the directly connected device sample application with these options: messaging thread safety=false, messaging dispatcher=false, and virtualization support=false. ts
<LIB_CFG_Option>
Builds the directly connected device sample application with these options: messaging thread safety=true, messaging dispatcher= false, and virtualization support=false. ts_md_gw
<LIB_CFG_Option>
Builds the gateway device sample application with these options: messaging thread safety=true, messaging dispatcher= true, virtualization support=false, and indirect activation=true. ts_md_vs
<LIB_CFG_Option>
Builds a directly connected device sample application with these options: messaging thread safety=true, messaging dispatcher= true, and virtualization support=true. ts_md_vs_gw
<LIB_CFG_Option>
Builds a gateway device sample application with these options: messaging thread safety=true, messaging dispatcher= true, virtualization support=true, and indirect activation=true. This is the default value for the LIB_CFG parameter. - (Optional) Run this command to clean the sample applications:
make clean [LIB_CFG=<LIB_CFG_Option>]
.