参数资料
型号: MCW1001A-I/SS
厂商: Microchip Technology
文件页数: 39/66页
文件大小: 0K
描述: IC INTERFACE SOCKET XLP 28-SSOP
标准包装: 47
系列: *
MCW1001A
DS70671A-page 44
Preliminary
2011 Microchip Technology Inc.
6.11.14
SOCKET_RECV_MSG
(117 COMMAND)
The Recv command attempts to read data from an open socket. In this version of WiComm-Socket, the Recv command
is always non-blocking, but UDP received data is not buffered in WiComm-Socket. If data is available to be read from
the socket, the amount of data available will be returned (not to exceed the specified buffer size in the call). If no data
is available, the RECV response will return 0 as the received count. As a result of non-buffered approach to UDP receive
buffers, WiComm-Socket uses an asynchronous SOCKET_RECV_FROM_RESPONSE_MSG to report any data received on
a bound UDP listener socket. In this way, the SOCKET_RECV_MSG is not typically used to poll for UDP socket received
data and by design, a call to this function on a UDP socket will return 0 bytes read.
Response Message: SOCKET_RECV_RESPONSE_MSG
6.11.15
SOCKET_RECV_RESPONSE_MSG
(29 RESPONSE)
This message indicates the result of the attempted socket receive message.
6.11.16
SOCKET_SEND_TO_MSG
(118 COMMAND)
The Sendto command sends data on the target socket. Unlike the socket Send command, the remote connection is
defined in the call to this function. By specifying the remote address and port, the connection can be created if it does
not exist. In the case of a memory limited WiComm-Socket, the host may need to limit the size of the data sent in each
command. A facility will be provided to allow messages to be fragmented by the host and reassembled in WiComm-
Socket to create a complete packet.
Response Message: SOCKET_SEND_TO_RESPONSE_MSG
Msg Byte Index
Description
0:5
Header; Message Type = 117, Data Length = 4
6
Socket Handle (previously created with SOCKET_CREATE_MSG)
7
Reserved
8:9
Amount of data to be read
10
0x45 (Frame Trailer)
Msg Byte Index
Description
0:5
Header; Message Type = 29, Data Length = 4 + N Data Bytes
6
Socket Handle (used when data was read)
7
Reserved
8:9
Byte count received (N)
10:N + 9
N bytes of data read
N + 10
0x45 (Frame Trailer)
Msg Byte Index
Description
0:5
Header; Message Type = 118, Data Length = 22 + N Data Bytes
6
Socket Handle (previously created with SOCKET_CREATE_MSG)
7
Reserved
8:9
Remote Port Number to send the data to
10:25
Remote IP address – for IPv4 the first 4 bytes are the IP address
26:27
Data byte count (N)
28:N + 27
N bytes of data to be sent
N + 28
0x45 (Frame Trailer)
相关PDF资料
PDF描述
D38999/26WD15PB CONN PLUG 15POS STRAIGHT W/PINS
VI-BTJ-IW-F3 CONVERTER MOD DC/DC 36V 100W
MAX1564ETE+ IC TRIPLE USB SW 1.2A 16-TQFN
D38999/26WB5SC CONN PLUG 5POS STRAIGHT W/SCKT
D38999/26WB5SB CONN PLUG 5POS STRAIGHT W/SCKT
相关代理商/技术参数
参数描述
MCW1001AT-I/SS 功能描述:IC INTERFACE SOCKET XLP 28-SSOP RoHS:是 类别:集成电路 (IC) >> 接口 - 专用 系列:* 特色产品:NXP - I2C Interface 标准包装:1 系列:- 应用:2 通道 I²C 多路复用器 接口:I²C,SM 总线 电源电压:2.3 V ~ 5.5 V 封装/外壳:16-TSSOP(0.173",4.40mm 宽) 供应商设备封装:16-TSSOP 包装:剪切带 (CT) 安装类型:表面贴装 产品目录页面:825 (CN2011-ZH PDF) 其它名称:568-1854-1
MCW1011 制造商:MINMAX 制造商全称:Minmax Technology Co., Ltd. 功能描述:2W, Wide Input Range SIP, Single Output DC/DC Converters
MCW1012 制造商:MINMAX 制造商全称:Minmax Technology Co., Ltd. 功能描述:2W, Wide Input Range SIP, Single Output DC/DC Converters
MCW1013 制造商:MINMAX 制造商全称:Minmax Technology Co., Ltd. 功能描述:2W, Wide Input Range SIP, Single Output DC/DC Converters
MCW1021 制造商:MINMAX 制造商全称:Minmax Technology Co., Ltd. 功能描述:2W, Wide Input Range SIP, Single Output DC/DC Converters