netsender: pin values are not set correctly before writing to outputs

Issue #35 resolved
Trek Hopton created an issue

Currently the output pins which are in the act and poll responses don’t have their values written to the device’s outputs. They are not changed from the initial invalid value -1. These values should be set when the response is received in ns.Run().

Comments (2)

  1. Trek Hopton reporter

    Note: this issue is for the pi netsender.

    In addition to setting values for pins before writing to device outputs, the pi netsender’s Run function needs to be modified to act like arduino’s run function, ie. It should send poll requests whenever inputs are configured but if no inputs are configured then it should send act requests. Currently is sends poll for any inputs and act for any outputs.

    When netsender receives responses from act OR poll requests it should set the the pin values from the response and write to the outputs.

  2. Log in to comment