Advertising not starting in macos Mojave
See original GitHub issueUsing bleno as sandalone module to mock a peripheral
Steps of running:
- clone the repo
- Navigate inside bleno/examples/echo
- node main.js
Console shows on -> stateChange: poweredOn
but on -> advertisingStart: success
not coming.
Debug log
bleno - echo
bleno platform darwin +0ms
bleno addressChange 8c:85:90:64:f0:b4 +3ms
highsierra-bindings sendCBMsg: 1, {
highsierra-bindings "kCBMsgArgName": "node-1538851048987",
highsierra-bindings "kCBMsgArgOptions": {
highsierra-bindings "kCBInitOptionShowPowerAlert": 1
highsierra-bindings },
highsierra-bindings "kCBMsgArgType": 1
highsierra-bindings } +0ms
highsierra-bindings xpcEvent: {
highsierra-bindings "kCBMsgId": 4,
highsierra-bindings "kCBMsgArgs": {
highsierra-bindings "kCBMsgArgState": 5
highsierra-bindings }
highsierra-bindings } +1ms
highsierra-bindings state change poweredOn +0ms
bleno stateChange poweredOn +2ms
on -> stateChange: poweredOn
startAdv { kCBAdvDataLocalName: 'echo',
kCBAdvDataServiceUUIDs: [ <Buffer ec 00> ] }
highsierra-bindings sendCBMsg: 16, {
highsierra-bindings "kCBAdvDataLocalName": "echo",
highsierra-bindings "kCBAdvDataServiceUUIDs": [
highsierra-bindings {
highsierra-bindings "type": "Buffer",
highsierra-bindings "data": [
highsierra-bindings 236,
highsierra-bindings 0
highsierra-bindings ]
highsierra-bindings }
highsierra-bindings ]
highsierra-bindings } +3ms
Environment MacOS Mojave version 10.14
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:10
Top Results From Across the Web
stuck on startAdvertising, MacOS 10.14 #404 - noble/bleno
I tried to manually apply the #415 on my noble/bleno but the advertising is not starting when I run the echo example.
Read more >How to Fix Apps That Don't Work in macOS Mojave
First, open System Preferences. · Click on Security & Privacy. · Click on the far-right tab called "Privacy." · On the left sidebar,...
Read more >Allow or block pop-ups in Safari on Mac - Apple Support
Other websites might fill your screen with pop-up ads. You can allow or block pop-ups on individual websites or all websites. If you're...
Read more >System Apps not opening in Mojave - Apple Stack Exchange
I recently upgraded to macOS BigSur, but after that my mac started to lag. By lag I mean the transitions while switching between...
Read more >Fixes for all known macOS Mojave problems - Setapp
Make sure you've completed a pre-installation backup. · If the download doesn't start, doesn't finish, or crashes along the way—restart your Mac.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @LukasBombach for your version!! It works for me, but only if I switch my version of Python back to the default pre-installed one (v2.7)
I forgot node-gyp doesn’t support Python 3, so it took me a while to figure out why I was still getting errors when running
npm install
, so just in case someone is having an issue, make sure to check you’re using Python 2.7! (python --version
) 😃Of couse. For now I want to finish Sblendid first, to improve what Noble is lacking, I don’t think I will put my hands on Bleno any time soon though.