def send(self, msg):
<EOL>slipDriver = sliplib.Driver()<EOL>slipData = slipDriver.send(msg)<EOL>res = self._serialPort.write(slipData)<EOL>return res<EOL>
Encodes data to slip protocol and then sends over serial port

        Uses the SlipLib module to convert the message data into SLIP format.
        The message is then sent over the serial port opened with the instance
        of the Faraday class used when invoking send().

        Args:
            msg (bytes): Bytes format message to send over serial port.

        Returns:
            int: Number of bytes transmitted over the serial port.