Giter Club home page Giter Club logo

iflag's People

Contributors

krolken avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

neubatengog

iflag's Issues

Socket Att. Error

Hi,

While I try to work with sample code to test the algorithm that you have wrotten, I got this below error;

Traceback (most recent call last):
  File "gas.py", line 16, in <module>
    client.read_parameters([IFlagParameter(id=0x5e, data_class=CorusString)])
  File "/usr/local/lib/python3.6/dist-packages/iflag/client.py", line 70, in read_parameters
    in_data = self._read_parameters_by_id(parameter_ids)
  File "/usr/local/lib/python3.6/dist-packages/iflag/client.py", line 252, in _read_parameters_by_id
    self.transport.send(msg.to_bytes())
  File "/usr/local/lib/python3.6/dist-packages/iflag/transport.py", line 67, in send
    self._send(data)
  File "/usr/local/lib/python3.6/dist-packages/iflag/transport.py", line 132, in _send
    self.socket.sendall(data)
AttributeError: 'TcpTransport' object has no attribute 'socket'

Please give some tips :)

Support 2 byte parameter id

In newer version of i-flag the paramteres have been extendend and now include numbers that are not representable with one byte.

The second byte is padded with 1:s on the left half of the byte.

Ex: 284 -> 0x100 -> b"\xf1\x20"

Need to investigate when the initial values is padded with \xf0. It could be when the first byte contains 4 1:s in the left half. so that it is not confused with the start of a 2 byte parameter.

IFlag conflict with SRS Studio

IFlag when running prevents SRS Studio software from recognizing tachometer and LED. Please resolve conflict so IFlag can run concurrently with SRS Studio which controls my StImulator. Thanks!

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.