Coder Social home page Coder Social logo

input's Introduction

input's People

Contributors

decolector avatar z3a avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

publiminal

input's Issues

Pagination

The client should pull the number of messages defined in and in the next query pull the next message batch, until all messages in db are downloaded, then start over again.

dinamic time interval for db queries

Display client should pull messages in db and wait a proportional time interval before the next db hit. The interval should be message_interval * number of messages, where message interval is an integer for seconds and this value should be configurable (config.xml).

Special characters in messages are not displayed in led sign

Characters not inside the basic ascii codes are not displayed in the led sign. It seems to be due to a limitation in the jetfile library because it is causing an exception when creating the message string.

This could be solved by including a special configuration command in the message content that allows these characters to be displayed.

According to the JetFile 2.8.7 protocol specification [1], the control character '0x17' allows the insertion of extended ascii codes ( 0 - 255 ) in the message content. This could be tested with the following line:

echo  '015A3030024141061B30621C311A310A49310A4F311757826C636F6D6504'|xxd -r -p | nc 192.168.1.101 9520

That should display the message "Wélcome", where:

'015A3030024141061B30621C311A310A49310A4F31 + 17(extended ascii control char) + 57 + 82(special char é) + 6C636F6D6504'

Since i don't have a screen at hand to test it i can't confirm that, because I'm not sure in which position it must be inserted. But if it works, this character should be added to the markup in the LEDsign library in order to support extended ascii.

[1] https://github.com/decolector/LEDSign/blob/master/doc/JetFileIIv2.8.7(EN).pdf ,page 176

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.