AW: BLE central device as GATT server
AW: BLE central device as GATT server
- Subject: AW: BLE central device as GATT server
- From: Walter Stephan <email@hidden>
- Date: Mon, 11 Nov 2013 13:43:46 +0000
- Thread-topic: BLE central device as GATT server
Ok, so maybe we're not talking about the same thing.
I'm designing an accessory using a NRF8001 chip by Nordic Semiconductor, which (according to the datasheet) can only act as a *Peripheral*.
In their forums, Nordic wrote the following:
[start quote]
First, there is the concept of Central/Peripheral, which has to do with establishing a link. This is also known as the GAP role. A Peripheral can advertise, to let other devices know that it's there, but it is only a Central that can actually send a connection request to establish a connection. When a link has been established, the Central is sometimes called a Master, while the Peripheral could be called a Slave.
[...]
Then, you have the roles of a GATT Server and a GATT Client. Normally, the Server is the device that contains data, that the Client can read.
However, there is no connection between these roles. Even though it is most common for a Peripheral to be a Server and a Central to be a Client, it is perfectly possible to have a Peripheral that is only a Client, or a Central that is both a Server and a Client.
[end quote]
So I assumed that an app on an iOS device would always act as a *Central*, but could be a GATT client (the most common use case), a GATT server (as with ANCS or Time Service), or both at the same time. (Am I wrong here?)
From documentation, code examples and mailing list discussions I have only found examples of implementing a GATT client. I would like to know if it's possible in iOS to implement a GATT server when acting as a central.
I am not an iOS developer, but as an embedded engineer I'm trying to define a proprietary BLE profile which should work with iOS. I could of course define services on the peripheral, but having the GATT service on the central seems more natural for my use case.
I have developed a prototype using a BLE dongle on a PC, so I know it is possible to have a Central acting as a GATT server in general, but I wonder if iOS supports that.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden