sandeepmistry/bleno — pull request #10 by FredericRuaudel (2014-01-07 18:01:46+00:00)
Title: Enhance the advertisement data

Hi Sandeep,

Here is my last proposition.

When scanning a bleno peripheral using some app like lightBlue on iOS, the description of my peripheral wasn't complete. It didn't display the localName and the advertised services. In my iOS code, I also wasn't able to scan for my advertised services using CoreBluetooth API.

So I try to add the local name and service UUIDs to the advertisement data in addition with in the scan response data and it make all works like a charm.

I also add some comment to clarify the flags ;)

Regards,

Fred