blob: 7cee2c8d4315c40960f03744cbb63fc99c145cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* ========================================
Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license..
File: LTE\LTE.h.
Purpose: LTE Standard Library.
======================================== */
#ifndef _INC_NETWORK_LTE_H_
#define _INC_NETWORK_LTE_H_
#include <NeKit/Defines.h>
#include <NeKit/KString.h>
/// @brief Long Term Evolution I/O routines.
/// @brief Turn on SIM slot.
Kernel::Boolean lte_turn_on_sim(Kernel::Int32 simSlot);
/// @brief Turn off SIM slot.
Kernel::Boolean lte_turn_off_sim(Kernel::Int32 simSlot);
/// @brief Send AT command.
Kernel::Boolean lte_send_at_command(Kernel::Char* buf, Kernel::Size bufReadSz,
Kernel::Int32 simSlot);
Kernel::Boolean lte_write_sim_file(Kernel::Char* file, Kernel::VoidPtr buf, Kernel::Size bufSz,
Kernel::Size offset, Kernel::Int32 simSlot);
Kernel::VoidPtr lte_read_sim_file(Kernel::Char* file, Kernel::Size bufSz, Kernel::Size offset,
Kernel::Int32 simSlot);
#endif // ifndef _INC_NETWORK_LTE_H_
|