Feat: BLE-MQTT Gateway 통합 (docker: ambient-fan-service) #5
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.
BLE-MQTT Gateway Integration
📋 Summary
Flutter 앱과 라즈베리파이 간 BLE 통신 및 MQTT 브로커 연동을 완료했습니다.
앱에서 Fan Service로 모든 제어 명령(풍속, 전원, 각도, 사용자 관리 등)을 전송할 수 있습니다.
✨ Features
📱 Flutter App Changes
New Files
lib/services/test_ble_service.dart- BLE 연결 및 데이터 전송 서비스lib/utils/image_helper.dart- 이미지 Base64 인코딩 유틸리티Modified Files
lib/main.dart- TestBleService 초기화 및 콜백 연결lib/screens/control_screen.dart- 사용자 등록/선택 시 BLE 전송lib/screens/device_selection_screen.dart- 본딩 로직 제거 (간소화)🖥️ Raspberry Pi Changes
Modified Files
ble_gateway.pyfan_service.pyambient/user/select토픽 구독 추가docker-compose.ymlPYTHONUNBUFFERED=1추가