- This project was written by kotlin
- KDoc - javadoc for kotlin
- gradle.MultiModuleProject
- yml - to set option or mock up data
- mysql - database
- mybatis - to use mysql
- MQTT.Paho - to communicate with BLE scanner
- MarKDown - if you want to update this document
- Docker - Install with docker
Open endpoints require no Authentication.
endpoint/swagger-ui.html
Method | Endpoint | Explain |
---|---|---|
GET | /admins | 관리자 정보 가져오기 |
POST | /admins | 관리자 입력 |
DELETE | /admins | 관리자 삭제 |
GET | /admins/data | 관리자 환경정보 가져오기 |
MQTT Publisher
option.yml
Name | Explanation |
---|---|
LogLevel | 0 = Debug , 1 = Default, 2 = Mute |
Domain | just plain domain |
Port | broker's MQTT port |
SSL | true or false |
UserName | UserName |
Password | Password |
LoopInterval | LoopInterval |
LoopCount | LoopCount |
here is example
MQTT: LogLevel: 0 Domain: your.domain Port: 1883 SSL: false UserName: root Password: 1234 LoopInterval: 3000 LoopCount: 3
data.yml
define individual topic and list up your data(hex byte array)
/topic: - a1b2c3d4e5f6 - ab,cd,11,22,33,44
you can make some data with
,
. It will be removed when publish
MQTT Subscriber
- shadowJar - to make a fatjar
- Apache Daemon - to run on background
- Procrun - it makes window service from .jar
- Window batch script - to change Procrun configuration file
option.yml
Name | Explanation |
---|---|
LogLevel | 0 = Debug , 1 = Default, 2 = Mute |
Domain | just plain domain |
Port | broker's MQTT port |
SSL | true or false |
UserName | UserName |
Password | Password |
here is example
MQTT: LogLevel: 2 Domain: 192.168.0.92 Port: 1883 SSL: false UserName: root Password: 1234 MySQL: Domain: 192.168.0.92 Port: 3306 UserName: choistec Password: chois2016!