9 years, 3 months ago.

IBeacon not working

Hey i was using the code from http://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_iBeacon/file/9e6dff2c4c70/main.cpp

I am using this chip ( http://i.imgur.com/q8EM4uq.jpg ), it is nordic nRF51822 but i exactly do not know its peripheral config but its not mKit. I am using stlink v-2 to flash the chip using openocd from my linux system. I am using CMake to make a .hex file which is flashed into the chip. Along with the main program , i am cmaking the libraries - https://github.com/mbedmicro/mbed,https://github.com/mbedmicro/BLE_API and https://github.com/mbedmicro/nRF51822 .

Here is a gist of my main.cpp program and CMakeLists.txt https://gist.github.com/dhruvagarwal/64317c5cb96e396f1421

The .hex that is get is flashed properly in the chip.

I am testing this on my android phone via nordic Beacon App and iBeacon Detector App ( https://play.google.com/store/apps/details?id=youten.redo.ble.ibeacondetector )

I want my chip to be detected as an Ibeacon but its only being detected as a bluetooth device.

Kindly tell what things i am missing / some fixes i should do to make things work as required.

Thanks in Advance

Question relating to:

/ BLE_iBeacon Featured
Beacon demo for the BLE API using the nRF51822 native mode drivers

1 Answer

9 years, 3 months ago.

I can't reproduce the problem you're reporting. I am able to build the BLE_iBeacon demo for the Nordic mKit and get it to function like an iBeacon. Please remember to set the platform in the IDE correctly. If there is an error in flashing the program, the interface firmware presents an error.html (or something similar) in the virtual USB filesystem upon reconnecting. You might want to reset/hard-power-cycle the board before the demo runs.

Accepted Answer

Edited the question

posted by Dhruv Agarwal 24 Jan 2015

Edited the question

posted by Dhruv Agarwal 28 Jan 2015

@rohit - I had the same issue when I was building, because in India we have access to similar chips. I pretty much gave up after the beacon was not being detected. It would be nice to have your feedback on what is wrong here.

posted by sandeep ss 04 Feb 2015