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

[Sandbox-Framework] Design a general purpose API to initialize, control, and finalize comm. protocols #3

Closed
pavly-gerges opened this issue Jun 1, 2024 · 0 comments · Fixed by #27
Labels
enhancement New feature or request jni JNI-related stuff. system-design System-designing related stuff.

Comments

@pavly-gerges
Copy link
Member

The electrostatics-sandbox-framework project should have a good abstraction that serves the following communication protocols, and is open for external plugins (other protocols implementations):

  • Serial RS232.
  • Serial USB.
  • Parallel IEEE-1284.
  • TCP/IP Sockets.
  • UDP Sockets.
  • PCI-e direct IO Reconnoitering.

To design better abstraction layer, use the Set Theory to find and map relations that are common (intersecting sectors) among these protocols, which are initialization, read/write in a byte-order, polling, blocking, IO addressing, and finalization.

  • Initialization:
  • R/W in a byte-order:
  • Polling:
  • Blocking:
  • I/O Addressing:
  • Finalization:
@pavly-gerges pavly-gerges added the enhancement New feature or request label Jun 1, 2024
@pavly-gerges pavly-gerges added system-design System-designing related stuff. jni JNI-related stuff. labels Jun 8, 2024
@pavly-gerges pavly-gerges linked a pull request Jun 26, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jni JNI-related stuff. system-design System-designing related stuff.
Projects
None yet
1 participant