xueliu / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

iOS 7 support #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please attach a package log, as described here:
http://btstack.uservoice.com/knowledgebase/articles/69548-how-to-get-
btstack-communication-log

and provide any additional information below.

Original issue reported on code.google.com by pollobue...@hotmail.com on 28 Dec 2013 at 10:39

GoogleCodeExporter commented 9 years ago
BTstack - the Bluetooth Stack - works on 32bit iOS 7.0.4 devices. It's not 
clear why it doesn't work on newer devices like iPhone 5S, iPad mini retina or 
iPad Air. 

Original comment by matthias.ringwald@gmail.com on 28 Dec 2013 at 11:26

GoogleCodeExporter commented 9 years ago
Does not work on iPad Air on iOS 7. I am unable to provide a package log; 
btstack is not listed in the settings app. I'm happy to do some tests if you 
like me to.

Original comment by pimd...@gmail.com on 29 Dec 2013 at 3:37

GoogleCodeExporter commented 9 years ago
Hello, in 64bit (5s) it does not work :(

Original comment by killo...@gmail.com on 31 Dec 2013 at 11:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I can't enable BTStack log.( IOS 7.0.4 , Ipad mini with retina display)
In setting-->BtStack show me this  "There was an error loading the preference 
bundle for BTstack" ( settting ->prefernce show both of them BTstak or BTstack 
GPS, "can change limit update rate")

In my iphone 4 ( IOS 7.0.4 , settting ->prefernce does not show , both of them 
BTstak or BTstack GPS)

all of this use Cydia Substrate 0.9.5000

Original comment by tangw...@gmail.com on 31 Dec 2013 at 9:32

GoogleCodeExporter commented 9 years ago
Eagerly awaiting for fix...

My iDevices With BTStack Issue : Iphone 5S & iPad Air ( IOS 7.0.4 )

Original comment by ravin4...@gmail.com on 31 Dec 2013 at 10:04

GoogleCodeExporter commented 9 years ago
Does not work on iPad Air on iOS 7.0.3. BTstack shows up in the settings view 
as an app but displays "There was an error loading the preference bundle for 
BTstack" 

when using Blutrol to look for Ps3 controller it returns "Bluetooth not 
available" consensus is this is due to BTstack error 

any progress on this issue would be greatly appreciated :) thanks in advance

Original comment by coolmi...@gmail.com on 2 Jan 2014 at 4:26

GoogleCodeExporter commented 9 years ago
Hi Guys. Any update or fix for our problem for ipad air 7.0.4?
I need to get my gps back online for my flights

Cheers

Original comment by edse...@gmail.com on 3 Jan 2014 at 4:40

GoogleCodeExporter commented 9 years ago
No update yet. I'm also pretty much busy during January. I plan to work on 
BTstack and my other projects end of January.

If someone figures out why BTstack gets stuck on arm64 devices and provides a 
fix, I'm happy to release an update earlier.

Most of my extensions wouldn't work even with a fixed BTstack (e.g. Blutrol and 
BTC Mouse cannot simulate touches, GPS and WeBe++ have a broken pairing dialog, 
etc..)

Original comment by matthias.ringwald@gmail.com on 3 Jan 2014 at 5:26

GoogleCodeExporter commented 9 years ago
Matthias,

