[RFC 1/6] android/hal-msg: Add configuration command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/hal-msg.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/android/hal-msg.h b/android/hal-msg.h
index 09bd9a0..8daea2d 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -69,6 +69,24 @@ struct hal_cmd_unregister_module {
 	uint8_t service_id;
 } __attribute__((packed));
 
+#define HAL_CONFIG_MANUFACTURER_NAME	0x00
+#define HAL_CONFIG_SYSTEM_ID		0x01
+#define HAL_CONFIG_MODEL_NUMBER		0x02
+#define HAL_CONFIG_SERIAL_NUMBER	0x03
+
+#define HAL_CONFIG_PROP_LEN		92
+
+struct hal_config_prop {
+	uint8_t type;
+	uint8_t buf[HAL_CONFIG_PROP_LEN];
+} __attribute__((packed));
+
+#define HAL_OP_CONFIGURATION		0x03
+struct hal_cmd_configuration {
+	uint8_t num;
+	struct hal_config_prop props[0];
+} __attribute__((packed));
+
 /* Bluetooth Core HAL API */
 
 #define HAL_OP_ENABLE			0x01
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux