Comments (3)
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.
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.
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)
- Mesh encryption of data HOT 1
- Multiple frequencies and modulation types for RX and TX HOT 3
- OTA for mesh nodes HOT 2
- into module? HOT 2
- Notification not enabled for sdk13 and nRF52832 HOT 2
- hack HOT 1
- What does "radio_order" and "RADIO_EVENT_TYPE_RX_PREEMPTABLE" etc. do? HOT 1
- consider storing i_relative as log2(i_relative) to save 3 bytes per trickle
- it seems a bug! HOT 1
- Packet loss in mesh network HOT 1
- 3 Questions regarding migrating to Nrf52 platforms HOT 1
- GATT Service HOT 1
- DFU questions
- Mesh monitoring on a device HOT 1
- What is the hop delays and relevant solutions? HOT 1
- battery usage / fruity mesh HOT 2
- rbc_mesh_stop sometimes crashes my program HOT 3
- Timeslot SD crash fix only applicable for NRF52?
- P
- b16e1105f3da788022c24e75b8603f9f4426a636
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nrf51-ble-bcast-mesh.