How to check device's MAC address

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ns_4270701
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted

Development environment:

Windows 8.1 pro

Platform: CYBT-423028-02

IDE: Wiced Studio 6.2.1

We are using CYBT-423028-02 module in our project and we don't know how to check device MAC address for device's unique identity.

Question :1

So please suggest how do we keep unique identity for each device, so that on every .hex update we get something unique number that can be used by other devices to connect our device(ble advertising device ).

Just for an information:

We used Fix BD adress but there's some issue, we got the same address on each build.

wiced_bt_cfg.c file

.rpa_refresh_timeout =                  WICED_BT_CFG_DEFAULT_RANDOM_ADDRESS_NEVER_CHANGE,                     /**< Interval of random address refreshing - secs

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

You can get the local device addres with API void wiced_bt_dev_read_local_addr (wiced_bt_device_address_t bd_addr);

To configure the addr, you can use the API void wiced_bt_set_local_bdaddr( wiced_bt_device_address_t  bda , wiced_bt_ble_address_type_t addr_type);

View solution in original post

0 Likes
1 Reply
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

You can get the local device addres with API void wiced_bt_dev_read_local_addr (wiced_bt_device_address_t bd_addr);

To configure the addr, you can use the API void wiced_bt_set_local_bdaddr( wiced_bt_device_address_t  bda , wiced_bt_ble_address_type_t addr_type);

0 Likes