Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: modem_ref_helper DebouncedInterrupt
Revision 14:8b8a61233e8d, committed 2021-09-21
- Comitter:
- Jeej
- Date:
- Tue Sep 21 16:36:38 2021 +0000
- Parent:
- 13:343ca4102739
- Commit message:
- All URCs to URC callback.
Changed in this revision
diff -r 343ca4102739 -r 8b8a61233e8d main.cpp
--- a/main.cpp Tue Sep 21 08:49:29 2021 +0000
+++ b/main.cpp Tue Sep 21 16:36:38 2021 +0000
@@ -186,11 +186,8 @@
.flush = my_flush,
.remove = my_delete,
.udata = my_udata,
- .lqual = my_lqual,
- .ldown = my_ldown,
.reset = my_reset,
.boot = my_boot,
- .busy = my_busy,
};
/*** Main function ------------------------------------------------------------- ***/
diff -r 343ca4102739 -r 8b8a61233e8d modem_callbacks.cpp
--- a/modem_callbacks.cpp Tue Sep 21 08:49:29 2021 +0000
+++ b/modem_callbacks.cpp Tue Sep 21 16:36:38 2021 +0000
@@ -29,16 +29,6 @@
modem_ref_respond(action, ALP_ERR_FILE_NOT_FOUND, id);
}
-void my_lqual(u8 ifid, int per)
-{
- PRINT("Interface File [%3d] LQUAL : %d%% PER\r\n", ifid, per);
-}
-
-void my_ldown(u8 ifid)
-{
- PRINT("Interface File [%3d] LDOWN\r\n", ifid);
-}
-
void my_reset(void)
{
PRINT("Restarting application...\r\n");
@@ -52,21 +42,4 @@
// Modem re-booted, restart APP
my_reset();
-}
-
-void my_busy(u8 busy)
-{
- if (busy)
- {
- PRINT("Modem Busy\r\n");
-
- /* Stop report, do not use modem */
- /* Wait for modem reboot or modem not busy */
- }
- else
- {
- PRINT("Modem not Busy\r\n");
-
- /* Resume reports */
- }
}
\ No newline at end of file
diff -r 343ca4102739 -r 8b8a61233e8d modem_callbacks.h --- a/modem_callbacks.h Tue Sep 21 08:49:29 2021 +0000 +++ b/modem_callbacks.h Tue Sep 21 16:36:38 2021 +0000 @@ -6,8 +6,5 @@ void my_flush(u8 action, u8 fid, int id); void my_delete(u8 action, u8 fid, int id); void my_udata(alp_payload_t* alp); -void my_lqual(u8 ifid, int per); -void my_ldown(u8 ifid); void my_reset(void); -void my_boot(u8 cause, u16 number); -void my_busy(u8 busy); \ No newline at end of file +void my_boot(u8 cause, u16 number); \ No newline at end of file
diff -r 343ca4102739 -r 8b8a61233e8d modem_d7a.lib --- a/modem_d7a.lib Tue Sep 21 08:49:29 2021 +0000 +++ b/modem_d7a.lib Tue Sep 21 16:36:38 2021 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/WizziLab/code/modem_ref_helper/#cbe558f136a4 +https://developer.mbed.org/teams/WizziLab/code/modem_ref_helper/#5146f44cde83