Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
BLECommunication.h
00001 #ifndef BLE_COMMUNICATION_H 00002 #define BLE_COMMUNICATION_H 00003 00004 #include "BLE.h" 00005 #include "Services/SmartPlugService.h" 00006 #include "MVC.h" 00007 #include "mbed.h" 00008 00009 static const char DEVICE_NAME[] = "SmartPlug"; 00010 static const uint16_t list[] = {SPS_UUID_SERVICE}; 00011 00012 class BLECommunication 00013 { 00014 public: 00015 00016 00017 BLECommunication(SmartPlugBLE& system,BLE &_ble); 00018 void periodicCallback(void); 00019 void start(void); 00020 00021 private: 00022 BLE &ble; 00023 SmartPlugService smartPlugService; 00024 }; 00025 00026 #endif
Generated on Sun Aug 14 2022 15:35:44 by
1.7.2