ev3.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:ev3-python3 作者: ChristophGaukel 项目源码 文件源码
def _connect_bluetooth(self, host: str) -> int:
        """
        Create a socket, that holds a bluetooth-connection to an EV3
        """
        self._socket = socket.socket(socket.AF_BLUETOOTH,
                                     socket.SOCK_STREAM,
                                     socket.BTPROTO_RFCOMM)
        self._socket.connect((host, 1))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号