会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
persist-200-res
博客园
首页
新随笔
联系
订阅
管理
2023年7月4日
django restframework实现增删改查
摘要: #安装restframework包 pip install djangorestframework restframework相当于一个app必须在setting文件中配置 1.建立相应的模型类 from datetime import datetime###导入时间模块 class Book(mo
阅读全文
posted @ 2023-07-04 23:36 苍茫大海
阅读(40)
评论(0)
推荐(0)
2023年4月29日
chirpstack
摘要: 1 网关注册 网关 profile: 网关创建 2 应用注册 Service Profile: APP 创建: 3 设备注册 Device Profile: Device 创建:
阅读全文
posted @ 2023-04-29 14:32 苍茫大海
阅读(11)
评论(0)
推荐(0)
2023年4月28日
chirpstack-organization 建立区域
摘要: get api/organizations?limit=2返回格式:{ "totalCount": "2", "result": [ { "id": "1", "name": "chirpstack01", "displayName": "ChirpStack01", "canHaveGateway
阅读全文
posted @ 2023-04-28 23:48 苍茫大海
阅读(8)
评论(0)
推荐(0)
2023年4月5日
chirpstack networks-severs
摘要: #get api/network-servers?limit=5返回格式:{ "totalCount": "1", "result": [ { "id": "1", "name": "local_ns", "server": "localhost:8000", #服务端口"createdAt": "
阅读全文
posted @ 2023-04-05 23:03 苍茫大海
阅读(11)
评论(0)
推荐(0)
chirpstack application -devices
摘要: #查看get api/devices?limit=4&applicationID=1 需要携带ap id才行 携带id才知道查看哪一个应用下的设备返回: { "totalCount": "10", "result": [ { "devEUI": "3333384710270023", "name":
阅读全文
posted @ 2023-04-05 16:54 苍茫大海
阅读(36)
评论(0)
推荐(0)
chirpstack Device-profiles
摘要: get api/device-profiles?limit=2 organizationID 和application来进行选择 #返回数据格式 { "totalCount": "5", "result": [ { "id": "6eb4b05a-dc53-4921-a490-574c17de6be
阅读全文
posted @ 2023-04-05 16:33 苍茫大海
阅读(45)
评论(0)
推荐(0)
chirpstaction application
摘要: #get api/applications?limit=4&organizationID=1&search=de可以实现查询application 或者搜索通过search返回实例: { "totalCount": "2", "result": [ { "id": "1", "name": "app
阅读全文
posted @ 2023-04-05 15:54 苍茫大海
阅读(15)
评论(0)
推荐(0)
2023年4月4日
chirp stack 用户管理
摘要: 实现对用户的增删改查 前面已经介绍了路由get api/users?limit=3返回 { "totalCount": "2", "result": [ { "id": "12", "email": "336@qq.com", "sessionTTL": 0, "isAdmin": true, "i
阅读全文
posted @ 2023-04-04 23:22 苍茫大海
阅读(23)
评论(0)
推荐(0)
chirpstack login
摘要: login接口对接: 携带用户名和密码返回jwt api/internal/login { "email": "336@qq.com", "password": "123456" }返回{ "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOi
阅读全文
posted @ 2023-04-04 22:39 苍茫大海
阅读(14)
评论(0)
推荐(0)
chirpstack api
摘要: 直接调用chirpstack api接口实现对Lorasever的管理 注意:访问api接口需携带token信息 右上角添加token #实现对网关的增删改查接口:查get api/gateways返回数据 { "totalCount": "3", "result": [] }#注意这里只返回数据条
阅读全文
posted @ 2023-04-04 22:28 苍茫大海
阅读(119)
评论(0)
推荐(0)
公告