Bluetooth issues

Has anyone manage to get the integration with bluetooth between an Iphone and raspberrypi zero wh working?

The phone seems to be paired correctly on the raspberrypi:

[bluetooth]# exit
[email protected]:~# bluetoothctl 
Agent registered
[bluetooth]# paired-devices
Device 8C:86:1E:14:60:72 iDavideXIpro
[bluetooth]# info 8C:86:1E:14:60:72
Device 8C:86:1E:14:60:72 (public)
	Name: iDavideXIpro
	Alias: iDavideXIpro
	Class: 0x007a020c
	Icon: phone
	Paired: yes
	Trusted: yes
	Blocked: no
	Connected: no
	LegacyPairing: no
	UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacafe)
	UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
	UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
	UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (02030302-1d19-415f-86f2-22a2106a0a77)
	Modalias: bluetooth:v004Cp7308d0D20

If i hit connect on the Iphone, it does connect without any issue and I can see the right status on the raspberrypi zero wh:

[iDavideXIpro]# info 8C:86:1E:14:60:72
Device 8C:86:1E:14:60:72 (public)
	Name: iDavideXIpro
	Alias: iDavideXIpro
	Class: 0x007a020c
	Icon: phone
	Paired: yes
	Trusted: yes
	Blocked: no
	Connected: yes
	LegacyPairing: no
	UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacafe)
	UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
	UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
	UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (02030302-1d19-415f-86f2-22a2106a0a77)
	Modalias: bluetooth:v004Cp7308d0D20

This is my configuration file:

[email protected]:~# cat /etc/pwnagotchi/config.yml 
main:
  name: 'fsociety'
  whitelist:
    - 'xxx
    - 'xxx'
  plugins:
    grid:
      enabled: true
      report: true
      exclude:
        - 'xxx'
        - 'xxx'
    bt-tether:
        devices:
                davide:
                        enabled: true
                        mac: '8C:85:90:98:A0:F2'
                        ip: '192.168.44.44'
                        netmask: 24
                        interval: 1
                        share_internet: true

ui:
  display:
    enable: true
    type: 'waveshare_2'
    color: 'black

any suggestions?

192.168.44.xx/24 is the Android bt-pan, you’ve to use the 172.20.10.6 of iOS

Yep, all sorted now \m/
Thanks!

1 Like

Wait what, you got bluetooth PAN to work on an iPhone? Does this still work for you? I can get the iPhone to connect over bluetooth but can’t get a network connection even with hotspot enabled. It works fine on Android though.