-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f949db
commit 5fe3608
Showing
29 changed files
with
170 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: Export Logs | ||
sidebar_label: Export Logs (Pro) | ||
sidebar_position: 6 | ||
--- | ||
|
||
:::danger Pro Feature | ||
This is an exclusive feature of WebSerial Pro. Check it out [here](https://webserial.pro). | ||
::: | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/export-logs.png" alt="Export Logs Button" width="300px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
The "Export Logs" feature of WebSerial Pro provides users with a seamless way to save logs directly from your webserial interface. It's designed for efficiency and ease of use, this feature allows for: | ||
|
||
1. Real-time exportation of logs to various formats like Text, JSON & CSV. | ||
2. Exports received logs into machine readable formats. | ||
3. Facilitates troubleshooting and easy sharing among teams/customers. | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/export-window.png" alt="Export Logs Button" width="1200px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
Users can initiate the export process with a single click, ensuring that critical data is preserved and accessible for further examination or sharing with team members. Whether for debugging, record-keeping, or collaborative development, the "Export Logs" feature streamlines the workflow, making WebSerial Pro an indispensable tool for developers and engineers. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: Font Settings | ||
sidebar_label: Font Settings (Pro) | ||
sidebar_position: 8 | ||
--- | ||
|
||
:::danger Pro Feature | ||
This is an exclusive feature of WebSerial Pro. Check it out [here](https://webserial.pro). | ||
::: | ||
|
||
WebSerial Pro comes with font family setting through which you can select the font style (font family) of your choice for your WebSerial terminal UI. *By default WebSerial interface uses `monospace` font which is an fixed width font used for code and terminals.* | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/font-selector.png" alt="Export Logs Button" width="600px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
Additionaly, to improve accessibility - **WebSerial Pro also lets you adjust font size** which can be a very useful feature for people who have difficulity seeing small text on screen! WebSerial font settings are all about making it most comfortable for you. | ||
|
||
<br/> | ||
<img src="/v2/img/font-size-selector.png" alt="Export Logs Button" width="600px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
### Demo: Tiny Font ( Size: 12 ) | ||
<hr/> | ||
<img src="/v2/img/font-tiny-demo.png" alt="Export Logs Button" width="1200px" className="card-preview" /> | ||
|
||
<br/> | ||
|
||
### Demo: Enlarged Font ( Size: 18 ) | ||
<hr/> | ||
<img src="/v2/img/font-large-demo.png" alt="Export Logs Button" width="1200px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: Timestamps | ||
sidebar_label: Timestamps (Pro) | ||
sidebar_position: 7 | ||
--- | ||
|
||
:::danger Pro Feature | ||
This is an exclusive feature of WebSerial Pro. Check it out [here](https://webserial.pro). | ||
::: | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/timestamps.png" alt="Export Logs Button" width="500px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
Timestamps lets you log messages with time added to start of each line. It's a great way to keep track of your logs and when a certain event happens. Ultimately it's can extremely useful tool in most scenarios which can used to analyze scheduled tasks, timers, and task execution times. | ||
|
||
The timestamps feature has been re-worked on with the v2 release of WebSerial Pro. Timestamps in WebSerial Pro are now syncronized with your microcontroller without any external dependency using a clever trick! This keeps the time same across multiple opened windows and it's unaffected by the latency of transmission. | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/timestamps-settings.png" alt="Export Logs Button" width="1200px" className="card-preview" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
Users can easily enable the timestamps via their WebSerial settings panel. To further improve the user experience, if you don't want the timestamps to be selectable while you try to copy text from the terminal, then you can also easy switch that off using "Prevent Copying" toggle button. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
title: Toggle Input | ||
sidebar_label: Toggle Input (Pro) | ||
sidebar_position: 5 | ||
--- | ||
|
||
:::danger Pro Feature | ||
This is an exclusive feature of WebSerial Pro. Check it out [here](https://webserial.pro). | ||
::: | ||
|
||
The toggle input feature in WebSerial Pro allows users to easily enable or disable the command input bar within the webserial interface. It is particularly useful when users want to use WebSerial solely for monitoring purposes, such as when they do not want commands sent to their firmware or when it is integrated into a product for monitoring only. | ||
|
||
The input bar can be re-enabled whenever command input is required, making it a versatile tool for various use cases. | ||
|
||
## Disable Input | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/input-bar-disabled.png" alt="Export Logs Button" width="1200px" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
By default, the command input bar is enabled in WebSerial. To disable it, you can simply add this line of code in your firmware: | ||
|
||
```cpp | ||
WebSerial.disableInput(); | ||
``` | ||
|
||
## Enable Input | ||
|
||
<br/> | ||
|
||
<img src="/v2/img/input-bar.png" alt="Export Logs Button" width="1200px" /> | ||
|
||
<br/> | ||
<br/> | ||
|
||
Similarly, You can re-enable command input bar using the following line of code: | ||
|
||
```cpp | ||
WebSerial.enableInput(); | ||
``` | ||
|
||
<br/> | ||
|
||
### Example Usage | ||
|
||
```cpp | ||
... | ||
#include <WebSerialPro.h> | ||
|
||
void setup() { | ||
... | ||
|
||
// Disables WebSerial Command Input Bar | ||
WebSerial.disableInput(); | ||
} | ||
|
||
void loop() { | ||
... | ||
} | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.