-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IMEI retrieval feature #7
Conversation
Only modification on header file? no source file? |
May be we wants to add it but doesnt know ?? I will try to help you. |
Sorry I was working on it. First time doing the fork and pull request. I will add the source file and change the header file to match and submit pull request again. I have this feature working now.
|
@wghirakawa , It's ok. I recommend to close this pull request and you pull another one, because there's commit merged against the base of your patch. So I suggest you to fetch the new HEAD of this repo and then pull a new request. Thanks. |
So do I revamp the code to reflect what opop. Said about returning an On Tue, Apr 7, 2015, 3:58 PM Jack Shao notifications@github.com wrote:
|
Actually no need. For arduino, you can use String as the returning type. |
Try not to use strings, they use toó muchos RAM memory from our arduinos and it will be the only función using strings. |
Sorry, some words had been corrected by my mobile phone. "Too much RAM memory" |
Ok. I’m still kind of new to arduinos and the c++ but I’ve been forcing my self to learn it. What would you recommend I do. Return and Integer 0 if successful and -1 if unsuccessful? Also would the user pass in the variable to store the IMEI? If so what would be the data type? should it be a char array? Let me know what you recommend or if you want to modify the code, I can learn from what you do. Thank you,
|
I am also a noob. Only 8 months with arduino but i had improved a lot. Just take this function as example and try to do it, you will learn trying it !!!!.
or a simplier one:
The buffer than the user has to pass you needs 14 chars. (13 IMEI + \0 character) |
OK thanks I'll try that On Tue, Apr 7, 2015, 9:41 PM op2op2op2 notifications@github.com wrote:
|
No description provided.