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

nrf mesh android app testing strings ????

hello nordic , 

how can i use strings with nrf mesh andorid application ?? 

Parents Reply Children
  • Hi  So basically the app currently supports sending acknowledged and unacknowledged messages to a VendorModel. Like Hung has mentioned if you use Nordic SimpleOnOffServer you can test this against the app. Basically if you send a Get message you will get the state and similarly sending an acknowledged Set message you will get the state back and for an unacknowledged set you won't get anything back. To send an acknowledged message you have to check the "acknowledged" checkbox and use the correct opcode for an acknowledged message. Also when you pass your parameters make sure you have increased the transactionId, if not your messages might be dropped from the node!

    Also note that there is bug on SDK 2.1 and 2.2 that caused the SimpleOnOff server to fail due to wrong endianness in the sdk example. May be you can compile the SimpleOnOff in the sdk version 3.0.0

    Hope this helps!

  • thank you 

    so can i develop my own android app to get a data and not a state , i mean are there  APIs available to get data from vendor model so i can develop my own app or if there will be an update for the nrf mesh app in the future ?? 

  • it would be really nice if you open a new ticket for a newer question. However yes you build your own app. Check out our libraries for both Android and iOS on Github. If you're building something for Android I recommend to use the version from the dev branch.

Related