Skip to content

Ethernet server mode versus client mode #501

@ale-novo

Description

@ale-novo

Im using Perl-firmata as Server, and Firmata sketch as client with ethernet to connect several boards.

I have to hardcode in each board these values:

byte mac[] = {
  0xDE, 0x55, 0x5E, 0xE5, 0xFE, 0x53 };
int remotePort = 3053;
IPAddress localIp(10, 0, 0, 253);
IPAddress remoteIp(10, 0, 0, 105);

if the server ip or port changes, i need to re flash.

i can try using a hostname but need to test to understand it that works.

Ive seen firmata also supports running as 'server', to me that is interesting.

What would be the advantages of running like so, firmata in server mode and perl-firmata in client?
apart from not having to hard code the ip and port?

what would be the system requirements memory and cpu for slower boards like nano?

i would need to refactor perl firmata and that is not trivial so its a significant chunk of work so i want to make sure its worth.

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions