AnsweredAssumed Answered

BLE advertisement name is not displayed with full length in BSP-4.9.11

Question asked by Gaurang Khodifad on Jan 29, 2018
Latest reply on Mar 23, 2018 by gusarambula

We are verifying latest BSP-4.9.11 on the iMX6ULEVK board and facing issue during BLE validation that BLE name on the advertisement is not displayed with full length. The BLE advertise name is limited to 10 characters only.


Below is the setup:
H/W: iMX6ULEVK with Murata 1DX WiFi-BLE adapter(Followed start guide chapter:2.4 for hardware setup)
S/W: Target image for "core-image-base"
DTB: imx6ul-14x14-evk-btwifi.dtb


Below are the steps followed:
1. Boot the board.
2. Log in to the terminal using "root" username.
3. Attach the BLE to the serial port using below command,
   $ hciattach /dev/ttymxc1 bcm43xx 3000000 flow -t 20
4. Follow below steps to set the BLE name and make it discoverable,
   $ hciconfig hci0 up
   $ hciconfig hci0 name imx6ulevkbluetooth
   $ hciconfig hci0 down
   $ hciconfig hci0 up
   $ hcitool -i hci0 cmd 0x08 0x0008 15 02 01 16 11 07 02 77 46 71 e2 cf fc 99 e6 11 08 c8 e4 13 67 ab 00 00 00 00 00 00 00 00 00 00
   $ hciconfig hci0 leadv 0
5. Then use "BLE scanner" mobile application in the Android smartphone to discover the BLE device and it will only display name "imx6ulevkb"


Note: Default BlueZ5 used in the BSP-4.9.11 is v5.41.