Skip to content

Create a mock hardware simulator #2

Description

@niekky

Create a mock hardware simulator that simulates the behavior of the physical device. In this scope, the mock hardware simulator will act as a socket server and will listen for commands from the client base driver.

Beej Network guide: https://beej.us/guide/bgnet/pdf/bgnet_a4_c_1.pdf

Todo:

  • Create a mock device class
  • Instantiate a server socket in the constructor, includes: open socket, socket binding, socket listen
  • Create a superloop that listens for commands, and send ACK back to client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions