diff --git a/android/hal-msg.h b/android/hal-msg.h
index 742054d..aba98ed 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
#define HAL_OP_HANDSFREE_COPS_RESPONSE 0x09
struct hal_cmd_handsfree_cops_response {
- uint32_t len;
+ uint16_t len;
uint8_t buf[0];
} __attribute__((packed));
#define HAL_OP_HANDSFREE_FORMATTED_AT_RESPONSE 0x0B
struct hal_cmd_handsfree_formatted_at_response {
- uint32_t len;
+ uint16_t len;
uint8_t buf[0];
} __attribute__((packed));
uint8_t mode;
uint8_t mpty;
uint8_t type;
- uint32_t number_len;
+ uint16_t number_len;
uint8_t number[0];
} __attribute__((packed));
uint8_t num_held;
uint8_t state;
uint8_t type;
- uint32_t number_len;
+ uint16_t number_len;
uint8_t number[0];
} __attribute__((packed));
#define HAL_EV_HANDSFREE_DIAL 0x87
struct hal_ev_handsfree_dial {
- uint32_t number_len;
+ uint16_t number_len;
uint8_t number[0];
} __attribute__((packed));
#define HAL_EV_HANDSFREE_UNKNOWN_AT 0x8F
struct hal_ev_handsfree_unknown_at {
- uint32_t len;
+ uint16_t len;
uint8_t buf[0];
} __attribute__((packed));