summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Builtins
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-16 18:05:36 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-16 18:05:36 +0200
commitc4cbc986ac68dbfdc743efec58c72ebb74d3f3b0 (patch)
tree8aee3becceae40efd8e3a5198266cc800a962d93 /Kernel/Builtins
parent30bcb0416e8acaf3fb7b224e18534e7f64df26af (diff)
MHR-31: Start work on drivers for ARM64.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/Builtins')
-rw-r--r--Kernel/Builtins/GPRS/.keepme0
-rw-r--r--Kernel/Builtins/GSM/.keepme0
-rw-r--r--Kernel/Builtins/GSM/IO.hxx29
3 files changed, 29 insertions, 0 deletions
diff --git a/Kernel/Builtins/GPRS/.keepme b/Kernel/Builtins/GPRS/.keepme
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Kernel/Builtins/GPRS/.keepme
diff --git a/Kernel/Builtins/GSM/.keepme b/Kernel/Builtins/GSM/.keepme
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Kernel/Builtins/GSM/.keepme
diff --git a/Kernel/Builtins/GSM/IO.hxx b/Kernel/Builtins/GSM/IO.hxx
new file mode 100644
index 00000000..39de1a0f
--- /dev/null
+++ b/Kernel/Builtins/GSM/IO.hxx
@@ -0,0 +1,29 @@
+/* -------------------------------------------
+
+Copyright Zeta Electronics Corporation.
+
+File: GSM\IO.hxx.
+Purpose: GSM I/O.
+
+------------------------------------------- */
+
+#ifndef _INC_NETWORK_GSM_IO_HXX_
+#define _INC_NETWORK_GSM_IO_HXX_
+
+#include <NewKit/Defines.hpp>
+#include <NewKit/String.hpp>
+
+/// @brief GSM I/O routines.
+
+/// @brief Turn on SIM slot.
+NewOS::Boolean gsm_turn_on_slot(NewOS::Int32 slot);
+
+/// @brief Turn off SIM slot.
+NewOS::Boolean gsm_turn_off_slot(NewOS::Int32 slot);
+
+/// @brief Send AT command.
+NewOS::Boolean gsm_send_at_command(NewOS::Char* buf,
+ NewOS::Size bufSz);
+
+
+#endif // ifndef _INC_NETWORK_GSM_IO_HXX_