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

central and peripheral nrf52840

hi, i am having a doubt. now my nrf 52840 is acting as a peripheral. it is advertising some packets and my mobile is acting as a central and receiving the advertising packets. after the connection is made i want to edit some values in my mobile app and want to send it to my dk. for example i want to edit my tx power through app. which example will be suitable for this.

Parents
  • Hi Karthikeyan!

    What kind of mobile app are you using?

    I would suggest that you take a look at the ble_app_uart example.
    That should help you acheive excactly what you want.

    If you have any more questions, be sure to let me know.
    Best regards,
    Joakim.

  • hi joakim thanks for your reply. now i can see the value of my tx power, rssi, major minor, uuid and battery percentage through nrf connect app. our team is creating the mobile app in which we can edit tx power, major and minor, uuid values. after the editing these values my dk should get it and save it until i edit those values again. i had combined ble_app_uart and ble_app_proximity example and made some changes as per my need. but i am little bit confused to get the values from mobile app and save it. because my dk is now working as a peripheral. which example will be suitable for my needs.

Reply
  • hi joakim thanks for your reply. now i can see the value of my tx power, rssi, major minor, uuid and battery percentage through nrf connect app. our team is creating the mobile app in which we can edit tx power, major and minor, uuid values. after the editing these values my dk should get it and save it until i edit those values again. i had combined ble_app_uart and ble_app_proximity example and made some changes as per my need. but i am little bit confused to get the values from mobile app and save it. because my dk is now working as a peripheral. which example will be suitable for my needs.

Children
No Data
Related