SBTBLEServerManager.swift 637 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // SBTBLEServerManager.swift
  3. // SolarBT
  4. //
  5. // Created by weclouds on 2019/8/21.
  6. // Copyright © 2019 weclouds. All rights reserved.
  7. //
  8. import UIKit
  9. class SBTBLEServerManager: NSObject {
  10. static let shared = SBTBLEServerManager()
  11. private override init() {
  12. super.init()
  13. }
  14. //设置密码
  15. func setPassowrd(_ password: String) {
  16. BabyBluetoothSwift.shareInstance()?.writePasswordData(password)
  17. }
  18. //验证密码
  19. //取消密码
  20. //复位
  21. //浅复位
  22. //深复位
  23. //设置名称
  24. //修改名称
  25. }