Skip to content

Commit

Permalink
Add inactivity time function in Server/Mixed Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Kei committed Apr 19, 2017
1 parent b79ad53 commit 06c920c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 227 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,6 @@ v1.1.0
- ioLibrary Update
- Dependency Removal (remove "board.h" in "w5500.h")
- Remove garbage file


v1.1.1
- Add inactivity time function in Server/Mixed Mode
69 changes: 0 additions & 69 deletions WIZ550S2E_App/Release/makefile

This file was deleted.

6 changes: 6 additions & 0 deletions WIZ550S2E_App/src/S2E/S2E.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,12 @@ static void s2e_sockestablished_process(uint8_t sock)
auth_process(sock);
return;
}
if((inactive_flag == 0) && net->inactivity)
inactive_flag = 1;
else if(inactive_flag == 2) {
inactive_flag = 0;
disconnect(sock);
}
case TCP_CLIENT_MODE:
if((inactive_flag == 0) && net->inactivity)
inactive_flag = 1;
Expand Down
2 changes: 1 addition & 1 deletion WIZ550S2E_App/src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#define MAJOR_VER 1
#define MINOR_VER 1
#define MAINTENANCE_VER 0
#define MAINTENANCE_VER 1

#define SOCK_DATA 0
#define SOCK_CONFIG 1
Expand Down
56 changes: 0 additions & 56 deletions WIZ550S2E_Boot/Release/makefile

This file was deleted.

50 changes: 0 additions & 50 deletions lpc_chip_11exx/Release/makefile

This file was deleted.

50 changes: 0 additions & 50 deletions wiznet_s2e_wiz550s2e_board/Release/makefile

This file was deleted.

0 comments on commit 06c920c

Please sign in to comment.