Exportable version of WizziLab's modem driver.
Diff: include/modem_ref.h
- Revision:
- 41:6f83174ffed4
- Parent:
- 37:f5424d109c6d
- Child:
- 43:6e3b117f1d67
- Child:
- 48:37bf104b3a39
--- a/include/modem_ref.h Fri Oct 12 12:37:16 2018 +0000 +++ b/include/modem_ref.h Mon Nov 26 16:42:16 2018 +0000 @@ -248,6 +248,15 @@ //====================================================================== typedef void (fx_busy_t) (u8 busy); +//====================================================================== +// fx_itf_busy_t +//---------------------------------------------------------------------- +/// @brief Called when BUSY URC is generated by the modem. +/// @param ifid : interface file id +/// @param busy : busy time in seconds +//====================================================================== +typedef void (fx_itf_busy_t) (u8 ifid, u32 busy); + // Set of functions passed together at modem openning typedef struct { // ALP File 'Action' callbacks @@ -263,6 +272,7 @@ fx_reset_t* reset; fx_boot_t* boot; fx_busy_t* busy; + fx_itf_busy_t* itf_busy; } modem_callbacks_t; //======================High-Level-API===============================}}} @@ -449,6 +459,8 @@ //====================================================================== public void modem_delete_file(u8 fid, u8 id); +public void modem_delete_file_root(u8 fid, u8* root_key, u8 id); + //====================================================================== // modem_notify_file //---------------------------------------------------------------------- @@ -486,7 +498,7 @@ //====================================================================== // "Response" functions to be called-back on requests from the modem //==================================================================={{{ -public void modem_respond(u8 action, s8 status, int id); +public void modem_respond(s8 status, int id); public void modem_respond_fprop(u8 fid, u8* hdr, int id); public void modem_respond_read(u8 fid,void *data,u32 offset,u32 length, int id); //==========================Response=================================}}}