This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

android app with nrf51

hi guys ; i have already an application on android phone that can read and write charchtéristic i also followed the tutorial Bluetooth low energy Characteristics, a beginner's tutorial but i have problem when i try to change state of one gpio (2 for example) accordin on the value of charchteristic it doesn't work . the change of the state that i do is inside of the function our_char_add also for your infomation the change of the characteristic works very well but the gpio pin still without any change main.c our_service.c our_service.h

  • So everything works except setting the gpio? You are writing to the characteristic from your mobile? And receiving the write event on your peripheral? Can you upload some code showing what doesn't work?

  • my problem is there i don't know how i make the write event, i can wirte the characteristic but i don't get the write event

  • Can you upload your code. It is hard to help you without it. You can edit your original post and attach files there. If you prefer confidentiality you can open a support request in our official support portal MyPage.

  • just as i have said before i use the tutorial but in this tutorial there is no explanation about write event the files is attached

  • Please have a look at the "Completed Code" branch of the tutorial. It shows how you can write to a characteristic.

1 2 3