Helpers Public Members

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Helpers Public Members

The following functions and variables are available to the stack application.

Functions
 
Name 
Description 
 
Decodes a Base-64 array to its literal representation. 
 
Encodes a binary array to Base-64. 
 
Converts the upper nibble of a binary value to a hexadecimal ASCII byte. 
 
Converts the lower nibble of a binary value to a hexadecimal ASCII byte. 
 
Calculates an IP checksum value. 
 
Extracts all parameters from an URL string (ex: "http://admin:[email protected]:8080/myfile.gif" is split into {PROTOCOL_HTTP, "admin", "passwd", "www.microchip.com", 8080, "/myfile.gif"}. 
 
Formats a string to a valid NetBIOS name. 
 
Generates a random DWORD. 
 
Converts a hex string to a single byte. 
 
Left-rotates a DWORD. 
 
Replaces all instances of a particular substring with a new string 
 
Converts a string to an IP address 
 
Case-insensitive comparison of a string in RAM to a string in ROM. 
 
Converts a string to an IP address 
 
Converts a string to uppercase. 
 
Searches a string up to a specified number of characters for a specific character. 
 
This is function swapl. 
 
Swaps the endian-ness of a WORD. 
 
Converts an unsigned integer to a decimal string. 
 
Converts an unsigned integer to a decimal string. 
 
Decodes a URL-encoded string. 
Macros
 
Name 
Description 
 
Rotations are more efficient in C30 and C32 
 
Non-ROM variant for C30 and C32 
Module
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.