监听 树莓派4B 上传到 iot hub 的 method

pip install azure-iot-hub
//装好了 Azure CLI 之后执行:
az iot hub show-connection-string --hub-name {your iot hub name} --policy-name service

得到你用于监听的connection string,粘到监听代码里就好了

发布了9 篇原创文章 · 获赞 9 · 访问量 321

猜你喜欢

转载自blog.csdn.net/Elleryer/article/details/105428314