- Add possibility yo set a custom friendly name to our device. Which will be seen by remotes devices at discovery
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36729 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -96,6 +96,10 @@ struct hci_command_header {
|
||||
|
||||
|
||||
#define OCF_WRITE_LOCAL_NAME 0x0013
|
||||
struct hci_write_local_name {
|
||||
char local_name[HCI_DEVICE_NAME_SIZE];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define OCF_READ_LOCAL_NAME 0x0014
|
||||
struct hci_rp_read_local_name {
|
||||
uint8 status;
|
||||
|
||||
@@ -33,6 +33,7 @@ public:
|
||||
|
||||
DiscoveryAgent* GetDiscoveryAgent();
|
||||
BString GetFriendlyName();
|
||||
status_t SetFriendlyName(BString& name);
|
||||
DeviceClass GetDeviceClass();
|
||||
status_t SetDeviceClass(DeviceClass deviceClass);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user