Last update: 2015/03/16
10:33 products:wiz550s2e:wiz550s2epg_en http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_en
http://wizwiki.net/wiki/ Printed on 2015/04/24 16:44
(Type): Type of response. It can be one of S, D, F, W, R and V.
●
(Id): Socket Identifier. This is the mandatory in Async mode.
●
(Param1) ~ (Param6): ): These are included in case of commands retrieving module's setting value.
●
↓: This means 'Enter' key as delimiter and CR, LF(0x0d, 0x0a) are its real value.
●
(Data): When huge data are needed, 'Data' will be followed in case of Type of response, D and R.
●
Responses are listed below.
Response Description
Success Response [S,(Id),(Param1),(Param2),(Param3),(Param4),(Param5),(Param6)]↓
Command Request Success, outputs with param when it's needed.
Success Dump Response [D,(Id),(Size)]↓(Data)↓
Command Request Success, Outputs large data include 'Enter key' value.
Fail Response [F,(Id),(ErrorCode),(ErrorParam)]↓
Command Request Fail, outputs with param when it's needed.
Wait Response [W,(Id)]↓
Command is started with ID in Async mode.
Data Receive Response [R,(SockId),(ReceivedSize),(SrcIP),(SrcPort)]↓(Data)↓
Outputs the received data.
Event Response [V,(Id),(EventCode)]↓
Event occurred.
(Id): 0 - System ID or 0~n - Socket Number
●
(Size): Byte size of the output data
●
(ErrorCode): Error Code
●
(ErrorParam): Value of description for Error Code
●
(SockId): Socket Identifier of the socket which received data
●
(ReceivedSize): Byte size of received data
●
(SrcIP): Sender's IP address. This is mandatory in case of UDP & TCP Client. In case of TCP Server
●
this is omitted.
(SrcPort): Sender socket's port number. This is mandatory in case of UDP & TCP Client.In case of TCP
●
Server this is omitted.
(EventCode): Indication of which event happened.
●
Error Code
General Error Code
Code Error Name Description
0 ERR_Undefined Undefined Error
1 ERR_WrongOperator Wrong Operator
2 ERR_WrongCommandSign Wrong Command Sign
3 ERR_WrongArguments Wrong Arguments
4 ERR_OurofRange Parameter is out of Range
5 ERR_FuncDisabled This function is disabled
6 ERR_NotAllowed Not Allowed