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.
Dependents: modem_ref_helper_for_v5_3_217
Diff: include/modem_ref.h
- Revision:
- 25:14c01b9fc04d
- Parent:
- 19:701d5669f2e9
- Child:
- 30:74aa36420c61
--- a/include/modem_ref.h Wed Jan 31 11:37:58 2018 +0000 +++ b/include/modem_ref.h Tue Feb 27 11:05:38 2018 +0000 @@ -221,7 +221,6 @@ // fx_boot_t //---------------------------------------------------------------------- /// @brief Called when BOOT URC is generated by the modem. -/// LDOWN URC is setup by the user through 'modem_enable_urc' /// @param cause : Cause of the boot 'H':Pin/Hardware reset /// 'P':POR reset /// 'S':Software reset @@ -231,6 +230,14 @@ //====================================================================== typedef void (fx_boot_t) (u8 cause, u16 nb_boot); +//====================================================================== +// fx_boot_t +//---------------------------------------------------------------------- +/// @brief Called when BUSY URC is generated by the modem. +/// @param busy : 0 if not busy, else busy +//====================================================================== +typedef void (fx_busy_t) (u8 busy); + // Set of functions passed together at modem openning typedef struct { // ALP File 'Action' callbacks @@ -245,6 +252,7 @@ fx_ldown_t* ldown; fx_reset_t* reset; fx_boot_t* boot; + fx_busy_t* busy; } modem_callbacks_t; //======================High-Level-API===============================}}}