summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/LTE
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-10-03 05:32:46 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-10-03 05:32:46 +0200
commit36b8e46de0e92aff31664470bb3587a91517ab99 (patch)
tree780ce906e9273ebbee00a96230557e0b7e9ac9d9 /dev/modules/LTE
parent3e30ee1749d19f5188560f9a5cdab922180c71ca (diff)
IMP: Fixes improvements and new APIs and implementations.
- Add more threading API calls. - Moved /dev/zka/modules/ to /dev/modules/. - Add APM API inside /dev/modules. - Add SInt{x} types inside Defines.hxx. - Fix formatting inside PRM. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/modules/LTE')
-rw-r--r--dev/modules/LTE/.keepme0
-rw-r--r--dev/modules/LTE/IO.hxx28
2 files changed, 28 insertions, 0 deletions
diff --git a/dev/modules/LTE/.keepme b/dev/modules/LTE/.keepme
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/dev/modules/LTE/.keepme
diff --git a/dev/modules/LTE/IO.hxx b/dev/modules/LTE/IO.hxx
new file mode 100644
index 00000000..15546515
--- /dev/null
+++ b/dev/modules/LTE/IO.hxx
@@ -0,0 +1,28 @@
+/* -------------------------------------------
+
+Copyright ZKA Technologies..
+
+File: LTE\IO.hxx.
+Purpose: LTE I/O.
+
+------------------------------------------- */
+
+#ifndef _INC_NETWORK_LTE_IO_HXX_
+#define _INC_NETWORK_LTE_IO_HXX_
+
+#include <NewKit/Defines.hxx>
+#include <NewKit/String.hxx>
+
+/// @brief Long Term Evolution I/O routines.
+
+/// @brief Turn on SIM slot.
+Kernel::Boolean lte_turn_on_slot(Kernel::Int32 slot);
+
+/// @brief Turn off SIM slot.
+Kernel::Boolean lte_turn_off_slot(Kernel::Int32 slot);
+
+/// @brief Send AT command.
+Kernel::Boolean lte_send_at_command(Kernel::Char* buf,
+ Kernel::Size bufSz);
+
+#endif // ifndef _INC_NETWORK_LTE_IO_HXX_