My favorites | Sign in
Project Home Wiki Issues Source
Search
for
iPhoneInstallationViaCydia  
How to install BTstack try WiiMote demo via Cydia
Featured
Updated May 13, 2010 by matthias.ringwald@gmail.com

Introduction

BTstack is tested on an iPhones (support for iPhone 2G since revision r489), all iPod touch models with Bluetooth, and the new iPad.

Binary packages of the BTstack components and the WiiMote demo are kindly provided via the BigBoss repository. It can be installed by Cydia, Rock My Phone, and Icy.

Install via Cydia

  • On the Cydia "Search" tab, enter WiiMote into the search field
  • Select "WiiMote OpenGL-ES..."
  • Select "Install" and confirm it

Try it out

Press the home button, and start the new WiiMote app, ready your WiiMote and follow the screen instruction that tells you to make it discoverable by pressing the 1+2 buttons at the same time. The current demo v1.0 only tracks rolling of the WiiMote around the main axis.

Comment by ciaoci...@gmail.com, Jan 13, 2010

Hi Matthias, I was wondering if you had any plans to try and implement bluetooth headset microphone support? It's all very well being able to listen to music in OS3.x, but kind of annoying without being able to use the microphone... Oh, I'm using a 32gb 3G iPod touch.

Thanks very much, and keep up the good work!

Comment by project member matthias.ringwald@gmail.com, Jan 14, 2010

hi ciaociba. no plan yet. what would you want to use the headset microphone? record memos or skype?

Comment by p.j.a.c...@gmail.com, Jan 18, 2010

Using BTstack on an iPod touch with a bluetooth headset for skype would be great (i.e. speaker and microphone). I guess this means Hands-Free Profile (HFP 1.5), which works on the iPhone: http://support.apple.com/kb/HT3647

Comment by jnsha...@gmail.com, Jan 24, 2010

Tried the WII app using my original IPhone (aka IPhone 2G) and it works fine. Excellent job, Matthias! Now, I need to learn how to use BTStack to set up a bluetooth serial port to communicate with my Arduino, NXT, etc....

Comment by christ...@brauwers.com, Jan 28, 2010

hi, nice project! A question : would it be hard to use the iPhone as Remotekeyboard for the Playstation 3? Writing messages isn“t funny with the controller :)

So it needs really simple App! Just Landscape Keyboard (and over this L1 and L2 Button) :)

greets

Comment by project member matthias.ringwald@gmail.com, Jan 28, 2010

christian, that (iPhone as BT KB)is already on my list. it might require additional parts of the Bluetooth Stack. but it will come with other apps sooner or later. :)

Comment by christ...@brauwers.com, Jan 28, 2010

Thanks, Sounds great! I have take a look at your examples! looking really nice. can you explain me which parts on the Stack is missing? Because the HID Profil is working or not?

Thank you. greets

Comment by project member matthias.ringwald@gmail.com, Jan 28, 2010

right now SDP is missing. not much to work actually. just..

Comment by videoD...@gmail.com, Feb 5, 2010

this is a great piece of software. thank you.

it would make so many developers and tinkers very happy if you could make an app that ?somehow? allows bluetooth arduinos to communicate with ipod. i am using openframworks to write custom software for the ipod touch and would love to be able to connect to my arduino.

i know you probably think people should just figure that out for themselves. but reading your tutorial shows me that i still have to learn a lot.

thanks anyway. stephan.

Comment by project member matthias.ringwald@gmail.com, Feb 7, 2010

hi. I don't mind people connecting their devices to the Arduino (although I don't like RFCOMM/SPP - see RFCOMM), I just don't have one and/or not much time to write about it. But check out http://www.ubiqkom.org/blog/?p=80 or http://humanapi.org/2010/01/25/humanapi-the-browser-in-the-real-world/

Comment by mohammed...@gmail.com, Feb 17, 2010

As ciaociba said, a Bluetooth headset profile would be great for us iTouch users. It's the one thing that is stopping me from having my iTouch work as a convenient phone.

But great work on this so far - very useful. Thanks

Comment by igeorge...@gmail.com, Mar 5, 2010

Matthias, Please contact me at igeorge@rogers.com I need to talk to you about promoting your software Thanks Ion

Comment by saipath...@gmail.com, Mar 5, 2010

how do i install this on my ipod touch 2g running 3.1.2, i tried installing the btstack app and it didn't work, how do i use it?

Comment by saipath...@gmail.com, Mar 5, 2010

