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

Button App Structure

Hello.

I want to design a product. It will have these features;

  • It has 4 buttons on it.
  • Obviously it is battery powered device.
  • I want to see some information given order below; GroupName (7 bytes), DeviceName (7 bytes), Device ID (1 byte), buttons state (1 byte), tx power (1 byte), rssi (i think this will be in the center side?) without make any pairing/peering/connection. (advertisement packet i belive??)
  • I want to change some advertisement interval & timeout, device name, group name, device id, min&max connection timeout (i am not sure what they are. can some one explain?), tx power.
  • When someone try to connect to the my device, it should be secure. I meant by secure, no one can connect my device other than authorized person.

I try to do that and i wrote my own custom service etc. But somehow i cant continue to develop my software any more. (i have some issues here and i belive i need to read more documents to get my head clear. )

How can i do this thing, what should do, which way i have to go, what i need to know/learn.

I am not asking to write these code for me. I am asking you to guide me which way i have to go.

Thank you.

Parents
  • Normally one would try to test and then recompile and understand all BLE examples inside nRF5 SDK. Once you are comfortable with how LL, GAP and GATT BLE layers wok in BLE (as "theoretical" concept) and how they are translated to Nordic BLE Stack (Soft Device) API calls (id you decide to use Nordic stack and not some other variant like open source Zephyr) then you can stat to design simple FWs yourself (like write your won advertiser only, then simple GAP Peripheral + GATT Server and test it with nRF Connect application on your Smart Phone) and finally you will arrive to your won application (your requirements look like very common and basic/easy BLE app!). There are indeed all the Tutorials on this page so again going through all of them and understanding what they show is the best. There are some people who encountered problems during doing that but that should be solvable through the forum...

    So finally after few weeks or months of work you should be decent expert on BLE and nRF5x products able to independently design and implement BLE FWs;) But I guess the same way works for pretty much any platform, programming language, technology... so I don't understand why the people still ask the same question again and again and again (these all can be put into "I'm new to this, I spent few days of reading, I'm lazy to go on, can anyone tell me where I read ultimate tutorial which will make the expert from me in 24 hours? Or even better where someone already developed exactly what I need and give it to me for free"? The obvious answers are "You cannot become expert in 24 hours, you will need to invest much more - depending on your prerequisites and how fast learner you are it can be 4 weeks of full time or 6 months. Also if you think that someone came before you with your obscure use case and published it with free license on GitHub - the answer is most probably NO!").

  • All i want is documents. For dummies, simple, getting started level. Rest of it, i will do the job.I do not expect from any body.

Reply Children
No Data
Related