aboutsummaryrefslogtreecommitdiffstats
path: root/vapi
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-10-25 07:53:34 +0200
committerSimon Busch <morphis@gravedo.de>2011-10-25 18:48:41 +0200
commit5c29db2090555128d66f97dfa580af2967900b95 (patch)
tree2bf1df30918f7087425f8946a408bda25b8f02e1 /vapi
parentdb2112e4f135bcdd7c1533e9e973dddebb6bf37c (diff)
downloadexternal_libsamsung-ipc-5c29db2090555128d66f97dfa580af2967900b95.zip
external_libsamsung-ipc-5c29db2090555128d66f97dfa580af2967900b95.tar.gz
external_libsamsung-ipc-5c29db2090555128d66f97dfa580af2967900b95.tar.bz2
Implement several parts of known gprs messages types
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'vapi')
-rw-r--r--vapi/samsung-ipc-1.0.vapi79
1 files changed, 79 insertions, 0 deletions
diff --git a/vapi/samsung-ipc-1.0.vapi b/vapi/samsung-ipc-1.0.vapi
index c9bd881..d98107f 100644
--- a/vapi/samsung-ipc-1.0.vapi
+++ b/vapi/samsung-ipc-1.0.vapi
@@ -578,6 +578,85 @@ namespace SamsungIpc
/* ******************************************************************************** */
+ namespace Gprs
+ {
+ [CCode (cname = "gint8", cprefix = "IPC_GPRS_CALL_STATUS_TYPE_", has_type_id = false)]
+ public enum CallStatusType
+ {
+ ON,
+ OFF,
+ }
+
+ [CCode (cname = "gint8", cprefix = "IPC_GPRS_ERROR_", has_type_id = false)]
+ public enum ErrorType
+ {
+ UNAVAILABLE,
+ }
+
+ [CCode (cname = "struct ipc_gprs_define_pdp_context", destroy_function = "")]
+ public struct DefinePdpContextMessage
+ {
+ public uint8[] unk0;
+ public uint8[] apn;
+
+ [CCode (cname = "ipc_gprs_define_pdp_context_setup")]
+ public void setup(string apn);
+ }
+
+ [CCode (cname = "struct ipc_gprs_ip_configuration", destroy_function = "")]
+ public struct IpConfigurationMessage
+ {
+ public uint8 unk0;
+ public uint8 field_flag;
+ public uint8 unk1;
+ public uint8[] ip;
+ public uint8[] dns1;
+ public uint8[] dns2;
+ public uint8[] gateway;
+ public uint8[] subnet_mask;
+ }
+
+ [CCode (name = "struct ipc_gprs_call_status", destroy_function = "")]
+ public struct CallStatusMessage
+ {
+ public uint8 cid;
+ public CallStatusType status;
+ public uint16 reason;
+ }
+
+ [CCode (cname = "struct ipc_gprs_hsdpa_status", destroy_function = "")]
+ public struct HsdpaStatusMessage
+ {
+ public uint8 unk;
+ }
+
+ [CCode (cname = "struct ipc_gprs_pdp_context", destroy_function = "")]
+ public struct PdpContextMessage
+ {
+ public uint8[] unk0;
+ public uint8[] username;
+ public uint8[] password;
+ public uint8[] unk1;
+
+ [CCode (cname = "ipc_gprs_pdp_context_setup")]
+ public void setup(string username, string password);
+ }
+
+ [CCode (cname = "struct ipc_gprs_ps", destroy_function = "")]
+ public struct PsMessage
+ {
+ public uint8[] unk;
+ }
+
+ [CCode (cname = "struct ipc_gprs_current_session_data_counter", destroy_function = "")]
+ public struct CurrentSessionDataCounterMessage
+ {
+ public uint8[] unk;
+ }
+ }
+
+ /* ******************************************************************************** */
+
[CCode (cname = "struct ipc_header", destroy_function = "")]
public struct Header
{