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
Diff: main.cpp
- Revision:
- 1:3ced3cedee8f
- Parent:
- 0:6ca6723bc32e
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;