本文介绍了如何将打印的C控制台导入节点红色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在pi上使用Dragino rpi Lora收发器C代码向Arduino发送和接收数据包.

i'm using Dragino rpi Lora transceiver C code on the pi to send and receive packets to the Arduino .

C代码在打印接收到的数据包以及信噪比和时间戳的情况下运行良好, 但我想在红色节点中使用它.如何将接收到的数据包从C控制台导入到红色节点?

the C code is working perfectly where it prints the received packets and the Signal to noise ratio and the timestamp , but i want to use it in node red .how can i import the received packet from the C console to node red ?

推荐答案

您需要使用 node-red-node-daemon 用于长时间运行的进程,这些进程一直运行到停止并通过标准输入接收输入并通过标准输出发送结果.

You need to use the node-red-node-daemon for long running processes that run until stopped and receive input via standard in and send results by standard out.

这篇关于如何将打印的C控制台导入节点红色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 07:16