public static function mschapv2(\Dapphp\Radius\MsChapV2Packet $chapPacket, $id = null)
    {
        $packet = new self();
        $packet->setId($id);
        $packet->code = self::CODE_RESPONSE;
        $packet->type = self::TYPE_EAP_MS_AUTH;
        $packet->data = $chapPacket->__toString();

        return $packet->__toString();
    }