小编Dan*_*ian的帖子

使用来自Android或iOS的Microhip的MLDP数据流

Microchip定义了一种通过蓝牙低功耗(BLE)传输数据的方法,并称之为MLDP(Microchip低能量数据配置文件).他们将它构建到他们的RN4020芯片中,甚至还有一个示例Android应用程序.

但是,我找不到协议如何工作或应用程序源的任何规范.我希望能够使用它从Android和/或iOS调试嵌入式设备.

有谁知道这个协议的规范或实现它的软件?

microcontroller bluetooth-lowenergy android-bluetooth ios-bluetooth

7
推荐指数
1
解决办法
8633
查看次数

pytest日志记录到文件和stdout

I'm trying to setup logbook in a PyTest test to output everything to both stderr and a file. The file should get every log level, but stderr should have a higher threshold (which PyTest will manage with it's usual capture settings).

I've got the pytest-logbook plugin. That redirects stderr into PyTest capture, but I'm not sure how to add the file output.

This is (hopefully) obvious to someone that knows logbook, but it's new to me.

One more thing, I …

python pytest logbook

4
推荐指数
1
解决办法
2256
查看次数

快速远程日志系统?

我想使用 (Linux) 命令行或 Python 快速插入一些日志记录到一些测试中。我不想在系统范围内做任何事情(例如重新配置 syslogd)。

我以前做过这样的事情:

wget URL/logme?im=module_name&msg=hello_world

然后只是解析服务器日志文件。这有点骇人听闻,您必须对所有数据进行 URL 编码。现在肯定有人有更好的方法。

有没有更好的方法来快速获取一些远程日志记录?

python linux logging command-line

2
推荐指数
1
解决办法
6344
查看次数