- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm newbie to wiced-smart platform.
Now I'm trying to make my device having a static random BD_ADDRESS, and read
Re: Static random device address
and already understood the mechanisms of wiced's static random address creation process.
But, when I insert following two lines in my _create() function
UINT8 bd_addr[6];
blecm_set_static_random_bd_addr(bd_addr);
with inserting following one line in top of my source code
#include "blecm_set_static_bd_addr.h"
and build, make says:
undefined reference to `blecm_set_static_random_bd_addr'
Is this function already deprecated?
If so, what is the name of the new alternative function?
Best,
Takashi
====
An update.
Adding one line into my makefile.mk in the last line resolved build issue.
APP_PATCHES_AND_LIBS += bd_addr_control.a
But again, the device just becomes FF:FF:FF:FF:FF:FF (because I appended BT_DEVICE_ADDRESS=ffffffffffff), and the Address Type bit is still set as Public (by looking at a sniffer provided by nordic).
Any one have a suggestion?
Best,
Takashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear j.t, boont,
thank you for suggestion.
I'll try it several hours later and report the result.
Best,
Takashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear j.t,
Clean and Build doesn't make difference. So the device still has a public address.
Best,
Takashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Takashi,
1. blecm_set_static_random_bd_addr(bd_addr); - What was the return values of that function?
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello JT,
the return of the function blecm_set_static_random_bd_addr() is 0, so it seems to be failed.
By using
blecm_startAdv(0x00,
100,
HCIULP_ADV_CHANNEL_MAP_MASK,
HCIULP_RANDOM_ADDRESS,
HCIULP_INITIATOR_FILTER_POLICY_WHITE_LIST_NOT_USED,
HCIULP_RANDOM_ADDRESS,
NULL);
instead of
bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL );
, the address type have changed into random address, however,
the address now became all zeros: 0x000000000000.
I'll extract the key structure of the source in the form of such as edited version of mybeacon, and attach.
Best,
Takashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear boont,
yes, still I don't have a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried out your method and I was able to have a random bd addr whenever I power up, as opposed to the all zeros you have reported. I'm using the hello_sensor.c on the tag3, and wiced_explorer app on a samsung s4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear boont,
Thanks for checking re-occurrence.
I'm now doubting of hardware ( circuitry ).
Could you please pass your e-mail to share our confidential circuit data?
My e-mail is: sagisaka@ux-xu.com
Best,
Takashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear boont,
We don't have TAG3 now, so I cannot try it out right now, but one apparent difference between TAG3 and
our board is that our design doesn't have an external EEPROM.
Do you have any idea about how to make bd_addr_control.a adjusted for our design?
( Key structure around BCM in our design is extracted below )
Otherwise, we have to somehow prepare several thousand public addresses by the week starts at 21th June... 😞
Best,
Takashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I noted from Victor's reply that the app will create a random bd address upon booting up, after which this address will be saved in the NVRAM (eeprom). If you do not have an eeprom, then this could be an issue.
From whom are you getting your 736/737? Do you happen to work with Macnica or Tecstar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, we've got our's from Macnica Tecstar.
I now got a BCM920737_LE_KIT, so am trying to follow your and dmiya's successful reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear boont
We and the vendor could not find out the cause, so we finally bought our
OUI.
Static random seems not working on our board using 20737S depicted above.
If you have already succeeded in ena bling the feature on any board with
20737S, I hope you to include the schematic and code into newer SDK
releases.
Best,
Takashi
2015/06/17 11:14 "boont" <communities-list@community.broadcom.com>:
<http://community.broadcom.com/?et=watches.email.thread> undefined
reference to `blecm_set_static_random_bd_addr'
reply from boont
<http://community.broadcom.com/people/boont?et=watches.email.thread> in *WICED
Smart Forums* - View the full discussion
<http://community.broadcom.com/message/16685?et=watches.email.thread#16685>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to clarify, what did you buy? What is OUI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We bought our IEEE's Organizationally Unique Identifier, to write public
address in our product.
2015/06/17 12:51 "boont" <communities-list@community.broadcom.com>:
<http://community.broadcom.com/?et=watches.email.thread> undefined
reference to `blecm_set_static_random_bd_addr'
reply from boont
<http://community.broadcom.com/people/boont?et=watches.email.thread> in *WICED
Smart Forums* - View the full discussion
<http://community.broadcom.com/message/16706?et=watches.email.thread#16706>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you have a chance to try out JT's suggestion?