ibeacon local name isn't showed on stm32wb5mm-dk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-25 1:40 AM
Hello i'm starting programming with stm32, i've bought the stm32wb5mm-dk and with stm32cubemx I've tried to configure the board to create a ble ibeacon.
So, now i can see the ibeacon from nrf app but isn't showed the name (N/A ibeacon). How can i see the name?
I've to change anything?
Sorry i'm really new in this field.
Thanks
Solved! Go to Solution.
- Labels:
-
STM32WB series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-25 6:52 AM
Hello,
please change the IBeacon_Init() function like this: (ibeacon_service.c file)
Best regards,
Filip Kremen
static const char a_LocalName[] = {AD_TYPE_COMPLETE_LOCAL_NAME , 'B', 'E', 'A', 'C', 'O', 'N'};
/* Put the device in a non-connectable mode. */
ret = aci_gap_set_discoverable(ADV_NONCONN_IND, /*< Advertise as non-connectable, undirected. */
AdvertisingInterval, AdvertisingInterval, /*< Set the advertising interval as 700 ms (0.625 us increment). */
GAP_PUBLIC_ADDR, NO_WHITE_LIST_USE, /*< Use the public address, with no white list. */
sizeof(a_LocalName), (uint8_t*) &a_LocalName, /*< Do not use a local name. */
0, NULL, /*< Do not include the service UUID list. */
0, 0); /*< Do not set a slave connection interval. */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-25 6:52 AM
Hello,
please change the IBeacon_Init() function like this: (ibeacon_service.c file)
Best regards,
Filip Kremen
static const char a_LocalName[] = {AD_TYPE_COMPLETE_LOCAL_NAME , 'B', 'E', 'A', 'C', 'O', 'N'};
/* Put the device in a non-connectable mode. */
ret = aci_gap_set_discoverable(ADV_NONCONN_IND, /*< Advertise as non-connectable, undirected. */
AdvertisingInterval, AdvertisingInterval, /*< Set the advertising interval as 700 ms (0.625 us increment). */
GAP_PUBLIC_ADDR, NO_WHITE_LIST_USE, /*< Use the public address, with no white list. */
sizeof(a_LocalName), (uint8_t*) &a_LocalName, /*< Do not use a local name. */
0, NULL, /*< Do not include the service UUID list. */
0, 0); /*< Do not set a slave connection interval. */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-25 11:30 PM
Perfect thanks!
