WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Bluetooth Beacon On TC 8.x  (Read 348 times)

Offline onelife

  • WikiUser
  • *
  • Posts: 43
Bluetooth Beacon On TC 8.x
« on: March 11, 2017, 02:05:03 AM »
Hi all,

I'm tying to get a bluetooth beacon up and running on TC 8. I see on Jessie it's basically all pre-installed with the package "bluez".

I see in the tce-ab there is :

1. bluez-hcidump-doc.tcz
2. bluez-hcidump.tcz

But no bluez.tcz

Any ideas how I get this TCZ and or enable the commands such as :

sudo hciconfig hci0 up

sudo hciconfig hci0 leadv 3

Using the Eddystone method on Jessie like I say is no issue and all seems to be working, but on TC I have no idea how to enable the bluetooth module or other parts I need?

Anyone else tried this before?

Hope to get some ideas :)

Thank you!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9252
Re: Bluetooth Beacon On TC 8.x
« Reply #1 on: March 11, 2017, 02:08:57 AM »
You would need to compile bluez from source.

I was thinking of looking at it eventually...

Offline onelife

  • WikiUser
  • *
  • Posts: 43
Re: Bluetooth Beacon On TC 8.x
« Reply #2 on: March 11, 2017, 02:13:40 AM »
Aha, great - Glad I'm not the only.

Would you have any suggestions on how I do that.

Are there more dependencies I need before being able to compile?

I've never successfully managed to "build" as such so keen to make sure I have what I need before trying ;)

Thank you so much for your fast reply :)

Dean

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9252
Re: Bluetooth Beacon On TC 8.x
« Reply #3 on: March 11, 2017, 02:20:49 AM »
You could look at this:

http://www.tinycorelinux.net/7.x/x86_64/tcz/src/bluez/compile_bluez

..but use "-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" instead of "-mtune=generic"

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9252
Re: Bluetooth Beacon On TC 8.x
« Reply #4 on: March 12, 2017, 11:24:27 PM »
I managed to get the RPi3 built-in bluetooth working  8)

It's going to take a little time to get things sorted out, but once done I'll post the bluetooth firmware, kernel modules  and bluez in the piCore 8.x armv7 repo.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9252
Re: Bluetooth Beacon On TC 8.x
« Reply #5 on: March 15, 2017, 12:30:13 AM »
posted