Closed moppymopperson closed 7 months ago
While we're at it, these comments could be more clear about what needs to be changed for Apple platforms. I'm not quite sure what values I should use with setInterval
.
/*
* Apple Beacon specs
* - Type: Non connectable, undirected
* - Fixed interval: 100 ms -> fast = slow = 100 ms
*/
//Bluefruit.Advertising.setType(BLE_GAP_ADV_TYPE_ADV_NONCONN_IND);
Bluefruit.Advertising.restartOnDisconnect(true);
Bluefruit.Advertising.setInterval(160, 160); // in unit of 0.625 ms
Agree with the problem, defining the macro BLE_GAP_ADV_TYPE_ADV_NONCONN_IND and trying to upload a code, the BLE stack won't even start. It would be very useful to have this working!
should be fixed by #801 , thank you for reporting the issue.
Thanks for the fix, and for making the comments clearer!
Operating System
MacOS
IDE version
Arduino 2.2.1
Board
nRF52840 Express
BSP version
GitHub latest
Sketch
BlueFruit52Lib/examples/Peripheral/beacon/beacon.ino
What happened ?
If you uncomment line 82, compilation fails because the macro is undefined.
I searched the web and found this definition
How to reproduce ?
Debug Log
No response
Screenshots
No response