sandeepmistry/noble — pull request #60 by mfgCode (2014-03-11 11:53:30+00:00)
Title: Added support for multiple serviceData fields

I have changed the way serviceData is stored for the peripheral. I have a ble sensor which broadcasts its data via multiple serviceData fields. The current implementation only showed one field in the advertisement. The new creates an array every time the adv-packet is received. Resetting is important as you cannot replace the changing object in the array, like you do with the service uuids.

* Those multiple occurences might apply to other fields aswell, but i do not know the standard well enough.
* This is a fix for Linux only, I do not know if this needs to be addressed in the OSX variant aswell.

Please pull to master. Thanks