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

data type of nrf51822

Hello!

I am studying with nrf 51822 eval kit.

I wanted to ask you something about data type of nrf51822.

For the iBeacon model, it needs 31 bytes. 4 bytes of them use the model name of Beacon. Since then, the 2 byte has information about location. And finally, the last 2 bytes contained information about Transmit Power.

I wonder what type of nrf 51822 is receiving the cellular phone and processing it.

And what changes can I make to the firmware?

Thank you!

Parents
  • I'm afraid you are mixing HW (nRF51822) with different BLE layers managed by SW (PDU limit of 31 bytes on Link Layer managed by lower stack - in case of nRF51 it's usually Nordic Soft Device - and GAP/APP data inside the PDU which are managed typically by custom application through lower stack GAP API). If you are interested in iBeacons then firstly study the standard (either from Apple directly or anywhere in the internet, there are dozens of articles) and then test .\examples\ble_peripheral\ble_app_beacon\ from nRF5 SDK v12.3.0. Once you will understand how exactly this example works internally (there is single C file where everything happens) then you can start modifying Advertising data (and Scan Response data if necessary) to fit your specific use case (from your description i seems that you want to change format so it won't be Apple iBeacon any more).

Reply
  • I'm afraid you are mixing HW (nRF51822) with different BLE layers managed by SW (PDU limit of 31 bytes on Link Layer managed by lower stack - in case of nRF51 it's usually Nordic Soft Device - and GAP/APP data inside the PDU which are managed typically by custom application through lower stack GAP API). If you are interested in iBeacons then firstly study the standard (either from Apple directly or anywhere in the internet, there are dozens of articles) and then test .\examples\ble_peripheral\ble_app_beacon\ from nRF5 SDK v12.3.0. Once you will understand how exactly this example works internally (there is single C file where everything happens) then you can start modifying Advertising data (and Scan Response data if necessary) to fit your specific use case (from your description i seems that you want to change format so it won't be Apple iBeacon any more).

Children
No Data
Related