
Introduction
139
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
HTTP Server
Figure 9-4. Static Pages
9.1.3.1
Custom Pages With Device Tokens
Device Tokens are special text strings inside a resource, which the HTTP server substitutes with values
just before serving the resource to the requesting client (see
for details). These tokens are
updated by the SimpleLink device every time a resource is served, which lets users create pages with
some dynamic content (various parameters of the SimpleLink device) without any involvement from the
host, as shown in
Figure 9-5. Custom Pages With Device Tokens
9.1.3.2
Static Pages With Host Tokens
Host tokens are similar to device tokens, except that the substitution of each token is deferred to the host
through an asynchronous event. This lets users create pages containing dynamic content with minimal
host involvement, because the major and static part of the web page is stored on the file system and only
small dynamic parts are handled by the host. This can be seen in