Helper library to use modem_ref driver.
Dependencies: WizziCom WizziDebug ram_fs modem_ref
Dependents: D7A_Localisation D7A_1x_demo_send_file_data_and_forget D7A_1x_demo_CodeUpgradeProtocol D7A_1x_demo_LoRaWAN ... more
Diff: modem_d7a.cpp
- Revision:
- 77:5146f44cde83
- Parent:
- 76:cbe558f136a4
- Child:
- 80:c2e45d6eab29
--- a/modem_d7a.cpp Tue Sep 21 08:48:40 2021 +0000 +++ b/modem_d7a.cpp Tue Sep 21 16:34:36 2021 +0000 @@ -105,12 +105,8 @@ .flush = NULL, .remove = NULL, .udata = NULL, - .lqual = NULL, - .ldown = NULL, .reset = NULL, .boot = my_startup_boot, - .busy = NULL, - .itf_busy = NULL, }; // Open modem Com port @@ -423,12 +419,10 @@ return _modem_send_alp(NULL, NULL, alp, MODEM_TIMEOUT_LOCAL); } -int modem_lwan_open(modem_lwan_callbacks_t* callbacks) +int modem_lwan_open(void) { int err = ALP_ERR_UNKNOWN; - - modem_ref_set_lwan_cb(callbacks); - + err = modem_lwan_set_urc(); if (ALP_ERR_NONE > err) { return err; }