nvm it works, I thought that there were two apps, a wiimote one and a btstack app, but the btstack doesn't have an icon, is there a way I can connect to other devices?

Comment by project member matthias.ringwald@gmail.com, Mar 5, 2010

so far, there are: BTstack Keyboard, BTstack Mouse and the WiiMote? OpenGL-ES by me, a Wiimote Music Control app and emulators by ZodTTd with WiiMote? support. More apps = functions to come.

Comment by aaronbph...@gmail.com, Mar 19, 2010

There have been a couple requests so far for bluetooth headset microphone support on the iPod touch. I'm interested in this as well. I've been poking around these pages and I can't find any followup. In particular, I did not even see this on the features request page. Is microphone support not feasible, or is it just something you are not interested in providing? Thanks!

Comment by project member matthias.ringwald@gmail.com, Mar 20, 2010

hi. for headsets, there are two pieces required: a) the actual Bluetooth protocol, and b) integration into the system. The first part is rather straight forward although I did not try BTstack for audio data which has higher requirements as for input devices (keyboards/mice). About the second part, I have no clue if it is possible and how tricky/hard. If wants to starts looking into the second part, please join the Google Group. I will certainly help, but don't have enough time at the moment. My next apps are: GPS for touch & a universal game controller (WiiMote?, Zeemote, and PS3 dual-axxis).

Comment by bradocon...@gmail.com, May 10, 2010

Any Love for BT GPS receivers? It would be great to enable gps on the iPad wifi or to allow better tracking on the new iphones.

Comment by project member matthias.ringwald@gmail.com, May 10, 2010

Yes... BTstack GPS will be released in the next days. (Final touches)

Comment by Ruddy.ru...@gmail.com, May 11, 2010

Hello, is there any way to make iTouch behave like a bt headset itself, catching calls from a common phone or at least giving a signal when a call comes to the phone? Is anyone working at this? How do you like the idea itself?

Comment by project member matthias.ringwald@gmail.com, May 13, 2010

BTstack GPS is available from Cydia now

Comment by project member matthias.ringwald@gmail.com, May 13, 2010

@Ruddy.rudeman It is certainly possible (at least I'm not aware of a real showstopper). Does the iPod Touch have a microphone?

I'm not working on that (busy with other stuff, like GPS was just released) and I also don't know from someone else working on it (not that it would be necessary).

Comment by Ruddy.ru...@gmail.com, May 13, 2010

@matthias.ringwald : well it doesn't. But it supports a mic through the mini jack. The 3rd gen has a mic on the earplugs. Anyway even with no mic it would be a nice way not to miss calls while listening to music. By the way some of Samsung mp3's have such an option. Is there a chance you could do such a thing after you finish with the Other stuff?

Comment by project member matthias.ringwald@gmail.com, May 13, 2010

@Ruddy.rudeman The idea to at least notify calls via BT makes sense to me, forwarding the audio over BT won't be that easy. Let's hope someone else starts with this nice little idea before I finish "my stuff", I don't see an end in the next months :)

Comment by Ruddy.ru...@gmail.com, May 13, 2010

@matthias.ringwald Is it something interesting you are working at? Some new cool device working with btstack? =]

what does making a new btstack feature look like: adapting some precoded bluetooth profile to a new environment or manually throwing bytes over the interface according to mans?

Comment by project member matthias.ringwald@gmail.com, May 14, 2010

I'm only working on interesting projects (I don't have to make a living of it :) Yeah, support for other (secret) existing devices. Most driver development is reading and understanding public specifications which are rather dry.

Comment by ViperBr...@gmail.com, May 28, 2010

Nice work so far! I'm personly most interested in BTheadset iPod touch support! Being able to use my headset for voip calling would be great. Also, the person who brought up using BTstack to type on a PS3 read my mind. But having BTstack act as a full BT controler for the PS3 would be ideal. Not for game playback, just being able to use a iPod as a media controler much like sonys own BT PS3 remote. Thanks for your time.

Comment by mave...@gmail.com, Jun 2, 2010

Hands free profile working on iPod touch is the highest need that still hasn't been filled yet. Matthias please work on it and millions of iPod touch users will absolutely love you!

If we would be able to use a Bluetooth headset as the devices' microphone and speaker I would pay good money and I know so would many others, but free is always nice too heh.

Comment by larkoh...@gmail.com, Jun 2, 2010

Agreed. getting HFP support on ipod/ipad would be the best thing this software could do. No other feature would change how so many people use the device on a daily basis.

Comment by larkoh...@gmail.com, Jun 2, 2010

I ment HSP for bluetooth headsets. but HSP for a care would be interesting as well.

Comment by mave...@gmail.com, Jun 2, 2010

Many people have been waiting and waiting for someone to even look at this very important feature and Matthias I think out of all people in the community you would be the one to make it happen! Even if it only works with apps supporting it (most likely) people will write the apps I'm sure. Hopefully a skype / voip app.

Comment by asurance...@gmail.com, Jun 29, 2010

Definitely bluetooth headset and GPS at the same time would be great: I ride a motorcycle and have a bluetooth helmet, it would be very nice to get voice directions.

Comment by teeri...@gmail.com, Jul 6, 2010

Hi, I need the posibility of skipping songs while listening via bluetooth headphones. With buildin support I only can start and stop music. I'm developer, is it complicated to build?

Comment by project member matthias.ringwald@gmail.com, Jul 6, 2010

If you're using Apple's BT implementation, adding skipping support will be a tough reverse engineering task. If you want to use BTstack, you'll have to implement the full audio streaming protocol + music control + redirect the audio from iPod.app to your streaming... but... Music Controls by phoenix3200 has a fix to enable skipping with BT headsets, check it out.

Comment by hiddenhe...@yahoo.com, Aug 23, 2010

Hello! Any news regarding HFP / HSP on ipod touch? After searching a lot on the web it seems everybody is looking for it but none of the "pros" seems to be working on it. Isn't there a chance with copying the relevant BT-System-Files from the iphone firmware and replace the ipod touch BT-Files to enable the missing protocol?

I'd appreciate it if somebody pointed me towards the appropriate site / developers if BTStack is the wrong place to request such a feature...

Greets hh

Comment by project member matthias.ringwald@gmail.com, Aug 24, 2010

@henry I commented on the virtues of copying files on the iPhoneBluetooth page. AFAIK most stuff doesn't differ. But please give it a try anyway and report your findings. I'll update the wiki page then.

If you want Apple Bluetooth to support HFP/HSP on iPod, you need to reverse engineer the relevant parts of iOS and if you found the location where the OS decides to not support it, do a system patch (using a MobileSubstrate? extension) to fix the "bug".

If you want HFP/HSP support for BTstack, someone needs to implement the protocols (part I) and figure out how to integrate it into the system (part II).

Comment by tz2...@gmail.com, Aug 27, 2010

I have a BT gps, but what I'm more interested in is that I also have my Harley motorcycle stream via BT, and/or OBD-II vehicle data also via BT, and even a radar detector (all SPP). I could write any or all three, but what does the stack actually support and how can I use it? Right now I use the A2DP to play music or audiobooks to a gateway, but I take it I can't do that with your stack? (I have an 8G 3rd gen iPod touch).

Comment by project member matthias.ringwald@gmail.com, Aug 27, 2010

@tz2026 RFCOMM/SPP are possible (see RFCOMM page), but not integrated. I hope to release a full RFCOMM implementation during September.

So far, nobody did implement A2DP on top of BTstack, so if you want to use SPP and AD2P, you can start implementing A2DP :) If you consider to do something with BTstack, please join the Google mailing list (front page).

Comment by hiddenhe...@yahoo.com, Aug 29, 2010

Hey matthias,

reverse engineering the OS seems to be the nicest way to enable HFP on ipod. I have done no reversing on the iOS Platform so far. Are there tools like dev-environment and debugger or other tools out there to achieve this? The task sounds pretty tough for a newcomer like me. Are you aware of any other projects reverse engineering the OS who could help me get started.

Greets!

Comment by project member matthias.ringwald@gmail.com, Aug 30, 2010

Tools: class-dump-z by kennytm, otool (default diassembler), IDA Pro (expensive, professional diassembler), gdb from Cydia

More info on iPhone internals: http://iphonedevwiki.net/ and http://theiphonewiki.com/

Comment by Stefan.F...@yahoo.com, Sep 9, 2010

hello, i have a Jailbroken itouch 2g, and i want to be able to listen to music from it using a bluetooth mono earpiece. unfortunately the ipod's native bluetooth detection cannot find them, nor can it with the bluetooth Mono sbsetting cydia tweak. i CAN however be found using the Wiimote btstack demo, but not connected to, as that can only connect to wiimotes (as far as i know) is there any standard Btstack that allows me to select mono earpieces to connect to?

Comment by kennethd...@gmail.com, Sep 17, 2010

I will pay $ 100 for a developer to enable HFP on ipod touch.

Comment by turbo...@gmail.com, Sep 21, 2010

Hi everyone...

