2 Replies Latest reply on Sep 25, 2017 1:31 AM by sujayy_46

    the use of the function that wiced_bt_dev_set_local_name

      Hi,

       

      i have a question about the use of the function that wiced_bt_dev_set_local_name.

      There is no sample to use this function. Can you explain more?

       

       

      Jane.Xia

        • 1. Re: the use of the function that wiced_bt_dev_set_local_name
          BoonT_56

          Do you have a specific use-case scenario?

          • 2. Re: the use of the function that wiced_bt_dev_set_local_name

            Hi Jane,

             

            wiced_bt_dev_set_local_name is used to change the name of the device. However, this is useful only in BR/EDR applications.

            Note the following regarding device name:

            - If you want to change the device name during discovery(inquiry), then you will need to modify the name manually when setting the EIR data.

            - In BLE applications, you will have to change the name in advertisement packet (if necessary) and in the GATT database under the device name characteristic.

             

            To use wiced_bt_dev_set_local_name API, add this API in the BTM_ENABLED_EVT to an example project, say a2dp_sink. Using your mobile, search for BT devices. Initially, you will see "a2dp_sink" but once you connect to it, the device name will change to whatever you have set.

            2 of 2 people found this helpful