
Go to the source code of this file.
Macros | |
| #define | COMMUNICATION_END_BYTE 0x0a |
| #define | COMMUNICATION_INT_BYTE 0x07 |
| #define | COMMUNICATION_START_BYTE 0x09 |
Functions | |
| int | decode (const unsigned char *src, int len, unsigned char *dst, int buf_max) |
| デコード More... | |
| int | encode (const unsigned char *src, int len, unsigned char *dst, int buf_max) |
| エンコード More... | |
| #define COMMUNICATION_END_BYTE 0x0a |
Definition at line 26 of file communication.h.
| #define COMMUNICATION_INT_BYTE 0x07 |
Definition at line 25 of file communication.h.
| #define COMMUNICATION_START_BYTE 0x09 |
Definition at line 24 of file communication.h.
| int decode | ( | const unsigned char * | src, |
| int | len, | ||
| unsigned char * | dst, | ||
| int | buf_max | ||
| ) |
デコード
| src[in] | デコードする文字列 |
| len[in] | デコードする文字列の長さ |
| dst[out] | デコード後のデータ |
| buf_max[in] | デコード後のデータバッファのサイズ |
Definition at line 86 of file communication.c.
| int encode | ( | const unsigned char * | src, |
| int | len, | ||
| unsigned char * | dst, | ||
| int | buf_max | ||
| ) |
エンコード
Definition at line 42 of file communication.c.