Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylogger_rss never gets sync code #7

Closed
dandroid88 opened this issue Aug 27, 2014 · 3 comments
Closed

pylogger_rss never gets sync code #7

dandroid88 opened this issue Aug 27, 2014 · 3 comments

Comments

@dandroid88
Copy link

I flashed the star endpoint and gateway sketches onto a pair of wizzimotes. Connected the gateway via ftdi and can see some information via PyLogger. When I try to get pylogger_rss working, I never get the sync code hence it stays in the while loop indefinitely.

Also, pylogger has some suspicious looking outputs so I suspect maybe something is going on with our USB setup? Relatively new to dash7 and so far have enjoyed your implementation.

10:55:00.163738 STRINGReceived Query from :46a420730023002;
10:55:00.167826 STRINGRSS: -24 dBm
10:55:00.169753 STRINGNetto Link: -34 dBm
10:55:00.171786 STRINGD7AQP File Announcement received
10:55:00.175732 STRING - file 0x0 starting from byte 0
10:55:00.178832 DATA 0047
10:55:00.179717 STK: DLLDLL restart channel scan series
10:55:00.182843 STK: DLLDLL Starting channel scan series
10:55:00.186732 STRINGphy_rx
10:55:00.194805 ERROR'utf8' codec can't decode byte 0xdd in position 19: invalid continuation byte

@glennergeerts
Copy link
Contributor

pylogger_rss was an old logger script which uses a different logging format which was not used by the firmware anymore.
I deleted it from the repository, thanks for letting us know.

As for the PyLogger output: this seems quite OK, i don't think there is anything wrong with your setup. The error you are getting is probably caused by an interrupt occuring while a logging was still transmitting, resulting in another log header being send before the previous string completed. This will probably be fixed by lowering the verbosity. In d7aoss/framework/log.h you can comment the LOG_*_ENABLED defines to do this. Please let me know if this fixed your issue.

@dandroid88
Copy link
Author

ok great, thanks for the help and I'll post back here once I start playing with our boards again later today

@glennergeerts
Copy link
Contributor

Closing for now, please let me know if you still have problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants