WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bluetooth  (Read 7677 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: bluetooth
« Reply #15 on: April 14, 2015, 07:29:06 AM »
The nice man at blueman has kindly enabled things so that bluetooth network access point functionality works with udhcpc  :)

Code: [Select]
$ ifconfig
bnep0     Link encap:Ethernet  HWaddr A0:A8:CD:2C:3E:17 
          inet addr:172.20.10.3  Bcast:172.20.10.15  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1375 (1.3 KiB)  TX bytes:1480 (1.4 KiB)

$ ps aux | grep udhcpc
 7737 root     /sbin/udhcpc -t 20 -n -i bnep0

As before, once this makes it into git master, I'll post an updated extension

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: bluetooth
« Reply #16 on: April 14, 2015, 01:04:13 PM »
This looks crazy complicated Juanto

how long did it take you?

even talking about packets and stuff? It looks to me like the "concept" was not even near to working for bluetoothe DUND connections or PAN.

i am assuming that once the extensions are updated it will literally just click and work....same as on other platforms   (a bluetoothe DUND connection)

i mean to say, it will be greatly useful to have bluetoothe web connect since it's an emergency (almost FREE) web connection for me.

i know that Dillo almost uses no bandwidth as it compresses pages (it seems to have some compression by default)...enough so to do social media and other stuff and even photos etc....graphical useful web surfing for almost free over my 3G cell

so i appreciate it. I expect that it interested you in light of TCL being a nomadic web orientated OS....so more ways to connect to the web would be an advantage.

Juanto, to be honest it seems like what you have done could only be a good thing.

i live on an extremely busy street into central London UK. It's not unusual for me to go out regularly and maybe see over 10 people per day in saloon bars or on buses connected the web with devices...wi fi is everywhere....free too. It would not be unusual for many of those people to be wanting bluetoothe to a laptop....it's a common practice....ye (at least now they may be able to have that laptop as a tinycore laptop right

yes

Vin



« Last Edit: April 14, 2015, 01:16:27 PM by cast-fish »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: bluetooth
« Reply #17 on: May 01, 2015, 08:49:31 AM »
updated blueman posted to x86_64 repo using bluetooth 4g connection  8)

Now uses udhcpc by default and uses gtk pop-ups rather than notification-daemon bubbles, which automatically use the dark theme and are difficult to read in flwm.

So far setting a bluetooth device as a network access point will not work with bluez-4, so x86 blueman not updated, but working on it...

As of now, bluetooth audio, network (corepure64 only) and sending a file all work, but receiving a file (with obex-data-server) is broken.
« Last Edit: May 01, 2015, 08:53:32 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: bluetooth
« Reply #18 on: May 07, 2015, 08:02:52 AM »
updated blueman posted to x86_64 repo that can now send and receive files without obexd (part of bluex-5) or obex-data-server.

For some obscure reason, receiving files requires the locale to be set to en_US.UTF-8 or similar or it won't work.

bluetooth audio (sink, source and headset), network (corepure64 only) and send/receive file now all all work.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: bluetooth
« Reply #19 on: May 16, 2015, 03:10:51 AM »
..finally discovered that bluez-4.101 needs patching for networking to work  :-X

bluez and blueman updated in x86 repo so now audio, networking (with udhcpc) and file transfer (with obexd) all work

screenshot proof attached  :)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: bluetooth
« Reply #20 on: May 17, 2015, 12:50:03 PM »
Hi juanto


Uh not sure what it all means.

So you have made the regular x86  TCL repo contain
bluetoothe extensions that now work for doing a laptop
to internet connection (via a blutoothe laptop dongle a cell phone and 3g / 4g.....out to the world wide web)

That is for the latest TCL i expect. 

thanks

Vince.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: bluetooth
« Reply #21 on: May 17, 2015, 01:01:09 PM »
affirmative, to make a 3g/4g network connection you just need the blueman extension from the tc-6.x x86 or x86_64 repos and suitable hardware.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: bluetooth
« Reply #22 on: May 17, 2015, 03:06:58 PM »
Juanto

that is real good news there..... from you.

THat must have been a lot of in-depth knowledge and work
to get this to work  ......A seemingly bog standard need of blutoothe to
connect internet world wide web services to devices via "comms nodes" then those devices recieve the world wide web.

It didn't look anything close to bog standard to me.

You must have an In depth knowledge of protocols, telecoms , linux networking and hardware drivers and software stacks.  Masses of experience needed
and a hell of a challenge.

my responses will be somewhat trivial here compared to the task you
achieved....

so yes Juanto....it's another great string to TCL's bow.....right.


Yet to even try it here. Still, it's about the bigger picture for TCL isn't it.

If your work gave a fair few people months of pleasure of world wide web
internet services access.....services they otherwise could not have then it's been worth it right


yes.

you have also had a generic app updated across the board right. Up streamed
and i am sure that this is a much wider picture for you.

Many thanks

Vince.
for sure i feel.