Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CIO call for NOTE and POINT. #2

Open
tschak909 opened this issue Dec 2, 2020 · 2 comments
Open

Add CIO call for NOTE and POINT. #2

tschak909 opened this issue Dec 2, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tschak909
Copy link
Contributor

Some N: protocols will have support to do random access. NOTE retrieves the current position in the file, while POINT sets the current position within the file.

These pages show the API:
https://github.com/FujiNetWIFI/fujinet-platformio/wiki/N%3A-SIO-Command-%2425---Point-in-File
https://github.com/FujiNetWIFI/fujinet-platformio/wiki/N%3A-SIO-Command-%2426---Note-in-File

As stated in the API, position is specified as a 24-bit integer in little-endian order

For NOTE, the returned value should be returned in ICAX3, ICAX4, and ICAX5.
For POINT, ICAX3, ICAX4, and ICAX5 should be sent to the FujiNet.

@tschak909 tschak909 added enhancement New feature or request help wanted Extra attention is needed labels Dec 2, 2020
@Raspenex
Copy link

Raspenex commented Mar 1, 2023

Is this even needed ? TCP/UDP/HTTP don't support arbitrary backspacing into a stream. TNFS supports positioning, but the mains use of TNFS will be for binary loading I would imagine, which doesn't require seeking.

@tschak909
Copy link
Contributor Author

tschak909 commented Mar 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants