🎄⛄❄️🎁 It's beginning to look a lot like ADABOX-mas! The next ADABOX from Adafruit ships soon! Get yours now, or give as a gift! 🎄⛄❄️🎁
0

Feather nRF52832 Beacon
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather nRF52832 Beacon

by PWK on Fri Apr 05, 2019 9:38 pm

I would like to insert data variables into a beacon advertising packet. The variables would be the value of a IR counter and the LIPO battery percent. I am very new to BLE but have searched different forums and the examples use the Secondary Scan Response packet . This packet is not being used in the Beacon example. I know the size of packet is limited but need help with example code or direction . Also using Arduino IDE , any help would be appreciated.

Thanks
Paul

PWK
 
Posts: 9
Joined: Wed Mar 06, 2019 9:08 am

Re: Feather nRF52832 Beacon

by adafruit_support_mike on Sat Apr 06, 2019 5:12 am

This page from the nRF52 tutorial shows the API for setting a beacon's advertising packet:

https://learn.adafruit.com/bluefruit-nr ... /blebeacon

adafruit_support_mike
 
Posts: 59487
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.