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

[Firmware][SDK][Doc] Major refactor and protocol update #63

Closed
wants to merge 165 commits into from

Conversation

maximekli
Copy link
Contributor

@maximekli maximekli commented Apr 15, 2020

DO NOT MERGE

  • ESP-IDF 4.0.1 upgrade
  • New ethernet lib for ESP-IDF v4.0.1: not using TCP/IP layer anymore, handling of ethernet link up and down events in main
  • New masterboard state machine to be able to reset connection with PC
  • Initialization packet with protocol version used to ensure that both the interface and the firmware use the same protocol and with session id to prevent multiple controllers accessing the masterboard
  • Feedback on packet losses (both up and down): histogram of number of consecutive lost packets, total number of sent/received and lost packets (both ways)
  • Error code (0xf) when an SPI transaction has failed
  • Detection of connected SPI slaves, info sent to the PC in the acknowledgement packet (see protocol)
  • Autoselection between wifi and ethernet according to first received initpacket
  • Listener mode for the interface to be able to just listen for sensor packets
  • Added communication analyser script to test the network link between PC and MB
  • Fixed a few thread and memory leak related issues
  • Enhanced printing of data for the interface
  • Update documentation

maximekli and others added 30 commits March 13, 2020 11:17
… uses init messages. Not adapted for use with python.
…Runs ok but seg fault in the end while stoping interface.
…still get sensors data even when no command has been sent in a while and the master board times out
…and editing the CMakeLists and README files to run it
AlexisPotier and others added 29 commits June 24, 2020 16:21
Added communication analyser script to test the network link between PC and MB + channel 14 support
Autoselection between wifi and ethernet
Fixed overflow issue in com analyser script
@maximekli maximekli closed this Jul 31, 2020
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

Successfully merging this pull request may close these issues.

2 participants