5 Replies Latest reply on Apr 13, 2016 7:14 AM by yi.li_1484786

    How to implement iBeacon on PSoC 4 BLE?

    pavlo.kostrytsia

       From What is the iBeacon Bluetooth Profile I understood the format of iBeacon. In Project #008: GAP Broadcaster it is mentioned that iBeacon is based on GAP Broadcaster approach. However, PSoC Creator doesn't allow me to customize advertisement packet to make iBeacon based on GAP Broadcaster template. How can I do it?

        • 1. Re: How to implement iBeacon on PSoC 4 BLE?
          user_1377889

          Have a look here  into one of the examples of 100 BLE projects in 100 Days

             

           

             

          Bob

          • 2. Re: How to implement iBeacon on PSoC 4 BLE?
            user_14586677

            AltBeacon is the Radius Networks beacon implementation. Seems like it

               

            can interop but then there is this .....

               

             

               

            community.aerohive.com/aerohive/topics/altbeacon-vs-ibeacon-isnt-this-just-fragmenting-things-further-ibeaconwebinar

               

             

               

            Maybe file a CASE to see if any internal work ongoing -

               

             

               

                

               

                     

               

            To create a technical case at Cypress -

               

             

               

            www.cypress.com

               

            “Support”

               

            “Technical Support”

               

            “Create a Case”

               

             

               

            You have to be registered on Cypress web site first.

               

             

               

            Regards, Dana.

            • 3. Re: How to implement iBeacon on PSoC 4 BLE?
              yi.li_1484786

              I use the Dynamic Broadcaster project (Day009 of the 100 project 100 Days) as the template. For now, I need to update the BLE component in the TopDesign by using Project>Update Components (<name>).

                 

              After updating, I went to the BLE configure by double-click the component. The Broadcaster/Observer has been selected in the General tab. Then, in the GAP Setting tab, I changed the advertisement packet.

                 
                    
              • only select Manufacturer Specific Data (no access to Flags anyway)
              •     
              • change company to "Apple, Inc", which can be selected in the list
              •     
              • type the Data into the Data field. start from 02:15:<long UUID>:<Major>:<Minor>:<TX Power> (length:23, can be checked in the right hand under Data from [0] to [22])
              •     
              •  In the program, this data can be changed by changing the value in cyBle_discoveryModeInfo.advData, and using fuction: CyBle_GapUpdateAdvData(cyBle_discoveryModeInfo.advData, cyBle_discoveryModeInfo.scanRspData); to update the package, should be able to include the major andminor.
              •    
                 

              It seems like the .advData[2] and .advData[3] must be 0x061A accroding to the package of iBeacon, but I didn't manage to change them from what Cypress gave, which this is the Flags in the configuration part I can't get the access. BUT, it doesn't effect my beacon searching app on my iphone to detected this BLE node as an iBeacon once I add the <long UUID> into the app's list.

                 

              So, for now, I have managed to turn the BLE node as a Beacon and detect it by using the app installed in my iPhone. I am going to check if I can change UUID, Major and Minor. 

              • 4. Re: How to implement iBeacon on PSoC 4 BLE?
                user_371671023

                Hi Bob Marlowe:

                   

                                            I am excited that there are a lot of BLE projects in GitHub, that you shared the link. I found that some of projects are invalid such as Find Me, Heart Rate Sensor..I want to practice all of BLE project. Could you check all of  BLE projects are vaild? Thanks any way...

                • 5. Re: How to implement iBeacon on PSoC 4 BLE?
                  user_1377889

                  Welcome in the forum!

                     

                  It is always best practice to start a new thread instead of using a one year old one with a quite different topic.

                     

                  No, I cannot check the projects for you, but when you have problems with any of those you may post your complete project, so that we all can have a look at all of your settings. To do so, use
                  Creator->File->Create Workspace Bundle (minimal)
                  and attach the resulting file.

                     

                  Furthermore, please specify you board you use and the error you find.

                     

                   

                     

                  Bob