Has Anyone tried this Bluetooth Profile Selector on an iPod touch 2g to enable Hands free profile..??http://www.myrepospace.com/profile/3Gstore/8355/Bluetooth_Profile_Selector

Of course you'll have to jailbreak..But I think its worth it..! What do you say..?

Comment by project member matthias.ringwald@gmail.com, Sep 21, 2010

The proper link for "luetooth Profile Selector" is http://moreinfo.thebigboss.org/moreinfo/bluetoothprofileselector.php (the original one points to a pirate repository)

Anyway, the description says it only allows to disable profiles for an already paired remote device.

Comment by turbo...@gmail.com, Sep 21, 2010

@matthias.ringwald, so you mean to say that you can't enable something for the bluetooth device (in this case hands free) which is already disabled by the os..? Has anyone tried this app with a Motorola s9..??? I'll get my hands on one tommorow...but I just can't wait to find out...!!!!

Comment by project member matthias.ringwald@gmail.com, Sep 21, 2010

@tubov86 yes, that's my understanding when looking at the screenshots, sorry.

Comment by MrThomas...@gmail.com, Oct 13, 2010

You could definitely sell a HFP setup app for like $20.00 each.... and then I want a 10% cut of sales. Cause you will have lots of extra money.

Comment by olivier....@gmail.com, Oct 21, 2010

