Serial port name is used for boards which reads data from serial port.
(mut self, port: S)
| 62 | } |
| 63 | /// Serial port name is used for boards which reads data from serial port. |
| 64 | pub fn serial_port<S: AsRef<str>>(mut self, port: S) -> Self { |
| 65 | self.params.serial_port = port.as_ref().to_string(); |
| 66 | self |
| 67 | } |
| 68 | |
| 69 | /// Mac address, for example, is used for bluetooth based boards. |
| 70 | pub fn mac_address<S: AsRef<str>>(mut self, address: S) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected