1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- # 启动端口号
- server:
- port: 8000
- # websocket url
- websocket:
- ws-url: ws://localhost:8000/ws?uid=server&to_uid=client
- # MySQL数据源配置
- sqlite:
- url: ./db/confrontation-training.db
- # 图片路径配置
- upload:
- savePath: ./files/
- accessUrl: http://localhost:8000/file/
- # JWT配置
- jwt:
- signingKey: z3d6k8v0n3w7m9sa1fd0u09h
- # 定时任务
- cron:
- enable: true
- #蓝牙网关地址
- gateway:
- baseUrl: http://192.168.2.254
- scanUrl: /gap/nodes?active=1&event=1&filter_name=BW-ECG*,MIND*&chip=1
- connUrl: /gap/nodes/MAC/connection?chip
- notifyUrl: /gatt/nodes?event=1
- writeDataUrl: /gatt/nodes/MAC/handle/32/value/DATA
- openChannel: /gatt/nodes/MAC/handle/36/value/0100
- disconnectUrl: /gap/nodes/MAC/connection
- scanSecond: 20000 #蓝牙数据推送时间间隔
- connectedList: /gap/nodes?connection_state=connected
- #日志系统
- log2file:
- filePath: ./logs/
- fileName: confrontation_training
- fileSuffix: .log
- #第一次打开
- param:
- firstOpen : 1
- emq:
- protocol: tcp
- port: 1883
- topic:
- # - /EE3870DA24C4/connect_packet/hds_subscribe
- # - /EE3870DA24C4/connect_packet/connect3_subscribe
- # - /EE3870DA24C4/connect_packet/connect1_subscribe
- # - /EE3870DA24C4/connect_packet/cfg_param_subscribe
- # - /EE3870DA24C4/connect_packet/connect2_subscribe
- # - /EE3870DA24C4/connect_packet/connect4_subscribe
- - /connect_packet/connect1_publish
- userName: admin
- password: 28d75ca0e70eb0ef0b42ae7bb7843e82d6fdffa2509caa383dd46748bdbf8dd8
- clientId: emqClientCT
- qos: 0
- broker: emqx@127.0.0.1
- filter:
- - MIND
- - BW-ECG
- gatewayMac:
|