diff --git a/src/main.rs b/src/main.rs index 4a89adb..2c01ecb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,10 @@ +mod modem; + use esp_idf_sys as _; // If using the `binstart` feature of `esp-idf-sys`, always keep this module imported fn main() { - println!("Hello, world!"); + println!("Starting GPRS ..."); + // TODO: start sim module + // TODO: connect to GPRS + println!("GPRS started ..."); } diff --git a/src/modem.rs b/src/modem.rs new file mode 100644 index 0000000..b9294bd --- /dev/null +++ b/src/modem.rs @@ -0,0 +1,3 @@ +pub struct Modem { + // TODO: connect to GPRS +}