This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
NyLPC_cFormatTextReader.h File Reference
NyLPC_cFormattextReader.h 書式テキストを読み出す為の関数群です。 Created on: 2013/04/20 Author: nyatla. More...
Go to the source code of this file.
Functions | |
NyLPC_TInt32 | NyLPC_cFormatTextReader_readWord (const NyLPC_TChar *buf, const NyLPC_TChar **top) |
[a-zA-Z0-9_-]で構成されるワードを取得します。 This function peek a word from string. | |
NyLPC_TInt32 | NyLPC_cFormatTextReader_readIpAddr (const NyLPC_TChar *buf, NyLPC_TUInt8 *v) |
文字列からIPアドレスを取得します。 [:number:]\. | |
NyLPC_TInt32 | NyLPC_cFormatTextReader_readMacAddr (const NyLPC_TChar *buf, NyLPC_TUInt8 *v) |
文字列からMACアドレスを取得します。 [:hex:]:[:hex:]:[:hex:]:[:hex:] | |
NyLPC_TInt32 | NyLPC_cFormatTextReader_seekSpace (const NyLPC_TChar *s) |
連続するスペースを読み飛ばします。 | |
NyLPC_TInt32 | NyLPC_cFormatTextReader_readUInt (const NyLPC_TChar *buf, NyLPC_TUInt32 *v) |
文字列から10進数の数値を読み出します。 |
Detailed Description
NyLPC_cFormattextReader.h 書式テキストを読み出す為の関数群です。 Created on: 2013/04/20 Author: nyatla.
Definition in file NyLPC_cFormatTextReader.h.
Function Documentation
NyLPC_TInt32 NyLPC_cFormatTextReader_readIpAddr | ( | const NyLPC_TChar * | buf, |
NyLPC_TUInt8 * | v | ||
) |
文字列からIPアドレスを取得します。 [:number:]\.
[:number:]\.[:number:]\.[:number:] [:number:]は0-255までに制限されます。
- Parameters:
-
v uint8[4]
- Returns:
- next pointer
Definition at line 35 of file NyLPC_cFormatTextReader.c.
NyLPC_TInt32 NyLPC_cFormatTextReader_readMacAddr | ( | const NyLPC_TChar * | buf, |
NyLPC_TUInt8 * | v | ||
) |
文字列からMACアドレスを取得します。 [:hex:]:[:hex:]:[:hex:]:[:hex:]
- Parameters:
-
v uint8[6]
Definition at line 83 of file NyLPC_cFormatTextReader.c.
NyLPC_TInt32 NyLPC_cFormatTextReader_readUInt | ( | const NyLPC_TChar * | buf, |
NyLPC_TUInt32 * | v | ||
) |
文字列から10進数の数値を読み出します。
- Returns:
- 読み飛ばしたスペース
- 読み出した文字数
Definition at line 65 of file NyLPC_cFormatTextReader.c.
NyLPC_TInt32 NyLPC_cFormatTextReader_readWord | ( | const NyLPC_TChar * | buf, |
const NyLPC_TChar ** | top | ||
) |
[a-zA-Z0-9_-]で構成されるワードを取得します。 This function peek a word from string.
- Returns:
- size of seeked.
Definition at line 18 of file NyLPC_cFormatTextReader.c.
NyLPC_TInt32 NyLPC_cFormatTextReader_seekSpace | ( | const NyLPC_TChar * | s ) |
Generated on Tue Jul 12 2022 15:46:17 by 1.7.2