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

ibeacon, how you decide to uuid as major, minor?

If I want to recognize the specific beacon device in the smartphone app, how to read a specific uuid as major, minor beacon in the application?

I know the uuid with a unique identifier.

If yes, what is the role of a major and a minor is?

Do I need to set a specific uuid in smartphone applications?

If the product has several, how do you classify the uuid?

Parents
  • @GunMin: You should have a look at the iBeacon specification. You would need the MFI license to have access. Here is a document on getting started with iBeacon.

    In our ble_app_beacon example, you can find the structure of the advertising packet for our beacon in the m_beacon_info[] structure. Major value and minor value are the 4 bytes follow the 16 bytes beacon UUID in the manufacturer data in the advertising packet.

  • If you want your device to be compliant with iBeacon from Apple, then it's not possible.

    If you don't then you can add your temperature , battery level in the scan response packet. It's the second packet that will be sent in response to the scan request from the central device. You will have 31 bytes extra with that. The trade off will be that the beacon will have an RX window to listen to scan request from central which consume more power.

Reply
  • If you want your device to be compliant with iBeacon from Apple, then it's not possible.

    If you don't then you can add your temperature , battery level in the scan response packet. It's the second packet that will be sent in response to the scan request from the central device. You will have 31 bytes extra with that. The trade off will be that the beacon will have an RX window to listen to scan request from central which consume more power.

Children
No Data
Related