Skip to content

Commit

Permalink
doc: Update packet and data trace documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Aug 7, 2024
1 parent 53d3cc5 commit a53db98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/libosdp/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ To enable packet trace builds, follow these steps:
cmake -DCONFIG_OSDP_PACKET_TRACE=on ..
make
After, this when you run your application, libosdp will produce a `.pcap` file
During CP/PD setup, you must set PD info flag `OSDP_FLAG_CAPTURE_PACKETS`.
After this when you run your application, libosdp will produce a `.pcap` file
int the current directory which contains all the packets it decoded from the
communication channel.

Expand All @@ -72,7 +73,8 @@ To enable data trace builds, follow these steps:
cmake -DCONFIG_OSDP_DATA_TRACE=on ..
make
After, this when you run your application, libosdp will produce a `.pcap` file
During CP/PD setup, you must set PD info flag `OSDP_FLAG_CAPTURE_PACKETS`.
After this when you run your application, libosdp will produce a `.pcap` file
in the current directory which contains all the packets it decoded from the
communication channel.

Expand Down

0 comments on commit a53db98

Please sign in to comment.