mbim-service-phonebook.h 703 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * ID: 1
  3. * Command: Configuration
  4. */
  5. #define MBIM_CMD_PHONEBOOK_CONFIGURATION 1
  6. struct mbim_phonebook_configuration_r =
  7. u32 state;
  8. u32 numberofentries;
  9. u32 usedentries;
  10. u32 maxnumberlength;
  11. u32 maxname;
  12. }
  13. struct mbimphonebookentry = {
  14. u32 entryindex;
  15. struct mbim_string number;
  16. struct mbim_string name;
  17. }
  18. /*
  19. * ID: 2
  20. * Command: Read
  21. */
  22. #define MBIM_CMD_PHONEBOOK_READ 2
  23. struct mbim_phonebook_read_q = {
  24. u32 filterflag;
  25. u32 filtermessageindex;
  26. }
  27. struct mbim_phonebook_read_r =
  28. u32 entrycount;
  29. struct mbim_ref_struct_array entries;
  30. }
  31. /*
  32. * ID: 3
  33. * Command: Delete
  34. */
  35. #define MBIM_CMD_PHONEBOOK_DELETE 3
  36. /*
  37. * ID: 4
  38. * Command: Write
  39. */
  40. #define MBIM_CMD_PHONEBOOK_WRITE 4