Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.
Diff: Type/WIFINetwork.cpp
- Revision:
- 1:fd19bd683e90
- Parent:
- 0:8e83b9448758
- Child:
- 9:0ce800923eda
--- a/Type/WIFINetwork.cpp Tue Feb 03 21:24:15 2015 +0000 +++ b/Type/WIFINetwork.cpp Wed Feb 04 18:10:30 2015 +0000 @@ -2,9 +2,9 @@ using namespace SmartLabMuRata; -string & WIFINetwork::GetSecurityKey() +const char * WIFINetwork::GetSecurityKey() { - return key; + return key.c_str(); } const char * WIFINetwork::GetBSSID() @@ -28,7 +28,7 @@ WIFINetwork * WIFINetwork::SetSecurityKey(const char * SecurityKey) { - key = string(SecurityKey); + key.assign(SecurityKey); return this; }