complete wireless upgrade
add len > 0 && len < SERVER_IP_MAX_LEN