Central Peripheral confusion with the cc2540
Central Peripheral confusion with the cc2540
- Subject: Central Peripheral confusion with the cc2540
- From: Matthew Chung <email@hidden>
- Date: Sun, 05 May 2013 18:07:04 -0700
I've been looking at the documentation for the TI cc2540 and as I understand it, it is saying the peripheral is the slave and receives data from the central. At least from the ios side, it looks like the TI keyfob and TI car example follow the same pattern.
TI docs
Quote from TI docs
"Peripheral – an advertiser that is connectable, and operates as a slave in a single link-layer
connection.
Central – scans for advertisements and initiates connections; operates as a master in a
single or multiple link-layer connections. "
On the other hand, the wwdc 2012 videos said the peripheral has the data, the central wants the data, and the peripheral sends data to the central. That is also how the btle_transfer example is written. This, however, seems the reverse of how TI's documentation.
I feel like I'm misunderstanding something so if anyone can enlighten me, it would be much appreciated.
(My app is trying to send data from an IOS device to another device which has uses the cc2540.)
--
Regards,
Matthew
_______________________________________________
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