Bluetooth Serial to Serial and iPhone

Posts: 1
Joined: Wed Jan 30, 2019 7:57 pm

Bluetooth Serial to Serial and iPhone

Postby the_pi_and_i » Wed Jan 30, 2019 8:18 pm

Using Arduino IDE, I downloaded the example sketch "SerialToSerialBT". It compiles and runs successfully.

My iPhone 8 will not see the ESP32. It does see all my other Bluetooth devices. Wife's iPhone 7 doesn't see it either. I have tried ESP development board and ESP Node MCU board.

Checked with someone who has Android phone, and his phone will see the ESP32 running the same sketch.

I noticed this in the sketch: "!defined(CONFIG_BLUEDROID_ENABLED)". This seems to refer to an Android device. There is nothing like that statement that would refer to an iPhone.

Is it true that the Bluetooth Serial will not work with the iPhone? Is it possible to get it to work with the iPhone?


The sketch:
  1. #include "BluetoothSerial.h"
  3. #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
  4. #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
  5. #endif
  7. BluetoothSerial SerialBT;
  9. void setup() {
  10.   Serial.begin(115200);
  11.   SerialBT.begin("ESP32test"); //Bluetooth device name
  12.   Serial.println("The device started, now you can pair it with bluetooth!");
  13. }
  15. void loop() {
  16.   if (Serial.available()) {
  17.     SerialBT.write(;
  18.   }
  19.   if (SerialBT.available()) {
  20.     Serial.write(;
  21.   }
  22.   delay(20);
  23. }

Posts: 4
Joined: Fri Dec 07, 2018 2:32 am

Re: Bluetooth Serial to Serial and iPhone

Postby paullbart » Tue Feb 05, 2019 8:05 am

Unfortunately this is true, Apple won't give you access to SPP on any of its mobile devices.

Posts: 13
Joined: Tue Apr 24, 2018 9:14 pm

Re: Bluetooth Serial to Serial and iPhone

Postby PawelJalocha » Fri Oct 18, 2019 8:32 pm

Is this a deliberate action from the Apple side ?
Why would it not let connect an SPP device ?

Who is online

Users browsing this forum: No registered users and 27 guests