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

nRF Master Control Panel for Android crashes when displaying details of fast advertising peripheral

Dear Nordic team,

I've seen very much reproducible crashes of your Android nRF Master Control Panel app when trying to see details (button "MORE") of particular Peripheral device. When I use aggressive advertising intervals (down to 20ms for connectable beacon) and dynamic advertising data (altering at least couple of bits to have each ADV_IND packet unique) it works only if I go to "MORE" menu at the very early stages of scanning. It seems to me that once number of logged points exceeds certain limit (internal buffer?;) it crashes completely and app must be restarted.

I'm using latest nRF MCP version from Google Play Store (V3.4.1) and Nexus 5 running Android 6.0 but I've seen this on other devices and Android versions as well. I believe that it's OK to drop some parts of the log instead of uncontrolled crash...

Thanks Jan

Update on 3-February-2016

The latest Google Play upgrade (version 4.0.3) fixes the crashes, great work! Thanks for the testing. I'd still change the behavior of manual scan option, also note that for this "dynamic" beacon you don't display any advertising interval - probably because the data are different - but you obviously link reports by Adv. Address so you could easily add the timing estimation as well. But these are rather change requests and end user feedback which is up to you to add to your backlog or not;)

Cheers Jan

Parents
  • Hi Jan,

    Thanks for the bug report. I'll try to fix it. Indeed there is a limit in data I can send from one activity to another and your way of advertising is on a very good way to exceed this limit. I'll try to fix this issue in a next release, hopefully.

    Thanks for using the app!

    Best Regards, Aleksander

  • Hi Alexander, happy New Year! Thanks for another update (I've downloaded MCP 4.0.2 from Play store), the GAP peripheral and GATT server features seems to be working great! However the bug mentioned above kind of persists. Until load of adv/scan reports fits into your/API buffers it allows to open "MORE" option at particular advertiser in SCANNER window, but once you let it go for several seconds (with dynamic advertisement at 20ms) then it crashes the whole MCP app (tested on Nexus 5 and some other low end phone with Android 5). Do you want to help to modify beacon app from nRF5 SDK to simulate this in your office?

    Cheers Jan

Reply
  • Hi Alexander, happy New Year! Thanks for another update (I've downloaded MCP 4.0.2 from Play store), the GAP peripheral and GATT server features seems to be working great! However the bug mentioned above kind of persists. Until load of adv/scan reports fits into your/API buffers it allows to open "MORE" option at particular advertiser in SCANNER window, but once you let it go for several seconds (with dynamic advertisement at 20ms) then it crashes the whole MCP app (tested on Nexus 5 and some other low end phone with Android 5). Do you want to help to modify beacon app from nRF5 SDK to simulate this in your office?

    Cheers Jan

Children
No Data
Related