Build the C POSIX Client Software Library Sample Applications

The C POSIX client software library sample applications must be built before they can run on your device.

  1. Open a command prompt on the Raspberry Pi device and run this command to move to the make directory: cd /home/pi/iotcs/csl/posix/samples/make.
  2. Run this command to create the directly connected device sample application: make clean all LIB_CFG=ts_md_vs.
    An application named directly_connected_device_sample.out is created in the ../build/sample/arm/ts_md_vs directory.
  3. Run this command to create the gateway sample application: make clean all LIB_CFG=ts_md_vs_gw.
    An application named gateway_device_sample.out is created in the ../build/sample/arm/ts_md_vs_gw directory.