xue liu
/
mbed-os-example-cellular-Wislink
mbed os example for Wislink RAK2011
Revision 45:d90a8c5ae1e3, committed 2020-05-07
- Comitter:
- ClockworkBird
- Date:
- Thu May 07 21:57:52 2020 +0000
- Parent:
- 44:e621506d052d
- Commit message:
- - add config for Wislink and Hologram
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed_app.json | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jul 24 15:27:53 2019 +0000 +++ b/main.cpp Thu May 07 21:57:52 2020 +0000 @@ -27,18 +27,17 @@ void BG96_Modem_PowerON(void) { - DigitalOut BG96_RESET(D7); - DigitalOut BG96_PWRKEY(D9); + DigitalOut BG96_RESET(D5); + DigitalOut BG96_PWRKEY(D6); BG96_RESET = 1; - BG96_PWRKEY = 1; wait_ms(200); BG96_RESET = 0; - BG96_PWRKEY = 0; + BG96_PWRKEY = 1; wait_ms(300); - BG96_RESET = 1; + BG96_PWRKEY = 0; wait_ms(5000); }
--- a/mbed_app.json Wed Jul 24 15:27:53 2019 +0000 +++ b/mbed_app.json Thu May 07 21:57:52 2020 +0000 @@ -30,8 +30,8 @@ "platform.stdio-buffered-serial": true, "cellular.debug-at": false, "nsapi.default-cellular-plmn": 0, - "nsapi.default-cellular-sim-pin": "\"1234\"", - "nsapi.default-cellular-apn": "\"lte-internet.sktelecom.com\"", + "nsapi.default-cellular-sim-pin": 0, + "nsapi.default-cellular-apn": "\"HOLOGRAM\"", "nsapi.default-cellular-username": 0, "nsapi.default-cellular-password": 0, "QUECTEL_BG96.tx": "D1",