2
0

mbim-service-sms.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * ID: 1
  3. * Command: Configuration
  4. */
  5. #define MBIM_CMD_SMS_CONFIGURATION 1
  6. struct mbim_sms_configuration_r =
  7. u32 smsstoragestate;
  8. u32 format;
  9. u32 maxmessages;
  10. u32 cdmashortmessagesize;
  11. struct mbim_string scaddress;
  12. }
  13. struct mbimsmspdureadrecord = {
  14. u32 messageindex;
  15. u32 messagestatus;
  16. struct mbim_ref_byte_array pdudata;
  17. }
  18. struct mbimsmscdmareadrecord = {
  19. u32 messageindex;
  20. u32 messagestatus;
  21. struct mbim_string address;
  22. struct mbim_string timestamp;
  23. u32 encoding;
  24. u32 language;
  25. struct mbim_ref_byte_array encodedmessage;
  26. u32 encodedmessagesizeincharacters;
  27. }
  28. /*
  29. * ID: 2
  30. * Command: Read
  31. */
  32. #define MBIM_CMD_SMS_READ 2
  33. struct mbim_sms_read_q = {
  34. u32 format;
  35. u32 flag;
  36. u32 messageindex;
  37. }
  38. struct mbim_sms_read_r =
  39. u32 format;
  40. u32 messagescount;
  41. struct mbim_ref_struct_array pdumessages;
  42. struct mbim_ref_struct_array cdmamessages;
  43. }
  44. struct mbimsmspdusendrecord = {
  45. struct mbim_ref_byte_array pdudata;
  46. }
  47. struct mbimsmscdmasendrecord = {
  48. u32 encoding;
  49. u32 language;
  50. struct mbim_string address;
  51. struct mbim_ref_byte_array encodedmessage;
  52. u32 encodedmessagesizeincharacters;
  53. }
  54. /*
  55. * ID: 3
  56. * Command: Send
  57. */
  58. #define MBIM_CMD_SMS_SEND 3
  59. struct mbim_sms_send_r =
  60. u32 messagereference;
  61. }
  62. /*
  63. * ID: 4
  64. * Command: Delete
  65. */
  66. #define MBIM_CMD_SMS_DELETE 4
  67. /*
  68. * ID: 5
  69. * Command: Message Store Status
  70. */
  71. #define MBIM_CMD_SMS_MESSAGE_STORE_STATUS 5
  72. struct mbim_sms_message_store_status_r =
  73. u32 flag;
  74. u32 messageindex;
  75. }