Connectable BLE Device with custom (beacon like) advertising packet

15 May 2017

I'm looking to create a BLE device that is basically a connectable timer which returns a count of impacts over that time. I'd like for it to be connectable to start and stop the timer, however I'd like to return the updated counts via custom data in the advertising packet.

It's not exactly clear how that's possible. I see that eddystone allows such a method, but the code is so specific that it's hard for me to make sense of it.

Any suggestions or code snippets for the updated advertising packet part? I already have the connectable service part covered.