I have installed the btstack version from Cydia and replaced all armv7 binaries 
with arm64 ones (built from latest SVN source). Now the preference screen in 
the settings app works but btstack still won't work. I see there is some magic 
going on with the PatchBlueTool binary, but on my device it reports 0 changes 
(which probably isn't a good sign). Good news is logging seems to work and I 
managed to get some info in the hci_dump file (attached to this post). Starting 
and stopping the BTdaemon binary from the command line gives me the following 
output:

-----

BTdaemon started

read prefs for 0 devices

config.h: HAVE_RFCOMM

L2CAP_REGISTER_SERVICE psm 0x1 mtu 65535
L2CAP_EVENT_SERVICE_REGISTERED status 0x0 psm 0x1
launch_msg("CheckIn") IPC failure: 1
^C <= SIGINT received, shutting down..

hci_power_control: 0, current mode 0

BTSTACK_EVENT_STATE 0
New state: 0

2014-01-04 02:13:07.242 BTdaemon[462:507] Bluetooth status: OFF
hci_power_control: 0, current mode 0

BTSTACK_EVENT_STATE 0
New state: 0

2014-01-04 02:13:07.249 BTdaemon[462:507] Bluetooth status: OFF
Good bye, see you.

-----

I feel I'm kind of on the right track here, but currently I don't know how to 
proceed to fix this. I'd be happy to spend some more time to get this working 
if you could maybe give me a few tips on how to proceed.

Original comment by pimd...@gmail.com on 4 Jan 2014 at 1:16

Attachments:

GoogleCodeExporter commented 9 years ago
pimd...

I'm currently trying to figure it out as well, but you seem to have gotten 
further than
I have. 

Maybe if you could post more details of what you've done, me and others could 
try out
different approaches that could eventually lead us in the right direction to 
fixing this.

Thank you for the information so far, let's hope we can figure this out in a 
group effort.

Cheers!

Original comment by neofourt...@gmail.com on 4 Jan 2014 at 2:17

GoogleCodeExporter commented 9 years ago
Issue 362 has been merged into this issue.

Original comment by matthias.ringwald@gmail.com on 4 Jan 2014 at 10:32

GoogleCodeExporter commented 9 years ago
HI there.

I've had a few hours to look into this. First, I tried using Ryan Petrichs's 
theos fork that includes his new "lipoplastic" feature to build fat binaries. 
After that, and Preferences loading again, I looked into the issue with 
Bluetooth module initialization. It turns out that Apple changed their "magic" 
options values to configure the baud rate and such. I've committed a fix and 
BTstack happily starts up again.

Here's a beta of it: 
https://dl.dropboxusercontent.com/u/5138628/ch.ringwald.btstack_0.8-1_iphoneos-a
rm.deb

I still have to compile SpringBoardAccess for 64 bit, but that's a different 
issue and not severe.

Original comment by matthias.ringwald@gmail.com on 4 Jan 2014 at 10:38

GoogleCodeExporter commented 9 years ago
Is there a repo available for installing this beat version?  Thanks!

Original comment by turntabl...@gmail.com on 5 Jan 2014 at 7:32

GoogleCodeExporter commented 9 years ago
Great stuff matthias.

Thank you for the fast fix! I'll look forward to testing it out!

Cheers!

Original comment by neofourt...@gmail.com on 5 Jan 2014 at 9:04

GoogleCodeExporter commented 9 years ago
Thanks! The beta seems to work fine on first glance. Will test some more and 
report any problems I find.

Original comment by pimd...@gmail.com on 5 Jan 2014 at 10:43

GoogleCodeExporter commented 9 years ago
Hi, 
I've tested your package on air ipad 7.0.4 ... it's beautiful!
BTstack can again start the bluetooth module and it works flawless.

a big thank you

Original comment by Maxime...@gmail.com on 5 Jan 2014 at 10:45

GoogleCodeExporter commented 9 years ago
I cannot activate on ipad mini 2 wifi.

Original comment by tiagosei...@gmail.com on 6 Jan 2014 at 5:23

GoogleCodeExporter commented 9 years ago
When using emulators trying to connect the wiimote I get stuck on activating 
btstack and it never connects the wiimote.  I then have to go into settings 
turn btstack to the "None" option then switch back to the "btstack" option then 
go into the emulator and it works again.   I attached the dump file.  I hope I 
did it right.  Otherwise it works great.  Thanks.

Original comment by turntabl...@gmail.com on 6 Jan 2014 at 7:37

Attachments:

GoogleCodeExporter commented 9 years ago
@tiagosseix.... is ipad mini 2 wifi the retina one? if yes, I have the same one 
and it works fine. What did you use to test with? please try e.g. BTstack Mouse 
and/or try this SpringBoardAccess package: 
https://dl.dropboxusercontent.com/u/5138628/ch.ringwald.springboardaccess_0.3-5_
iphoneos-arm.deb

@turntablez123: well, you get a hci_dump.pklg, which means BTstack is working. 
In the log, there's a connection to a wii mote establish and many reports are 
received. so, it's not an iOS 7 + ARM 64 problem :)

Original comment by matthias.ringwald@gmail.com on 6 Jan 2014 at 10:43

GoogleCodeExporter commented 9 years ago
Thank you for your answer. I tried keyboard, gps and mouse. Mouse works great 
after installing btstack beta, but neither keyboard or gps work. Installed 
springboard as refered. No difference. Still asking to buy  at cydia. Used to 
work great with iPad 1 iOS 5. 

Original comment by tiagosei...@gmail.com on 6 Jan 2014 at 10:56

GoogleCodeExporter commented 9 years ago
I'm trying to play dungeon hunter 4 and it says I have everything connected but 
when i go to the game it doesn't work.. Am I doing something wrong?

I'm running on 7.0.4 on the 5s

Original comment by ineed...@hotmail.com on 6 Jan 2014 at 10:58

GoogleCodeExporter commented 9 years ago
@tiagoseixas... well, then everything is fine. None of the actual tweaks work 
on iOS 7 for various reasons. I'll look after that when I get around. the issue 
here was the BTstack Bluetooth Stack which didn't work on iOS 7 at all.

Original comment by matthias.ringwald@gmail.com on 6 Jan 2014 at 11:09

GoogleCodeExporter commented 9 years ago
Tested on iPad 2 Wi-Fi REV B, iOS 7.0.4. Works fine in GBA.emu.
Theres a way to use this on games like GTA San Andreas and with Controller Pro?

Original comment by lucasbit...@gmail.com on 7 Jan 2014 at 1:36

GoogleCodeExporter commented 9 years ago
@MRringwald

Hello mate,

For the comfort and make the beta tester I try mighty mouse on the beta version 
of BTstack provided above, ON ipad air x64.

ipad air Evasione 704 - BTstack beta (wiimote is ok since, great job ^ ^)
mac mouse connects well, witness twinning: ok
-> No point appears, nowhere ... Never mind, I do a test cross with iphone must 
hang there.

iphone 4 704 gsm Evasione - BTstack found on cydia (no access problem in 
bluetooth module):
mac mouse connects well, witness twinning: ok
-> Pointer appeared black in the top left, 5 seconds, no more apple and 
rebooted .. ok I push the boot but again connected, the mouse pointer does not 
create but the phone does not restarts this time ...

Hmmmm interesting, it does not come from the architecture 64, I think ...
An idea my friends?

thank you
cordially

Original comment by Maxime...@gmail.com on 7 Jan 2014 at 7:38

GoogleCodeExporter commented 9 years ago
guys, I've fixed BTstack itself, but not the packages that use it.

I've written a longer summary here:
https://btstack.uservoice.com/knowledgebase/articles/300991-ios-7-compatibility

Original comment by matthias.ringwald@gmail.com on 7 Jan 2014 at 7:41

GoogleCodeExporter commented 9 years ago
matthias.ringwald@gmail.com
Can you pleas add Norwegian support to WeBe++  ÆØÅ æøå

Original comment by lille...@hotmail.com on 8 Jan 2014 at 11:34

GoogleCodeExporter commented 9 years ago
Hi Matthias, thanks a lot for the fix of BTstack for 64bit. Made my wife a 
happy Super Mario player on her iPad mini ;-) Works really nice!

