Library Defines (Options)

Any of the options below look cryptic? Read the Operation Details section.

SCAP_DEBUG_PRINT (default= 0)

0- no debug information.

1- print debug information into the output pane. Debug printing only works when the project is in the debug mode . However, still set this option to 0 for release, as this will save memory and code space.

SCAP_HTTP_TX_BUFF_PAGES (default= 16)

The number of buffer pages that will be appropriated by the library for the TX buffers of the sockets it will use (the library uses SCAP_NUM_OF_SOCK number of sockets, defined in scap.tbs). The default value of SCAP_NUM_OF_SOCK is 2, which means that by default the TX buffer of each socket will get 8 pages. You can reduce this number if your application doesn't have much memory to spare, but the image acquisition will start taking longer.

SCAP_HTTP_VAR_BUFF_PAGES (default= 4)

The number of buffer pages that will be appropriated by the library for the VAR buffers of the sockets it will use (the library uses SCAP_NUM_OF_SOCK number of sockets, defined in scap.tbs). The default value of SCAP_NUM_OF_SOCK is 2, which means that by default the VAR buffer of each socket will get 2 pages. You can reduce this number if your application doesn't have much memory to spare, but the image acquisition will start taking longer.