XDK iBeacon
응답
18. 10. 29 오후 6:01

Instructions to set the XDK as an iBeacon

1. Open SendAccelerometerDataOverBle XDK-Example Project
2. In the project explorer window Navigate to and open the header BLECustomConfig.h
    Project Explorer
        SendAccelerometerDataOverBle
            SDK
                xdk110
                    Common
                        config
                            BLECustomConfig.h
3. Edit the macro BLEIBEACON_SUPPORT_REPORTER to a value of 1 (line 127 in workbench 3.4.0)
        #define BLEIBEACON_SUPPORT_REPORTER                             1
4. Add code to register iBeacon
    a. Open AppController.c in the SendAccelerometerDataOverBle Project
        Project Explorer
            SendAccelerometerDataOverBle
                souce
                    AppController.c
    b. Navigate to AppControllerEnable function (line 336 in workbench 3.4.0)
    c. Add the following code after the BLE_Enable() function call (line 342 in workbench 3.4.0)
            BleStatus BleRetCode = BLESTATUS_FAILED;
            uint8_t BLE_UUID[16] = {0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90,  0x12, 0x34, 0x56, 0x78, 0x90, 0x90};
            BleRetCode = BLEIBEACON_REPORTER_Register(BLE_UUID, 0xABCD, 0x1234, 0xBE);
5. Clean, Build and Flash the Project to your XDK

/*************************************************************************************************************************************/

Confirm iBeacon Functionality

Download and open the app BLE Scanner by bluepixel technoligies

Android
1. Main screen will scan for all local BLE devices
2. Find the XDK_BLE_APP device
3. Confirm next the the name is (iBeacon)

Apple
1. At bottom of main screen select iFinder
2. At top of the Beacon Finder screen select the gears setting button
3. At top of the Finder iBeacons screen select the + button
4. Enter the iBeacon information in the Configuration screen
    a. iBeacon Name = XDK_BLE_APP
    b. Scanning UUID = 12345678-9012-3456-7890-123456789090
5. At top of the Configuration screen select save
6. Navigate back to the Beacon Finder screen
7. The XDKs UUID should show up as an IN RANGE BEACON

+1 (1 투표)
RE: XDK iBeacon
응답
18. 10. 30 오후 4:02 as a reply to BCDS Tester.
Dear Chris,

Thank you for sharing the information about how to turn the XDK into a Bluetooth iBeacon. This very helpful for other members of the XDK community, which might use the XDK in this application field.

Kind regards,
Franjo
0 (0 투표)