Oh boy, the direction attribute in that library is called "sendrecv"? I'd send a pull request changing it to "direction", it's so confusing to read.