Open
Conversation
Owner
|
实验4是tcp吧,那乱码和那个脚本没关系,是因为你读取操作有误 |
Author
|
实验三我的理解是向backend发送encrypt,然后返回密文,console将密文前加一个decrypt,然后发过去返回明文,我自己做时只能到backend接收到encrypt这一步,可能是我理解有错误,但backend的原理看不懂,console我也检查不出错来,所以就只能到这里了 |
Owner
|
你理解没什么问题,encrypt之后收到密文了吗? |
Author
|
之后就没反应了 |
Author
|
看不出来 |
Owner
我就是问问收到回复没,总不至于这也没看出来吧。 |
Author
|
回复的话,我vofa+打不开,下过minicom(好像是)但卡住不动了,不知道怎么看 |
Author
|
断点还没有试过 |
Owner
这几个串口是虚拟的,用vofa看不到的 |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

有点粗糙,但我实在是不会了
实验4已经实现了echo help exit功能,并且能够重复输入,但原来有的功能无法实现(输入任意字符串返回的是乱码,时间显示也有点问题)(群里让我重启脚本,确实有用,但只要输入其他的字符串又是乱码)
实验3 有问题,我还检查不出来,有可能是理解错误,毕竟我看不懂backend的源码,(小白还没学过cpp,只有现学的c)只会照着README上的说明来推测。
实验3是chatgpt生成后修改的,实验四是手敲的
欢迎dl指正:)