GithubHelp home page GithubHelp logo

Comments (3)

rockymeza avatar rockymeza commented on September 3, 2024

Hey @LiorKirsch,

I'm having a little trouble understanding what it is that you are doing, but have you seen the configuration function in wifi/scheme.py? I think it might do what you are thinking, but I'm not sure.

Are you trying to save a scheme before getting a Cell object? I suppose we could make that possible, but it would mean changing how wifi saves things completely--which is something I'm not completely opposed to. I was wondering if we could get rid of the whole saving a scheme requirement altogether.

from wifi.

LiorKirsch avatar LiorKirsch commented on September 3, 2024

:)
I forgot I made a change to my code.

In my case I have a bunch of network names and password in advanced and I wanted to add the schemes even if I am not around the cell.
So I created a dummy cell and sent it to a scheme

newCell = wifi.Cell.from_string( dummy_network_string)
scheme = wifi.Scheme.for_cell(network_interface, name, newCell, passkey=passkey_ascii)

This is exactly like you said I wanted to save a scheme without getting a Cell object.

I guess what I will do now is instead of the saving the scheme in advance is to store the (SSID,PASS) somewhere until I scan for the cell, only than I will add the scheme.

Many thanks,
Lior

from wifi.

rockymeza avatar rockymeza commented on September 3, 2024

This is a good use case that is not at all easy with the code as it is now.
I'm going to be very busy for the next couple of weeks, but I want to think
about how to support this well. I'm going to keep thinking about this for
a while, k?

-rocky

:)
I forgot I made a change to my code.

In my case I have a bunch of network names and password in advanced and I
wanted to add the schemes even if I am not around the cell.
So I created a dummy cell and sent it to a scheme

newCell = wifi.Cell.from_string( dummy_network_string)
scheme = wifi.Scheme.for_cell(network_interface, name, newCell,
passkey=passkey_ascii)

This is exactly like you said I wanted to save a scheme without getting a
Cell object.

I guess what I will do now is instead of the saving the scheme in advance
is to store the (SSID,PASS) somewhere until I scan for the cell, only than
I will add the scheme.

Many thanks,
Lior


Reply to this email directly or view it on
GitHubhttps://github.com//issues/36#issuecomment-40864198
.

from wifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.