0

I have an iPhone app which communicates with external device via NSNetService. Now I want to add support for bluetooth. So I would like to discover and connect to device via bluetooth (BLE) and when connected I would like to send/receive data via NSNetService, so I reuse existing code...

Is this possible on iOS7+? Any example/hint would be much appreciated.

Rajesh
  • 10,318
  • 16
  • 44
  • 64

1 Answers1

2

NSNetService uses TCP/IP and multicast DNS. Bluetooth Low Energy does not implement a TCP/IP network and so NSNetService cannot be applied to BLE connections.

Paulw11
  • 108,386
  • 14
  • 159
  • 186