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_ref_helper.h
- Revision:
- 0:e9dd36a15d07
- Child:
- 1:0ec0bae00588
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modem_ref_helper.h Wed May 17 16:02:05 2017 +0000 @@ -0,0 +1,27 @@ +#ifndef __MODEM_REF_HELPER_H__ +#define __MODEM_REF_HELPER_H__ + +#include "mbed.h" +#include "rtos.h" +#include "WizziDebug.h" +#include "WizziCom.h" + +#include "hwcfg.h" +#include "ram_fs.h" + +#include "revision.h" +#include "alp_spec.h" +#include "alp_helpers.h" +#include "modem_ref.h" +#include "kal_fs.h" +#include "d7a_1x.h" +#include "d7a_1x_fs.h" +#include "alp.h" + +#define MODEM_VERSION_MAJOR 4 +#define MODEM_VERSION_MINOR 8 + +void modem_helper_open(modem_callbacks_t* callbacks); +void modem_update_file(uint8_t fid, alp_file_header_t* header, uint8_t* data); + +#endif \ No newline at end of file