Original comment by suesssch...@gmail.com on 10 Jan 2014 at 7:13

GoogleCodeExporter commented 9 years ago
Ipod touch 5, iOS 7.0.4
BTStack GPS works fine in test mode, but don't accept my license.
Package listed as purchased in my Cydia account.

Original comment by clime...@gmail.com on 11 Jan 2014 at 2:37

GoogleCodeExporter commented 9 years ago
Hi
Thanks for that project.
I'm a bit confused, so if you could advise: 
I have iphone 5s and ipad mini retina wifi only
Will I be able to use btstack for using my iphone gps on my ipad?
Thanks in advance,
Jonathan

Original comment by yonit...@gmail.com on 11 Jan 2014 at 6:00

GoogleCodeExporter commented 9 years ago
Mathias must have the patience of a Saint.

Folks, he's said this several times already.

GPS/MOUSE/KEYBOARD DO NOT WORK AT THIS TIME IN BTSTACK.  THEY WILL BE UPDATED 
LATER.

Original comment by chris61...@gmail.com on 12 Jan 2014 at 1:12

GoogleCodeExporter commented 9 years ago
Chris,
I know that, but i saw some folks saying that GPS does work for them, this is 
why i am asking.
maybe in the official version it doesnt work but on the beta one?

Original comment by yonit...@gmail.com on 12 Jan 2014 at 2:56

GoogleCodeExporter commented 9 years ago
It says fixed... btstack connects with my iphone but it doesn't allow me to do 
anything...

Original comment by ineed...@hotmail.com on 12 Jan 2014 at 8:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@yonitanp: BTstack GPS for example consists of these parts: BTstack itself, the 
app that talks to the GPS, the code that checks the license, the code that 
makes the app run in the background indefinitely, and the code that injects GPS 
data into running apps. As far as I know, with the update BTstack, you can 
connect to a GPS and get it's data, but 1-3 of the other parts don't work yet.

BTstack Mouse & BTstack Keyboard won't be updated, but they didn't work on iOS 
6 either - and there's no need for them with BTC Mouse & Trackpad, which 
doesn't use BTstack anymore.

Blutrol and WeBe++ will be updated, too. Celeste 2... most likely, too.

