HTML page settings

USB Library ›› Device ›› Settings reference ››
… visits
Parent Previous Next

Use these controls for imported pages. The browser guide explains page requests and design.

Control or generated item

Meaning

Pages, Edit page, URL name

Set the active count, select the entry being edited and assign its URL component. Page 1 initially uses custom; later pages use page2 through page8.

Import HTML…, Clear HTML

Store or clear the selected page's content in the project. The displayed filename is a record of the import; editing that original file requires reimporting it.

USB_NET_PAGE_NAME_1 … USB_NET_PAGE_NAME_8

Generated URL names. Use 1–24 ASCII letters/digits/dots/underscores/hyphens, starting with a letter or digit, without a slash. status and write are reserved. Names differing only by case are rejected.

USB_NET_PAGE_BYTES_1 … USB_NET_PAGE_BYTES_8

Generated byte lengths for the matching HTTP responses, including headers. Do not enter HTML character counts manually.

nCustomPage1 … nCustomPage8

Generated program-memory table labels containing those responses. Keep labels and matching lengths together; paste the complete Web include block once after the library include, or use Integration, which includes it already.

Requests use the exact case-sensitive /name, without a trailing slash or query. Firmware pages require nonempty UTF-8 HTML without NUL characters. External mode stores no HTML in PIC flash; its optional imported local page may be up to 5 MiB. Web include supplies copyable HTML in that mode. The tool creates no companion page files automatically.

See also

Created with the Personal Edition of HelpNDoc: Say Goodbye to Documentation Headaches with a Help Authoring Tool