12.07.2015 Views

waspmote-gsm-gprs-pr.. - Libelium

waspmote-gsm-gprs-pr.. - Libelium

waspmote-gsm-gprs-pr.. - Libelium

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

General functions8.14. Getting module informationThe function whoamI() get the model of the module and saves it in ‘buffer_GPRS’. The function firmware_version()get the firmware of the module and saves it in ‘buffer_GPRS’.These funtions return ‘1’ on success, ‘0’ if error.Example of use:{}USB.<strong>pr</strong>int(F(“WhoamI: “));GPRS_Pro.whoamI();USB.<strong>pr</strong>intln(GPRS_Pro.buffer_GPRS);USB.<strong>pr</strong>int(F(“Firmware version: “));GPRS_Pro.firmware_version();USB.<strong>pr</strong>intln(GPRS_Pro.buffer_GPRS);-31- v0.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!