![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
tes
Dependencies: ASyncTicker EthernetInterface WebSocketClient mbed-rtos mbed MbedJSONValue xbee_lib
btNode.h
00001 #ifndef BT_DEVICE 00002 #define BT_DEVICE 00003 #include "MbedJSONValue.h" 00004 #include <string> 00005 #include "xbee.h" 00006 #include "xbeeFrame.h" 00007 00008 class btNode { 00009 public: 00010 btNode(int D_ID, std::string D_NAME, std::string H_ID); 00011 std::string SendMessage(std::string msg); 00012 int getID(){return ID;}; 00013 MbedJSONValue GetAsJSON(); 00014 std::string getName(); 00015 std::string getDisplayString(); 00016 void setName(std::string newname); 00017 00018 private: 00019 int ID; 00020 std::string DisplayString; 00021 std::string DeviceName; 00022 std::string HubID; 00023 static const char ADDRESS[8]; 00024 //const char dest_address[8] ={0x00, 0x13, 0xA2, 0x00, 0x40, 0x9B, 0x6D, 0xB0}; 00025 }; 00026 00027 #endif
Generated on Sat Jul 16 2022 01:27:24 by
![doxygen](doxygen.png)