I can subscript to SimpleBLEPeripheral's 0xFFF3 Notification.
But I CANNOT subscript to Apple's ANCS Notification.
The possible problem is on the "Bonding". When I use LightBlue on iPhone 4 (6.1) my iPad Mini (Run ANCS Program) will ask for Pair. If I remove the Pairing on Bluetooth Setting. My LightBlue won't work with ANCS anymore . I have to Restart LightBlue and re-Pairing then it work with ANCS.
1.I try to set the Notification but it fail, So I fall back to connect to SimpleBLEPeripheral . It is also not easy,too. Beacuse there are few example on how to set Notification and most of them are not correct.
2.I make a few mistake on a)Got the wrong Charateristic UUID of 0xFFF4 it is 0x002f instead of 0x002e b)I should use GATT_WriteCharValue() instead of GATT_WriteNoRespon() c)req.cmd = 0, not 1;
3.Next step is to parse the Notification Message and try to port to ANCS
PS.The "MSG: 7" on the LCD Screen means, it has got 7 Notification. (BLEPeripheral will send out notification every 5 seconds)
PS.Another problem of why it is hard to debug is I cannot tell if BLEPeripheral has really got my Command from BLECentral. I don't know where to put my Log
It's a simple question: Why are you starting a company?
It's hard to answer. Either because you don't know or you are embarrassed about how simple the reason is.
The good news is you can get away without have a clear why for a very long time. Most people will never ask you, instead they will focus on what you have built.
The bad news is down the road then the deck is stacked against you, when you are exhausted from the journey, and when you are wavering between a crappy and a really crappy decision, not having a clear why make you a leader without a compass.
To figure out your why, here is a simple exercise you can take yourself through:
List what you are passionate about.
List all the reasons you want to start a company.
List all the emotions and desires you feel. (Frustration, hope, happiness, wanting freedom, etc)
List what you want to change, improve, or make better in the world. These could be literal to the activity (i.e., make something easier), the feeling your customers will have (i.e., make people happy), or something you want to change (i.e., make the world better).
Once you create these lists you can step back and find the common thread. While being honest with yourself can be hard, it's necessary if you want to be a great entrepreneur. If you can't understand why, you will start and run the wrong company.
Because if you do, it changes everything. You start with a spreadsheet instead of a real problem in the world. The people around you turn into costs. Your brand is referred to as an asset to be leveraged. Your customers become annoying people who won't leave you alone. Your handshake gets replaced with a legal contract that protects you in all circumstances. You start taking short cuts expecting the acquiring company to fix it. You stop worrying about making your culture great because it won't matter once everyone makes money.
You will destroy the very masterpiece your are trying to build.
Instead, choose to take this journey because no matter what happens at the end of the day you are happier after your company than before it. If not, when you don't have a pile of money, your company fails, or you're on the outside looking in, you won't be happy.
Test iBeacon's iOS Native Location Manager's Events. When App run in background LocationManager will send event about iBeacon Enter or Leave. The problem of this method is you can monitor only 20 locations and the response time is slow. When I turn on the beacon it show Enter in 20~30 seconds. When I turn off beacon it show Leave also in 20~30 seconds. I think there is no way to change this.