OSDN Git Service

android: Add name property length define
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>
Thu, 31 Oct 2013 14:25:32 +0000 (15:25 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 31 Oct 2013 14:48:42 +0000 (16:48 +0200)
Add define for adapter and remote device name property.

android/hal-msg.h

index b792411..8a344d8 100644 (file)
@@ -89,6 +89,8 @@ struct hal_cmd_get_adapter_prop {
        uint8_t type;
 } __attribute__((packed));
 
+#define HAL_MAX_NAME_LENGTH            249
+
 #define HAL_PROP_ADAPTER_NAME                  0x01
 #define HAL_PROP_ADAPTER_ADDR                  0x02
 #define HAL_PROP_ADAPTER_UUIDS                 0x03