SendFileToCPA Usage

  1. Copy the SendFileToCPA binary to any folder of your choice.


Debian:

Run the following commands for Debian machines:

  1. Copy the dependency libboost_filesystem-mt-x64.so.1.84.0 to /usr/local/lib.

  1. Run the below command to update the shared library cache.

sudo ldconfig

  1. Run SendFileToCPA and pass the following as arguments to SendFileToCPA.

  • CPA config name (cpatest)

  • Tenant ID (acme)

  • Raw PCM file which you want to analyse ( file format: Raw PCM, 16 bit, 8KHz)

  • IraCPA Server domain name (cpademo.epicode.in)

  • Port Number (8331)

Usage: SendFileToCPA <CPAconfig> <tenant_id> <raw_filename.raw> <IraCpaServer> <PortNo>


Reference: