Skip to content

Adds FileTransferManager class#295

Merged
nitin710 merged 21 commits intomasterfrom
feat-FileTransfer
Mar 26, 2024
Merged

Adds FileTransferManager class#295
nitin710 merged 21 commits intomasterfrom
feat-FileTransfer

Conversation

@nitin710
Copy link
Collaborator

@nitin710 nitin710 commented Feb 13, 2024

Description

  • Adds implementation for FTP server
    • Adds FileTransferManager class

Requirements

Issues Referenced

  • None

Documentation update

  • ToDo: Update documentation.
    • Adding new dependency in the library list
    • How to enter FTP mode

Notes for Reviewer

Testing

Results

  • Synopsis of results, details if required.

Feature Tests

  • FTP server functionality on Feather M0 (verify serial out saying "not currently supported")
  • FTP server functionality on ESP32
  • FTP server does not start when recording
  • FTP server example: EmotiBit-FileTransferManager

Shared files

Checklist to allow merge

  • All dependent repositories used were on branch master
  • Firmware
    • Set testingMode to TestingMode::NONE
    • Set const bool DIGITAL_WRITE_DEBUG = false (if set true while testing)
    • Update version in EmotiBit.h
    • Update library.properties to the correct version (should match EmotiBit.h)
  • doxygen style comments included for new code snippets
  • Required documentation updated

Screenshots:

Copy link
Collaborator

@produceconsumerobot produceconsumerobot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nitin710 review complete

EmotiBit.cpp Outdated
timerStop(timer);
// turn OFF leds
// ToDo: Move this out of the #ifdef block. This behavior should be consistant across all Feathers.
led.setLED(uint8_t(EmotiBit::Led::RED), false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should FTP mode turn ON all the LEDs?
Maybe it indicates "things are happs!"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should discuss the UX.

@nitin710 nitin710 merged commit 49a1d19 into master Mar 26, 2024
@nitin710 nitin710 deleted the feat-FileTransfer branch March 26, 2024 17:25
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