---
title: "Data Packing Condition"
url: "https://maker.wiznet.io/forum/11497"
markdown_url: "https://maker.wiznet.io/forum/11497/md"
type: "Forum topic"
category: "Wireless"
author: "nlocatel"
created: "2015-12-02T12:14:36+09:00"
last_activity: "2017-05-04T08:37:40+09:00"
language: "en"
views: 643
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Data Packing Condition

## Question

Asked by nlocatel on 2015-12-02 in Wireless.

Hi, is there any setting for data packing in WizFi250, base on time, character received or size? I can’t find any. I formerly used Wiz610 which supported that setting.

## Replies

### Reply 1 by wizdaniel, 2015-12-04

Hi.

User data 1460 bytes in MAX buffer(1500bytes).

There are 2 modes for sending data.

1. Command mode.

2. Data mode.

If you want to know 2 modes, refer to the following link
[wizwiki.net/wiki/doku.php?id=pro … _data_mode](http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250pg:start#command_mode_data_mode)

Data packing condition in the data mode.

- Depends on the Nagle time. => [en.wikipedia.org/wiki/Nagle%27s_algorithm](https://en.wikipedia.org/wiki/Nagle%27s_algorithm)

- Default Nagle time in WizFi250 is 100ms

Data packing condition in the command mode.

- Before sending data, you have to fix the data size like below.

- AT+SSEND=0,100 => it means that WizFi250 send the 100bytes data to [socket 0]

- You just send the 100bytes data followed by AT+SSEND=0,100

- Then, WizFi250 send to air the data when it received 100bytes from the serial interface.

---

Source: https://maker.wiznet.io/forum/11497
