腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(196)
视频
沙龙
1
回答
将命令发送到shell脚本中已在运行的进程
、
、
、
例如;
gatttool
-b $MAC -I connect # send 'connect' to the
gatttool
process?目前,我的shell脚本没有到达connect行,因为
gatttool
进程正在运行。
浏览 0
提问于2016-05-25
得票数 2
2
回答
发送命令打开Shell文件中的进程
、
例如:
gatttool
-b $MAC -I connect # send 'connect' to the
gatttool
process?目前,因为
gatttool
进程正在运行,所以我的shell脚本没有到达connect行。
浏览 3
提问于2016-05-25
得票数 2
1
回答
pygatt NotificationTimeout:无
、
、
"<stdin>", line 1, in <module> return func(self, *args, **kwargs) File "/
浏览 7
提问于2020-08-24
得票数 1
1
回答
奥林巴斯相机套件蓝牙唤醒
、
、
、
、
我一直在试验Bluez/
Gatttool
,并有一个相机的服务和处理列表,但不知道哪个处理程序做什么,以及我应该写什么值来唤醒相机。谢谢!
浏览 15
提问于2016-09-01
得票数 0
回答已采纳
3
回答
如何在Raspberry Pi上设置
gatttool
的BLE连接超时?
、
、
、
我使用以下命令连接到蓝牙le外围设备: 我的问题是,如何以及在何处更改
gatttool
的40秒连接超时?
浏览 3
提问于2015-02-03
得票数 2
4
回答
蓝牙低能耗:监听linux中的通知/指示
、
、
、
、
到目前为止使用的成功命令:hcitool lecc
gatttool
-b <MAC Address> --characteristics
gatttool
-b <MAC Address> --char-desc
gatttool
-b <MAC Address> --
浏览 6
提问于2013-03-27
得票数 43
回答已采纳
1
回答
bluez:并行扫描和连接
、
、
、
我想在测试设置中实现的目标是:hcitool -i hci0 lescan --duplicates --passive并在另一个通孔上并行连接只要我发出connect命令,扫描进程就会退出。最好的
浏览 4
提问于2017-11-05
得票数 0
3
回答
向远程shell发送shell脚本命令击键
、
、
#/bash/bin # All these commands are typed in interactive mode
浏览 0
提问于2015-10-28
得票数 0
1
回答
在非交互模式下使用
gatttool
连接到BLE设备
、
我可以像这样使用
gatttool
来阅读它:
gatttool
-b MAC_ADDRESS -IIndication handle = 0x0012 value: 02 18 47 e4 07 08 1f 07 11 3a 我可以很好地读取这个值,但我需要在
gatttool
gatttool
-h并没有说太多关于如何连接设备的内容。没有像
gatttool
-b MAC_ADDRESS conne
浏览 41
提问于2020-08-31
得票数 0
1
回答
gatttool
和hcitool在Linux上的应用
、
我试图连接到Linux上使用
gatttool
的设备。我运行hcitool lescan来获取设备MAC地址,然后运行
gatttool
-i hci1 -b <macaddr> -t random -I。然后我输入connect。注意:在运行hcitool lecc之前,我曾经运行过一次
gatttool
,但在我看来,从那时起,
gatttool
连接就不再正常工作了(正如上面所解释的,意外断开了)。
浏览 5
提问于2014-03-22
得票数 1
2
回答
Zengge BLE灯泡协议
、
、
、
、
我已经安装了最新的bluez 5.x软件包,所以我有一个可用的
gatttool
。我能连接到我的灯泡并列出它的服务。但我不知道怎么控制它。也许有人已经这样做了(我不能谷歌现成的解决方案)?
浏览 2
提问于2014-10-03
得票数 3
回答已采纳
3
回答
使用
Gatttool
连接到BLE设备时出错
、
我在Raspberry PI上使用
gatttool
连接到BLE外围设备。连接失败,并显示错误消息"connect error: Too many of symbolic (40)“ 以下是使用
gatttool
获取的命令和响应日志。pi@raspberrypi:~ $ sudo
gatttool
-b 20:70:6a:10:01:81 -I 20:70:6a:10:01:81> connect正在尝试连接到20:70:6a:10
浏览 0
提问于2016-06-29
得票数 7
2
回答
处理输出的回调函数
、
、
、
我在后台产生了一个将输出写入TemporaryFile的进程p = subprocess.Popen(["
gatttool
"], stdin问题是
gatttool
有时会自己生成一些输出字节(例如通知)。我正在寻找一种在不阻塞TemporaryFile的情况下读取此输出的方法。
浏览 2
提问于2014-12-30
得票数 1
1
回答
哪个工具取代了bluez5中的
gatttool
?
、
、
、
似乎是因为commit b1eb2c4cd057624312e0412f6c4be000f7fc3617
gatttool
已经被废弃了,但是我找不到关于什么取代了gattool的任何信息。我在
gatttool
上查看的每个Python蓝牙LE包现在都在我的ArchLinux系统上被破坏了,因为bluez包不是用--enabled-deprecated标志构建的(这将构建
gatttool
二进制pygatt只是在我的系统上坏了,而bluepy没有构建,因为他们在那里发布了自己的(在我的系统上坏了) bluez代码来构建
gatttool</
浏览 5
提问于2017-04-04
得票数 13
回答已采纳
1
回答
如何使用
gatttool
非交互模式
、
我想用非交互的方式写
gatttool
.[78:A5:04:44:0A:57][LE]> connectsudo
gatttool
-i hci0 -b 78:A5:04:44:0A:57 --char-write -a 0x0025 -n ff 我怎么写命令呢?
浏览 3
提问于2015-03-29
得票数 4
回答已采纳
3
回答
使用bluez接入蓝牙低能设备?
、
我想连接到一个蓝牙低能(BTLE,蓝牙智能)设备使用linux盒与蓝光和蓝牙线。我有Orico BTA-402 dongle和CSR芯片组;Ubuntu14.04。我想出了如何让它成为手机上的一种设备(hciconfig hci0铅v3)。 我想要的正好相反,dongle/linux盒扫描设备、连接到设备、枚举特征并读取/写入它们。我该怎么做?
浏览 0
提问于2015-05-15
得票数 5
1
回答
Gatttool
非交互模式,多字符-写-请求
、
在交互模式下,我会使用connectchar-write-req使用单个句柄启动
gatttool
可以很好地工作:
gatttool
-t random -i hci0 -b XX:XX:XX:XX:XX:XX --char-write-req --handle=0x001a
gatttool
-t random -i hci0 -b XX:XX:XX:XX:XX:XX --
浏览 26
提问于2019-11-12
得票数 0
回答已采纳
1
回答
如何通过命令行向BLE设备发送蓝牙数据包/写入请求?
地址:XX:XX:XX:XX:XX:XX开启灯值:c7e3f68520e8d5ae5acd17760a01459dsudo
gatttool
--char-write-req -b XX:XX:XX:XX:XX:XX -a 0x0009 -n c7e3f68520e8d5ae5acd17760a01459d我在网上读到,这个问题可能是由于
gatttool
被弃用而发生的。关于
浏览 0
提问于2022-03-16
得票数 0
1
回答
如何在python中使用pygatt从BLE设备获取通知?
、
、
, in _bootstrap_inner File "/usr/local/lib/python3.5/dist-packages/pygatt/backends/
gatttool
/
gatttool
.py", line 137, in run File "/usr/local/lib/
浏览 2
提问于2017-07-07
得票数 8
回答已采纳
1
回答
bluez 5.3+中的
Gatttool
断开导致非常高的cpu使用率(Linux蓝牙)。
、
、
我注意到
gatttool
在断开连接时会导致非常高的cpu使用率。这是非常容易复制的。在交互模式下使用
gatttool
连接到任何BLE设备,然后断开连接。在发出断开连接命令之前,CPU使用率都是正常的。观察CPU使用率,
gatttool
将超过70-80%。我也可以把它复制到Ubuntu LTS上。有没有人试过解决这个问题?谢谢。
浏览 2
提问于2016-03-29
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
BLE安全入门及实战(2)
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券