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

Control a function by button and/or BLE (e.g. iOS App)

Hi,

i started writing a BLE application with the nRF51822 but i seam to have some trouble understanding BLE/S110. My application will consist of a button and an actor connected to the nRF51822 and a smartphone app. I would like to create a characteristic in my service (called ACS - actor control service) which I would like to contain all this in one variable. Both should be able to control different modes of the actor like ON/50%/OFF. And for example when I turn the actor ON using the button it should be notify the app of this event. I read AN-36 and as far as I understand the button and the led are either writeable or readable parameters. But what I don't want is using several different vairables/characteristics to do that one task (like in AN36 for the led (write from smartphone to led) and button(write button status from nRF51822 to app)).

My questions are: Is this possible like I discribed and how? Can you maybe recommend examples to look at and/or any docs to read?

Thanks in advance.

Regards Marius

Parents Reply Children
No Data
Related