| 1234567891011121314151617181920212223242526272829 | 
							- #ifndef _WS_BLUETOOTH_H_
 
- #define _WS_BLUETOOTH_H_
 
- #include <BLEDevice.h>
 
- #include <BLEUtils.h>
 
- #include <BLEServer.h>
 
- #define CONFIG_SERVICE_UUID "ce6c0b18-0000-1000-8000-00805F9B34FB"                              
 
- #define CONFIG_CHARACTERISTIC_UUID  "447c1982-77ef-49be-a39a-2920f33c31e5"                              
 
- #define CONTROL_CHARACTERISTIC_UUID  "5b804487-b73f-406a-8240-649c23ad1590"
 
- #define Bluetooth_Mode    2
 
- extern void Configure(String name, String warning, String contact, String id);
 
- extern String GetMacAddress();
 
- extern String GetDeviceName();
 
- extern String GetWarningNotice();
 
- extern String GetContactInfo();
 
- extern String GetEquipmentId();
 
- extern bool GetRelay(int relay);
 
- extern void SetRelay(int relay, long time);
 
- extern void Restart();
 
- void Bluetooth_Init();
 
- bool IsConnected();
 
- #endif
 
 
  |