Giter Club home page Giter Club logo

Comments (6)

gbmhunter avatar gbmhunter commented on June 3, 2024

Hi @tunguskar , no NinjaTerm can't do that at the moment, But I think it should!

Having a quick look, luckily I think this is possible via this API: https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/getSignals

How do you think the user should be able to trigger a break? Is there a standard keyboard shortcut that does this? Or a UI button?

from ninjaterm.

tunguskar avatar tunguskar commented on June 3, 2024

Hi @tunguskar , no NinjaTerm can't do that at the moment, But I think it should!

Having a quick look, luckily I think this is possible via this API: https://developer.mozilla.org/en-US/docs/Web/API/SerialPort/getSignals

How do you think the user should be able to trigger a break? Is there a standard keyboard shortcut that does this? Or a UI button?

Hi gbmhunter,

When you prepare a string to send in docklight it is done like this:

Docklight Scripting supports sending a "break" within a Send Sequence and detecting a "break" state using a Receive Sequence definition. "break" signals are added to your sequence definition by inserting a Function Character '%' (F10 key). A Docklight "break" signal has a minimum length of 15 * <nominal bit length>.

When you press F10 you get this:

image

Hterm does not offer this option.

TerraTerm has this:

image

But i dont like this.

from ninjaterm.

gbmhunter avatar gbmhunter commented on June 3, 2024

Thanks @tunguskar , I'll look to add this in the next week or so.

from ninjaterm.

gbmhunter avatar gbmhunter commented on June 3, 2024

Hi @tunguskar , I've added in the ability to send a break for 200ms by pressing Ctrl-Shift-B when the port is open and the terminal in focus (you should get a message saying "break sent".

It's currently in a deploy preview at https://deploy-preview-315--ninjaterm.netlify.app/

Are you able to test this for me please?

from ninjaterm.

tunguskar avatar tunguskar commented on June 3, 2024

Hi @tunguskar , I've added in the ability to send a break for 200ms by pressing Ctrl-Shift-B when the port is open and the terminal in focus (you should get a message saying "break sent".

It's currently in a deploy preview at https://deploy-preview-315--ninjaterm.netlify.app/

Are you able to test this for me please?

Hi gbmhunter, you are fast. I will give it a try thanks for investigating

from ninjaterm.

gbmhunter avatar gbmhunter commented on June 3, 2024

@tunguskar no worries! I actually also released that to production on the weekend, so https://ninjaterm.mbedded.ninja/ should have the change also :-)

from ninjaterm.

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.