No bluetooth advertisement is found

Hi Community,

I made a custom board based on thingy53.

the custom board can be flashed with nRF5340-DK, I see the "merged_domains.hex" is flashed.

Also tried with nRF connect for desktop to flash the "dfu_application.zip", the result is the same.

the appliaction seems no problem, the output from the console looks same as on Thingy53:

*******************************************************************************

[00:00:00.005,187] <inf> Custom_MYMO: Starting Custom

[00:00:00.011,138] <inf> fs_nvs: 8 Sectors of 4096 bytes
[00:00:00.011,138] <inf> fs_nvs: alloc wra: 0, fd0
[00:00:00.011,138] <inf> fs_nvs: data wra: 0, 1c
[00:00:00.036,437] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.036,468] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:00.036,468] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 54.58864 Build 1214809870
[00:00:00.038,757] <inf> bt_hci_core: No ID address. App must call settings_load()
[00:00:00.041,198] <inf> bt_hci_core: Identity: E6:0B:3C:01:47:D0 (random)
[00:00:00.041,229] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x218f, manufacturer 0x0059
[00:00:00.041,259] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0x218f
return of bt_services_init:0
[00:00:00.044,982] <inf> Custom_MYMO: test print---0

[00:00:00.044,982] <inf> Custom_MYMO: Bluetooth initialized

[00:00:00.044,982] <inf> Custom_MYMO: test print---1

[00:00:00.050,628] <inf> Custom_MYMO: test print---2

[00:00:00.050,628] <inf> Custom_MYMO: Advertising successfully started

MCUBOOT_IMAGE_VERSION:0.0.3
switch LED
switch LED
switch LED
switch LED
switch LED

**************************************************************************************

As you can see "Advertising successfully started" , that means no issue for this function in main:

err = bt_le_adv_start(BT_LE_ADV_CONN, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd));
    if (err) {
        LOG_ERR("Advertising failed to start (err %d)\n", err);
        return err;
    }
the problem is I can not find the bluetooth advertisement with mobile phone. how can I verify if the network core works correctly? or any other idea?

Best regards

Danny 

Related