-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Eddystone Beacon #81
Comments
Hi @ukBaz I think the way you described is a pretty good start. Let me know if you have any update with some code to work on. Once it work could you also submit a PR? Thanks |
Hello It shows on mobile app but I think it still need some refinement, as beacons are not constantly visible. |
Thanks for posting this. I did panic when I clicked on the link in the email and it said the link was broken but I see you have edited the location. :-) I am a golang noob so could you give a little more detail of how to run this. I have tried using your Makefile to run some other example but it is giving me various errors. Not sure if it is my setup or if there is something missing. Thanks. |
You can try with
`go run main.go beacon eddystone`
See examples folder for the source code
sent from my phone
…On Sat, Aug 3, 2019, 09:03 Barry Byford ***@***.***> wrote:
Thanks for posting this. I did panic when I clicked on the link in the
email and it said the link was broken but I see you have edited the
location. :-)
I am a golang noob so could you give a little more detail of how to run
this. I have tried using your Makefile to run some other example but it is
giving me various errors. Not sure if it is my setup or if there is
something missing.
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#81?email_source=notifications&email_token=AAHZKVPGXJS5DNJVYBW2BSDQCUUUZA5CNFSM4IGBJJIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PIXKI#issuecomment-517901225>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHZKVP5F5IZTK6XCAAMKWTQCUUUZANCNFSM4IGBJJIA>
.
|
Thank you for sending the command across, very helpful.
When I use the nRF Connect app on my phone I can't see the beacon.
If I put
I suspect that is It is clear that my golang skills are not very good at the moment so please feel free to close this issue if you think the issue is with the user rather than the library. |
There is still something out of place, the timeout is a good indicator. This setup is similar to the bluez python example, it could be related to golang types introspection by dbus library. Let's keep the issue open until it works properly, thanks |
You were right, the timeout was the problem. Removing Maybe this is relevant https://www.spinics.net/lists/linux-bluetooth/msg79915.html Please reopen if still not working Thanks |
Thanks for the update. I'll test in the next couple of days. There is also this patch that I wondered if it was relevant: |
Thank you for the update, there is no hurry. I am working a bit on it as I
have some free time. If you have a change to try it up please let me know
sent from my phone
…On Sat, Aug 10, 2019, 21:09 Barry Byford ***@***.***> wrote:
Apologies, this took longer for me to get back to than I had hoped for.
Sadly, the beacon example still isn't working for me :-(
[image: Screenshot from 2019-08-10 20-01-52]
<https://user-images.githubusercontent.com/8608260/62825835-d6da2b00-bba9-11e9-9c15-ee64343154d0.png>
I am busy on another project now so there is no pressure from me. However,
if you would like me to test anything then let me know.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#81?email_source=notifications&email_token=AAHZKVJDPGEOANYUGOYKIALQD4G55A5CNFSM4IGBJJIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4ATJJY#issuecomment-520172711>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHZKVKQA23WBBCYENNLQCTQD4G55ANCNFSM4IGBJJIA>
.
|
Just pushed the updated version which works with both ibeacon and eddystone. https://github.com/muka/go-bluetooth/blob/master/examples/beacon/beacon.go#L14 Please reopen if needed |
Hello,
I am looking to create an Eddystone URL beacon using BlueZ DBus API. It looks like this library has some support for this. However, I am new to the Go language and am rather intimidated by the empty text editor in front of me. Is it possible for you to give me some guidance on getting started with an example for this?
An example of the information required for "org.bluez.LEAdvertisement1"
Type = "broadcast"
ServiceUUIDs = "FEAA"
ServiceData = map[string[13]int] {"FEAA": [16 0 1 98 108 117 101 116 111 111 116 104 7]}
IncludeTxPower = false
The DBus object path for the above then needs to be passed to method RegisterAdvertisement on interface "org.bluez.AdvertisementManager1"
Any pointers in getting started with this would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: