Good day all,
I actually have an issue
I can get the CellId info of my loccation:
To get that value, I have to send AT+CENG=3 and then AT+CENG?
the I read the serial (_cell.read()) and store the response into buffer (char buffer).
When finish, buffer dsplay
However, when I use those value to the OpenCellID web site (http://opencellid.org)(Go to Serach Location -> Cell Location) and I enter
it return me an error.
But if I convert 1771 and 2d6f from hexa to decimal and I try again it work!!
Then I have to find a way, to convert 1771 and 2d6f to have
At a point to my code and before sending the data, I have this
strncat(fix,"&lac=",BUFFERSIZE); get_value(buffer,3,",",get_val); // This will take 3rd value of buffer (1771) // How to convert get_val value from hex to dec and to put it into fix which is a char strncat(fix,get_val,BUFFERSIZE); // and concatenate it to fix
At this point, how can I convert 1771 to 11631?. get_val is a char and contian 1771. And I would like concatenate 11631 instead of 1771. (1771 is the hex of 11631.
Do you see my worry?