Back to Smartcitizen.me

ConfigDefault.ino Location and modification

I am trying to find the ConfigDefault.ino file in the GitHub source, modify it to hardcode the wifi defaults and upload it to the SCK. I would appreciate helping me find where I can find the ConfigDefault.ino so I can pull it in to the IDE.

Any additional advice on the uploading would also be appreciated.

Thanks
-Vijay

That file does not exist, look at constants.h

In v0.8.5 of Constants.h at https://github.com/fablabbcn/Smart-Citizen-Kit/blob/master/sck_beta_v0_8_5/Constants.h I think that we set the values at line 71:

//Espacio reservado para los SSID y PASS
#define DEFAULT_ADDR_SSID 200
#define DEFAULT_ADDR_PASS 520
#define DEFAULT_ADDR_AUTH 840
#define DEFAULT_ADDR_ANTENNA 1160

I can’t test this at the moment, if anyone is able to try a manual update and post back their results that would be helpful.

Thanks