Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: GR-PEACH_WebCamera_AP
DhcpServer.h
00001 /**************************************************************************//** 00002 * @file DhcpServer.h 00003 * @brief DhcpServer API 00004 ******************************************************************************/ 00005 #ifndef DHCP_SERVER_H_ 00006 #define DHCP_SERVER_H_ 00007 00008 /** This class is intended for use the mbed board as a DHCP server. 00009 * This class can be allocated five IP addresses. 00010 * Top 3byte of IP address is the same as the server address, the lower 1byte is 10-14 is allocated. 00011 * For example, if the server address is "192.168.0.1", IP address will be allocated "192.168.0.10" ~ "192.168.0.14". 00012 */ 00013 class DhcpServer { 00014 public: 00015 /** Constructor: Initializes DhcpServer. 00016 * 00017 * @param name a pointer to a string containing the server name. (e.g."ServerName") 00018 * @param ipadder a pointer to a string containing the server IP address. (e.g."192.168.0.1") 00019 */ 00020 DhcpServer(char * name, char * ipadder); 00021 00022 /** Destructor 00023 * 00024 */ 00025 virtual ~DhcpServer(); 00026 }; 00027 #endif /* DHCP_SERVER_H_ */
Generated on Tue Jul 12 2022 17:41:05 by
1.7.2