Git Product home page Git Product logo

Comments (3)

trond-snekvik avatar trond-snekvik commented on August 16, 2024

Hi,

When you disconnect from the master control panel, the nRF51 should give you a BLE_GAP_EVT_DISCONNECTED if it detected the disconnection. Check this one as well.

I'm afraid I don't understand what you mean by pausing the application, could you explain? Do you stop it from Keil or set a breakpoint?

The hardfault handler is called when you access a peripheral illegally, for example if you use the radio outside a timeslot.

from nrf51-ble-bcast-mesh.

eroswade avatar eroswade commented on August 16, 2024

thank you for your replay.
yes i reviced the BLE_GAP_EVT_DISCONNECTED, and using advertising_start() to restart the advertising. or even i set time out, and i received BLE_GAP_EVT_TIMEOUT, also i called advertising_start().
this two method will cause the same problem . the advertising is stoped. and i click keil with "STOP", it stoped in arm_startup_nrf51.s with line HardFault_Handler.

from nrf51-ble-bcast-mesh.

eroswade avatar eroswade commented on August 16, 2024

I've finished the test
and thank for Rallare , who send a pull request for you.
diff

+Due to restrictions in the timeslot API, you will need to set the advertising interval in your application (normally define "APP_ADV_INTERVAL_FAST") equal or greater to the timeslot period used by rbc-mesh library. The timeslot period is now set to 100 ms, which means that the fastest advertising in your application shall be >= 100 ms.

from nrf51-ble-bcast-mesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.