Naresh Krish
/
itracker-mbed-os-example-gsm
Sample app on how to interface with the BC95 GSM NB IoT module on the RAK Wireless itracker
Revision 1:3ced3cedee8f, committed 2018-02-13
- Comitter:
- knaresh89
- Date:
- Tue Feb 13 08:27:24 2018 +0000
- Parent:
- 0:6ca6723bc32e
- Commit message:
- code edit for gsm off functionality
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6ca6723bc32e -r 3ced3cedee8f main.cpp --- a/main.cpp Tue Feb 13 08:26:52 2018 +0000 +++ b/main.cpp Tue Feb 13 08:27:24 2018 +0000 @@ -42,6 +42,14 @@ wait_ms(200); } +void gsm_pwr_off() +{ + gsm_on = 1; + wait_ms(200); + gsm_on = 0; + wait_ms(200); +} + void gsm_boot() { gsm_pwrkey = 0;