This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Multiactivity_beacon advertiser for nRF52 (Service and iBeacon together)

I am trying to port the experimental_ble_app_multiactivity_beacon advertiser example to nRF52.

I have used the document 'Migrating an nRF51 BLE project to nRF52' (infocenter.nordicsemi.com/index.jsp

I have only changed the Memory Areas as follows:

  • IROM1: 0x1C000/0x64000
  • IRAM1: 0x20002080/0xDF80

Moreover, I have changed:

  • APP_COMPANY_IDENTIFIER to 0x004C
  • BEACON_UUID, BEACON_MAJOR, BEACON_MINOR as per my needs.

(I did exactly the same with ble_app_beacon which worked as expected).

All the services are properly advertised and I am able to connect to them, but unfortunately the iBeacon is not detected by my iOS device.

I have also tried the timeslot variation, but I am not able to compile because of this error:

cannot open source input file "ble_stack_handler_types.h": No such file or directory

Can anyone help me with this or point me to a working sample of a BLS service together with iBeacon?

Tks

Parents
  • @Hung Bui. Thank you for your support. Setting the optimization to 0 did the job. The err_code has value 0 after connection. I attached the nRF Connect after the connection. iBeacon is still not reveled by the iOS application which should be triggered by it.

    FYI this is my ibecon configuration:

    define APP_COMPANY_IDENTIFIER 0x004C define BEACON_UUID 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09 define BEACON_ADV_INTERVAL 200
    define BEACON_MAJOR 0x0000
    define BEACON_MINOR 0x0001
    define BEACON_RSSI 0xC3

    IMG_2102.PNG Tks

Reply
  • @Hung Bui. Thank you for your support. Setting the optimization to 0 did the job. The err_code has value 0 after connection. I attached the nRF Connect after the connection. iBeacon is still not reveled by the iOS application which should be triggered by it.

    FYI this is my ibecon configuration:

    define APP_COMPANY_IDENTIFIER 0x004C define BEACON_UUID 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09 define BEACON_ADV_INTERVAL 200
    define BEACON_MAJOR 0x0000
    define BEACON_MINOR 0x0001
    define BEACON_RSSI 0xC3

    IMG_2102.PNG Tks

Children
No Data
Related