first steps to Client

This commit is contained in:
Markus Sattler
2015-05-23 23:51:32 +02:00
parent cf54518bc9
commit b5dbeccdf5
6 changed files with 394 additions and 10 deletions

View File

@ -52,6 +52,14 @@ typedef enum {
WSC_CONNECTED
} WSclientsStatus_t;
typedef enum {
WStype_ERROR,
WStype_DISCONNECTED,
WStype_CONNECTED,
WStype_TEXT,
WStype_BIN
} WStype_t;
typedef enum {
WSop_continuation = 0x00, ///< %x0 denotes a continuation frame
WSop_text = 0x01, ///< %x1 denotes a text frame