Skip to content

Add generic file management with upload support for BLE#9

Closed
TheAngryRaven wants to merge 1 commit intomasterfrom
claude/refactor-track-management-fLOC5
Closed

Add generic file management with upload support for BLE#9
TheAngryRaven wants to merge 1 commit intomasterfrom
claude/refactor-track-management-fLOC5

Conversation

@TheAngryRaven
Copy link
Copy Markdown
Owner

  • Add fileUploadChar (0x2A41) BLE characteristic for upload data
  • Make bleSendFileList() generic with directory parameter
  • Add upload functions: bleStartUpload(), bleUploadDataCallback(),
    bleFinishUpload(), bleCancelUpload()
  • Extend command handler with LIST:{path}, UPLOAD:{path}:{size},
    UPLOAD_DONE, UPLOAD_CANCEL commands
  • Update BLE_STOP() to clean up upload state

This enables the web app to manage both datalogs (root) and
track files (/TRACKS/) using the same generic BLE file operations.

https://claude.ai/code/session_01GMZQpxEgBp68v7n2ntKJtf

- Add fileUploadChar (0x2A41) BLE characteristic for upload data
- Make bleSendFileList() generic with directory parameter
- Add upload functions: bleStartUpload(), bleUploadDataCallback(),
  bleFinishUpload(), bleCancelUpload()
- Extend command handler with LIST:{path}, UPLOAD:{path}:{size},
  UPLOAD_DONE, UPLOAD_CANCEL commands
- Update BLE_STOP() to clean up upload state

This enables the web app to manage both datalogs (root) and
track files (/TRACKS/) using the same generic BLE file operations.

https://claude.ai/code/session_01GMZQpxEgBp68v7n2ntKJtf
@TheAngryRaven
Copy link
Copy Markdown
Owner Author

@claude Remember this is a MCU project in the Arduino environment and Review this Pull Request for bugs, style guide adherence, and potential improvements. Provide feedback as inline comments.

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