Hi Matthias, I have installed your BT stack with mouse on iPad, and bought the BT keyboard, both are functional but not simultaneously. I can connect either the mouse or the keyboard but once one is connect it is not possible to connect the other (BT connection UI shows the device but when clicking on it, it just blinks briefly and that's all). Is it a known issue ? Thanks for your help Best regards Olivier B.

Comment by warrenmoxley, Oct 30, 2010

hey guys, here is the hsp spec http://www.bluetooth.com/SiteCollectionDocuments/HSP_SPEC_V12.pdf just started reading it, will see if its something i can contribute to :)

Comment by robert.l...@gmail.com, Nov 9, 2010

Yes! HSP/HFP on Ipod Touch is going to increase in demand as 4G broadband enters the market (and as 3G/GSM dies). Someone's going to make lots of $$$...

Comment by sze...@gmail.com, Nov 11, 2010

Can btStack be used in a commercial iPhone app in the App Store? Or does this code require jailbreaking?

Comment by project member matthias.ringwald@gmail.com, Nov 11, 2010

Yes and yes. In my understanding, BTstack could be used in an AppStore? app. However, it BTstack still has to be installed which requires a Jailbreak. So, it could be an awesome, cool, additional feature of a regular app.

Comment by drawlu...@gmail.com, Dec 11, 2010

Hello. I wanted to but btstack gps but to authenticate via gmail or facebook you require access to my list of contacts etc in both apps. i will not provide this just to purchase your app. can you please confirm that you require this or if this is an oversight/mistake? regards, Dennis

Comment by project member matthias.ringwald@gmail.com, Dec 12, 2010

Purchases are handled by SaurikIT in Cydia. Cydia let's you use an existing account instead of creating a new one. However, Cydia app never sees your user/password. All it does is to ask Google or Facebook server: "Can you tell me if this user has a valid login at your site, and did he enter his credentials correctly"? That's why you get to see a webpage instead of a normal text field. That's Cydia.

BTstack GPS does a license check which consists of asking Cydia server "is this device allowed to use BTstack GPS".

So, I don't need/want your friends/emails and there is no oversight/mistake. :)

For further info on Cydia Store, please contact SaurikIT (saurik@saurik.com)

Comment by drawlu...@gmail.com, Dec 12, 2010

I login to cydia, i manage btstack gps package, i press purchase package $5, i press signin with google, I enter user/pass for google, it asks me to share google friends and updates, i press no, it comes back with 'got status: 200 cancel'.

Comment by drawlu...@gmail.com, Dec 15, 2010

FYI i have sent an email to saurik@saurik.com about this but no reply. I find that issues are like cockroaches, if you see 1 then there are many around. I am having this experience and not purchasing your product because cydia wants my google or facebook contacts and if i am experiencing an issue, its likely that others are as well. As much as i would like to buy btstack, i am not prepared to share my contacts with cydia. I have found roqyBluetooth in cydia that when i go to purchase it, i do not get asked to share my contacts. I just thought i would let you know. Dennis

Comment by project member matthias.ringwald@gmail.com, Dec 15, 2010

hi. I've talked to saurik. He's aware of the problem but has no solution at hand. Cydia does not access your friends etc. but this is not convincing. I hope this problem gets solved. Another suggestion: you could register another Google Account, e.g., another Gmail, and use that for Cydia.

Comment by nimz...@hotmail.com, Jan 7, 2011

Hey there i was just wondering- could you use this app in a way that it turns the iphone into a microphone for something like a ps3? If not, please try to release an app that does

Comment by nimz...@hotmail.com, Jan 8, 2011

Is it possible to use the ipod as a bt mic? Thanks!

Comment by ldkl.dan...@gmail.com, Feb 4, 2011

Just another voice to say I would like to see BT mics/headsets working for the ipod. That would allow you to use the ipod much like a real phone. Much better than the wired mics with headphones. I think this would be a lucrative app to develop as I don't know of any other solutions to make this work...other than to throw down for an iphone.

Comment by Diphal...@gmail.com, Feb 4, 2011

I really want to use headsets on my iPod touch as Well!

Comment by sharma.a...@gmail.com, Apr 22, 2011

Hi I can't buy BTstack from Cydia. I can install it but only demo version. How do I BUY IT.

Comment by project member matthias.ringwald@gmail.com, Apr 22, 2011

Amazon EC2 has major problems which result in problems in Cydia: https://twitter.com/#!/saurik/status/61012347975770112 Please try again later/tomorrow.

Comment by ass...@gmail.com, Apr 27, 2011

I see a lot of people asking for BTheadset support in BTstack, I've tried BTstack on a jailbroken apple TV2, and having BTstack support my BT headphones would be awesome! Very interested to see where this goes :)

Comment by ibmistd...@gmail.com, May 18, 2011

Hi

is it possible to use my extern gps mouse with btstackgps with my iphone app tomtom and use my original apple bt headset at the same time? btstack gps have i bought. Iphone, extern gps and tomtom work fine but if i want to use my headset btstackgps crash.

cu robert

Comment by project member matthias.ringwald@gmail.com, May 18, 2011

BTstack and products based on it cannot be used at the same time as Apple's Bluetooth. Sorry, there's no real solution to this: integrating BTstack into Apple's Bluetooth would be a mess, and so far nobody had the resources to implement headset support on top of BTstack.

Comment by ibmistd...@gmail.com, May 18, 2011

that's pity. I need tomtom and the headset. Also i can't use btstackgps. Pity. its really a good program

Comment by cjlewis...@gmail.com, Jun 14, 2011

I'd love headphone support as well. I would like to use the GPS capability along with headphones so I can hear the GPS directions while riding my motorcycle.

Comment by karsten....@gmail.com, Jun 16, 2011

Hi Matthias,

I read your comment in Cydia on the possibility of providing gps from iphone via btstack to wifi ipad. You wrote that "we're looking into that too". Is that still true and if so, is there a time line?

Comment by AlanDohe...@gmail.com, Jun 17, 2011

Hi.

I have an external GPS and BTStack on my 3GS - it works nicely on my SatNAv software but is there a way to get it to work with Golfshot GPS or Sonocaddie?

Cheers!

Comment by darkimag...@yahoo.com, Jul 4, 2011

Hi guys great work! I carry my iPad with me for work mostly and want to use phone it but seems useless unless I can pair with a earpiece for calls. So I would love to see some progress made to implement that in to BTstack

Comment by NushikiT...@gmail.com, Aug 19, 2011

Hey, I have a iPod Touch 2gen w/bluetooth compatibility (no duh) but for some reason I cannot link my headset with my iPod! :( it would be awesome to even just have it play music, but I can't even do that! The iPod bt doesn't even detect it, but I noticed that btstack detects it in the wiimote Thingy......I wish there was an app that supported my headset, oh and I know there isn't a problem with the headset, it's works fine with my phone......btw, the headset is Motorola H500.

I read further down in these comments and came across someone saying that it's possible or that something just needs to be changed? Well, I would love to donate to get my headset to work :) If it was possible, I would also like to help in the process. I'm very serious, and I've been wanting this for YEARS!! ......along with many other, haha

Comment by ac...@bellsouth.net, Nov 16, 2011

It would be amazing if we could use the wiimote as a mouse

Comment by princedr...@gmail.com, Dec 23, 2011

Can I link my iPhone 3G w/ my ps3?

Comment by JMPower1...@gmail.com, Dec 31, 2011

@Matthias I was wondering if there was a way to allow my ipod touch 2nd gen to connect to my phone via bluetooth so i can use it in my car but use the phone as the mic and have the audio run through the itouch though my car speakers

Powered by Google Project Hosting