btk_server.py 文件源码

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

项目:BlogCode 作者: yaptb 项目源码 文件源码
def read_sdp_service_record(self):

        print("Reading service record")

        try:
            fh = open(BTKbDevice.SDP_RECORD_PATH, "r")
        except:
            sys.exit("Could not open the sdp record. Exiting...")

        return fh.read()   



    #listen for incoming client connections
    #ideally this would be handled by the Bluez 5 profile 
    #but that didn't seem to work
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号