Commit 8fbcd94f44e0f7bd95020f4b3458c1862114bdbd
1 parent
a2a87aa6
--no commit message
Showing
2 changed files
with
4 additions
and
8 deletions
Project/applications/smartcities/configServer.c
... | ... | @@ -143,7 +143,8 @@ void configServer_setClientParameters() |
143 | 143 | } |
144 | 144 | |
145 | 145 | strcpy(config.passphrase, (char*)arg_passphraseStr); |
146 | - strcpy(config.wepkey, (char*)arg_passphraseStr); | |
146 | + //strcpy(config.wepkey, (char*)arg_passphraseStr); | |
147 | + strcpy(config.wepkey, "0009031991"); | |
147 | 148 | } |
148 | 149 | libwismart_RegistrySet(&geo,&config); |
149 | 150 | } |
... | ... | @@ -243,12 +244,8 @@ uint32_t configServer_dynamicCb(char* varName, char** varValue, uint8_t* varAllo |
243 | 244 | if(value == NULL){ |
244 | 245 | return WISMART_SERVER_ERR_MEM; |
245 | 246 | } |
246 | - | |
247 | - if(profile_enabled == PROFILE_ENABLED) { | |
248 | - strcpy(value,config.passphrase); | |
249 | - }else{ | |
250 | - strcpy((char*)value, "N/A"); | |
251 | - } | |
247 | + | |
248 | + strcpy(value,config.passphrase); | |
252 | 249 | |
253 | 250 | /* Display only visible characters */ |
254 | 251 | uint32_t index; | ... | ... |