Skip to content
lsirikhPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

SmartBed Device Integration

스마트베드 장치와 모바일·서버 사이의 통신을 연결하는 Python 프로젝트입니다. Bluetooth 메시지, UART 장치 제어, 파일 저장과 HTTP API 호출을 모듈로 나눕니다.

구성

  • main.py: 메시지 종류에 따른 처리 흐름
  • bt.py: Bluetooth 연결과 수신·응답
  • uart.py: 시리얼 장치 통신
  • api.py: 서버 API 연동
  • message.py: 요청과 응답 모델
  • diskio.py: 파일 데이터 처리

실행 조건과 현재 범위

Bluetooth와 시리얼 장치를 사용할 수 있는 Python 환경이 필요합니다. bluetooth, serial, requests 등의 의존성과 장치·서버 설정을 별도로 준비해야 합니다.

현재 main.py에는 초기화 호출이 주석 처리된 부분과 pass로 남은 메시지 분기가 있습니다. 장비 연결과 호출 흐름을 확인한 뒤 실행해야 하며, clone 직후 완성 앱처럼 실행되는 구성은 아닙니다. 이 저장소의 중심은 장치 통신과 제어 연동입니다.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages