#define DEVICE_NAME_LENGTH_MAX 32
#define WIFI_PASSPHRASE_LENGTH_MIN 8
#define WIFI_PASSPHRASE_LENGTH_MAX 63
+#define SECURITY_TYPE_LENGTH_MAX 32
#define MH_LABEL_LENGTH_MAX 1024
#define _EDJ(obj) elm_layout_edje_get(obj)
{
mh_appdata_t *ad = (mh_appdata_t *)data;
char buf[MH_LABEL_LENGTH_MAX] = {0, };
- char device_name[MH_LABEL_LENGTH_MAX] = {0, };
- char passphrase[MH_LABEL_LENGTH_MAX] = {0, };
- char security_type[MH_LABEL_LENGTH_MAX] = {0, };
+ char device_name[DEVICE_NAME_LENGTH_MAX] = {0, };
+ char passphrase[WIFI_PASSPHRASE_LENGTH_MAX] = {0, };
+ char security_type[SECURITY_TYPE_LENGTH_MAX] = {0, };
char *fmt = STR_SECURITY_TYPE_PS;
char *hidden = "";
char *ptr = NULL;