Original comment by matthias.ringwald@gmail.com on 12 Jan 2014 at 10:41

GoogleCodeExporter commented 9 years ago
hey matthias,

i have an iphone 5s

my problem is that when i go into settings btstack gives me the message;
"there was an error loading the preference bundle for BTstack"

do i have to download the beta from above or is there a problem with my cydia 
not showing me an update

keep up the great work!

Original comment by tjensen3...@gmail.com on 13 Jan 2014 at 6:21

GoogleCodeExporter commented 9 years ago
Hi

I've tried to install the beta but I get dependency errors. First for ldid 
which I found in a package but after that it says depends on 
cc.ringwald.Springboardaccess >=2.x but I have 3.x installed... So it should be 
ok? Can anyone help?

John

Original comment by wallace4...@gmail.com on 13 Jan 2014 at 7:21

GoogleCodeExporter commented 9 years ago
You can see the app here ;)
Cydia roqyBT7 this is the same app that BTstack GPS
iOS7!!! :D

Original comment by thewilly...@gmail.com on 14 Jan 2014 at 4:13

GoogleCodeExporter commented 9 years ago
Ok so Cydia has brought up an update to springboard access which has updated 
preferenceloader which has sorted my dependency issue.

I've set my Mac using six axis... When I try to connect to my device I can see 
the Bluetooth icon flickering as if trying to connect but it fails.... Anyone 
seen this?

Original comment by wallace4...@gmail.com on 16 Jan 2014 at 8:36

GoogleCodeExporter commented 9 years ago
Same issue here as with  #29, purchased OK but stays in Demo mode.
Any idea?

Pierre

Original comment by klov...@gmail.com on 16 Jan 2014 at 8:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@wallace4 #39
I created a new Gmail account just to solve your problem because I was 
experiencing the same so a thank you would be nice. Anyway, when that Bluetooth 
icon is flickering, it gets dark and light intermittently, you just have to 
open the game during that time and it will ask you to press the PS button on 
your controller. I've solved it to that point, the PS is connected but I can't 
move my character in Infinity Blade III. So further help needed! 

Original comment by ismaeelt...@gmail.com on 20 Jan 2014 at 10:34

GoogleCodeExporter commented 9 years ago
A problem with interconnection of iPad Air IOS 7.0.4 JB and a BT-mouse.

I try to attach a Bluetooth mouse to my iPad. The tablet reports mouse is 
successfully connected, but no mouse pointer appears on the screen after that. 
Could anybody help me with this issue, please?

Original comment by sigurno...@gmail.com on 20 Jan 2014 at 11:59

GoogleCodeExporter commented 9 years ago
I have the same issue as #43 sigurno. I downloaded and installed BTStack via 
Cydia iPad Air. It scanned and installed my Magic Mouse. No mouse is displayed 
at all.

Original comment by BBRecord...@gmail.com on 20 Jan 2014 at 7:44

GoogleCodeExporter commented 9 years ago
#44 BBRecord, You also have a connection, but there is no mouse cursor? I also 
have a magic mouse and other I did not try. Please, if you will set up, let me 
know, I really need to work.

Original comment by sigurno...@gmail.com on 20 Jan 2014 at 7:50

GoogleCodeExporter commented 9 years ago
yes sigurno...same issue. connection with no mouse cursor.  still trying to 
find a solution.  will keep you posted.  please do the same..

Original comment by BBRecord...@gmail.com on 21 Jan 2014 at 12:53

GoogleCodeExporter commented 9 years ago
sigurno.ru, BBRecorsinc, ismaellt.90: don't know where you're looking, just 
read post #35 here and #26, too.

Original comment by matthias.ringwald@gmail.com on 21 Jan 2014 at 9:41

GoogleCodeExporter commented 9 years ago
Project Member #47 , I can hardly speak English, tell me, please, is it 
possible to connect a magic mouse to the tablet, how, step by step? thanks

Original comment by sigurno...@gmail.com on 21 Jan 2014 at 11:11

GoogleCodeExporter commented 9 years ago
sigurno.no: on iOS 3 it is possible using BTstack Mouse, on iOS 4,5,6 it is 
possible with BTstack Mouse and/or BTC Mouse & Trackpad. on iOS 7 it is not at 
the moment, you have to wait for an update of BTC Mouse & Trackpad.

Original comment by matthias.ringwald@gmail.com on 21 Jan 2014 at 11:23

GoogleCodeExporter commented 9 years ago
Project Member #49, Thanks for the clarification, it is now clear. A Which 
roughly deadline to understand whether to build a backup plan?

Original comment by sigurno...@gmail.com on 21 Jan 2014 at 12:42