gatt_server.py 文件源码

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

项目:python-gatt-server 作者: Jumperr-labs 项目源码 文件源码
def GetManagedObjects(self):
        response = {}
        print('GetManagedObjects')

        for service in self.services:
            response[service.get_path()] = service.get_properties()
            chrcs = service.get_characteristics()
            for chrc in chrcs:
                response[chrc.get_path()] = chrc.get_properties()
                descs = chrc.get_descriptors()
                for desc in descs:
                    response[desc.get_path()] = desc.get_properties()

        return response
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号