将文件从Linux文件系统传输到Contiki-ng的Coffee文件系统

问题描述

我正在使用带有contiki-ng的Zolertia Re-Mote设备。当我将固件闪存到设备时,我想将文件从linux系统推送到contiki-ng的coffee文件系统。我尝试通过添加以下内容来使用“外壳”模块:

MODULES += os/services/shell

在我的应用程序的Makefile中。希望外壳模块提供一些选项以将文件从本地文件系统传输到设备的coffee文件系统。 但是contiki-ng中的shell似乎功能非常有限。登录到Re-Mote设备后,我使用“帮助”命令查看了外壳程序提供的可用选项,并提供了以下输出

#0012.4b00.09df.2c1b> help
Available commands:
'> help': Shows this help
'> reboot': Reboot the board by watchdog_reboot()
'> log module level': Sets log level (0--4) for a given module (or "all"). For module "mac",level 4 also enables per-slot logging.
'> mac-addr': Shows the node's MAC address
'> ip-addr': Shows all IPv6 addresses
'> ip-nbr': Shows all IPv6 neighbors
'> ping addr': Pings the IPv6 address 'addr'
'> routes': Shows the route entries
'> rpl-set-root 0/1 [prefix]': Sets node as root (1) or not (0). A /64 prefix can be optionally specified.
'> rpl-local-repair': Triggers a RPL local repair
'> rpl-refresh-routes': Refreshes all routes through a DTSN increment
'> rpl-status': Shows a summary of the current RPL state
'> rpl-nbr': Shows the RPL neighbor table
'> rpl-global-repair': Triggers a RPL global repair

因此,似乎contiki-ng shell没有提供任何将文件传输到Re-Mote设备的选项。现在我的问题是,是否可以通过contiki-ng将文件传输到设备?我可以在外壳中添加新选项来传输文件吗?如果是这样,任何人都可以指向一些文档来做到这一点吗?我尝试使用minicom之类的串行传输工具,这对我来说似乎是另一种选择,但是传输文件失败。 非常感谢您的帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)