[From QnA]MTU size, s2w data packing and s2w data overflow
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: [From QnA]MTU size, s2w data packing and s2w data overflow
by ssekim ·
WizFi210 doesn’t have commands to control MTU size.
But, WizFi210 have some commands for data packing option as below.
In Bulk Data Mode, data transfers are managed using escape sequences (Esc Z).
Each escape sequence starts with the ESC key (ASCII character 27 (0x1B)).
Encoding is used for both transmitted and received data.
Enable bulk data by using command <AT+BDATA=1> (1 is enable and 0 is disable).
The format of a bulk data frame is:
Z<Data Length xxxx 4 ascii char>
The contents of < > are a byte or byte stream.
User should send the specified length of data to the adapter irrespective of any asynchronous events happened on the adapter so that the adapter can start receiving next commands.
For example, if CID value is 3, then:
Z30005ABCDE
Z30512<512 bytes of user data>
And, you can refer to the <WizFi210 Programmer’s Guide>.
In other words, before WizFi210-internal-buffer begins to overflow, WizFi210 will block using CTS/RTS pin.
So, if you use HW-flow-control of WizFi210, you don’t need to worry about WizFi210-internal-buffer overflow.
RE: [From QnA]MTU size, s2w data packing and s2w data overflow
by wieser ·
If you are using the SPI interface, do the UART busy lines still apply?
If not, how can you ensure you don’t overflow buffers?
RE: [From QnA]MTU size, s2w data packing and s2w data overflow
by kaizen ·
Hi
I think that If you use flow control of UART, you can avoid overflow of buffers.
RE: [From QnA]MTU size, s2w data packing and s2w data overflow
by wieser ·
Yes, but we were planning to use spi.
RE: [From QnA]MTU size, s2w data packing and s2w data overflow
by ssekim ·
Hi Wieser
I think there are 2 available options.
Using SPI S/W flow control

Flow Control as application level
It means that doesn’t send a next data until receiving a <recv ok message, a kind of Ack> from .