Return-Path: MIME-Version: 1.0 In-Reply-To: References: <4F35DE52-6E93-4668-95D5-8D5D1E5C9DFA@keyinitiative.com> From: Luiz Augusto von Dentz Date: Thu, 11 Aug 2016 14:29:00 +0300 Message-ID: Subject: Re: Eddystone scanning - TLM packet To: Barry Byford <31baz66@gmail.com> Cc: Jason Anderssen , Bluez mailing list Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi All, On Thu, Aug 11, 2016 at 11:01 AM, Barry Byford <31baz66@gmail.com> wrote: > Hello Jason, > > > On 11 August 2016 at 02:53, Jason Anderssen wrote: >> Hi, >> >> I have successfully written code to scan for iBeacons using bluez, I was wondering if there is a link to some example or doc that explains how to detect the eddy stone different frames, for example, the main one I am after is the Eddystone-TLM data which can be interleaved. >> Any help or direction I can search would be fantastic. > > The different Eddystone frames are identified at the start of the > service data. TLM is 0x02 as detailed in the spec at: > https://github.com/google/eddystone/blob/master/protocol-specification.md > > You may also find this beacon cheat-sheet useful that was posted on Twitter: > https://twitter.com/josryke/status/763006284052463617 Btw, I will be sending patches to add support for creating advertising instance with bluetoothctl, so if all goes well it would be possible to do this with bluetoothctl. -- Luiz Augusto von Dentz