#1 April 12, 2017 17:49:44

cj8scrambler
Registered: 2017-04-07
Posts: 3
Profile   Send e-mail  

Trouble getting a valid MAC address

I'm using the LWB devkit connected to a Beagle Bone via UART5 running Linux. I'm following the “Laird Linux LWB Software Integration Guide” and I'm able to communicate with the LWB module. When I run the ‘brcm_patchram_plus’ command to patch the radio it runs for about 20 seconds then gives me the “Done setting line discpline” message. I assume this means success. I'm able to start the bluez stack and scan for BT devices.

However the MAC address of the LWB module is always “AA:AA:AA:AA:AA:AA”. I think this is causing problems with pairing. If I make the LWB module discoverable, I can see it from an Android phone, but I cannot see it from an iPad.

I have a sniff of the serial line, and I can see the LWB device reporting this MAC to the processor:


What could be causing me to get an invalid MAC address? Is there a way to query the address from the module? Is there a way to set the address from the host processor?

Edited cj8scrambler (April 12, 2017 17:50:45)

Offline

#2 April 12, 2017 19:46:13

SupportEngineer
Registered: 2016-03-11
Posts: 76
Profile   Send e-mail  

Trouble getting a valid MAC address

Hello,

May we ask if you could provide us with a copy of the .hcd file which you are using.
This would be located in /lib/firmware/brcm/xxxxxx.hcd

Additionally, can you confirm that you followed the Integration steps below?

The WLREG_ON and BT_REG_ON pins must be connected to GPIOs on the host processor. You must ensure that the GPIO pins you select are set high before loading the drivers or initializing Bluetooth.

These pins control the lowest power state of the Sterling LWB. They must be appropriately configured to
function correctly. We would recommend using device trees to control the configuration and state of the GPIO pins.

In discussing this matter with our Development Team they shared that they recently put together documentation which explains how to integrate the Laird Sterling-LWB Wi-Fi & Bluetooth with
BeagleBone Black Development Board under Linux. If you would like us to provide you with a copy of this documentation, please email us directly at cs-support@lairdtech.com

Offline

#3 April 13, 2017 14:18:52

cj8scrambler
Registered: 2017-04-07
Posts: 3
Profile   Send e-mail  

Trouble getting a valid MAC address

I'm using the ‘4343w-07_25_2016.hcd’ file which came from the laird_firmware_FCC_480-0079.zip release.

BT_REG_ON is enabled. It's shown in the trace above as ‘BT_EN’. WLREG_ON is not connected, but I'm not concerned with wifi that the moment. I am successfully communicating with the module and I'm able to pair with other devices. My concern is that the MAC address is not valid.

I saw that you had images posted for Beagle Bone, but I wasn't able to get them to boot up. I will email separately about the Beagle Bone documentation.

Offline

Board footer

Moderator control