View Code? Open in Web Editor
NEW
NeutralNUS Terminal is a BLE client that is a platform agnostic terminal for NUS (BLE UART) which connects to any device that supports NUS rather than specifically servicing particular hardware.
License: MIT License
HTML 4.28%
CSS 0.90%
JavaScript 82.01%
Sass 4.35%
SCSS 8.46%
neutral-nus-terminal's Introduction
neutral-nus-terminal's People
Contributors
Stargazers
Watchers
neutral-nus-terminal's Issues
Allow users to show devices that aren't advertising the NUS uuid
Possible options could be:
(default) Show NUS enabled devices only filters: [{services: ['6e400001-b5a3-f393-e0a9-e50e24dcca9e']}]
Show all devices [acceptAllDevices: true]
Add the ability to send from and log to a file
The program should be able to log the terminal interactions to a file (in CSV format).
The program should be able to send commands to the BLE peripheral when the user selects a file using a file explorer.
When typing something into the text box, if the user tries to backspace it will remove one character and then send the message as it is.
The only key that should initiate a send is the enter key.
Problem statement:
Currently most of the code is in App.js which is considered bad practice as it is harder to maintain and edit a monolithic code base.
Proposed fix:
Try to separate the code into functional components:
Possible options:
(default) "\n" 0x0A LF
*nix/macOS style
"\r\n" 0x0D 0x0A CR/LF
Windows style
No new line character
This is string handling and therefore is linked to issue 1
Chosen files are reset to 'null' after changing tabs