iOS AILinkBleSDK - 蓝牙SDK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ELBluetoothManager+BleWifi.h 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //
  2. // ELBluetoothManager+BleWifi.h
  3. // AILinkBleSDK
  4. //
  5. // Created by steven wu on 2021/8/6.
  6. // Copyright © 2021 IOT. All rights reserved.
  7. //
  8. #import "ELBluetoothManager.h"
  9. #import "ELBleWifiDetailModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface ELBluetoothManager (BleWifi)
  12. #pragma mark ============ Bluetooth WIFI calling method(蓝牙WIFI 设置命令) ==============
  13. /**
  14. WIFI initiate connection and disconnect(WIFI 发起连接、断开连接)
  15. @param connect YES: initiate connection NO: disconnect(YES:发起连接 NO:断开连接)
  16. */
  17. -(void)bleWifiSetupWifiConnect:(BOOL)connect;
  18. /**
  19. Set WIFI access URL(设置WIFI访问URL)
  20. @param url url(Not more than 56chars(不超过56chars))
  21. */
  22. -(void)bleWifiSetWifiURL:(NSString *)url;
  23. /**
  24. Set Wifi access port number(设置Wifi访问端口号)
  25. @param port 端口号
  26. */
  27. -(void)bleWifiSetPort:(int)port;
  28. /**
  29. Set DTIM interval(设置DTIM间隔)
  30. @param interval 间隔
  31. */
  32. -(void)bleWifiSetDTIMInterval:(int)interval;
  33. /**
  34. Set WIFI password(设置WIFI密码)
  35. @param pwd WIFI password (8 ~ 56 chars)(WIFI密码(8~56 个chars))
  36. */
  37. -(void)bleWifiSetWifiPwd:(NSString *)pwd;
  38. /**
  39. Set up connected WIFI(设置连接的WIFI)
  40. @param macData wifi MAC (little endian)(wifi的MAC(小端序))
  41. */
  42. -(void)bleWifiSetConnectWifiMac:(NSData *)macData;
  43. @end
  44. NS_ASSUME_NONNULL_END