- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to send a message from one PSoC 4 BLE device to another directly (i.e. not with a dongle or phone acting as intermediary), does anyone know a way to do this? From what I'm seeing it seems like devices can only broadcast generally, but maybe I'm not looking in the right place.
Thanks!
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Claire,
Welcome to the forum!
Broadcasting/Scanning is one way to transfer data, but it is plagued by limited data length, no security and high power consumption. Rather, you can set BLE connection between two devices to transfer data reliably and with minimum power. For sending data between two BLE Devices (PSoC 4 BLE) over the connection, one needs to be set up as GAP Peripheral and another as GAP Central.
You can refer few of the projects at the following location to get an idea.
https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days
Also, you can refer the following App notes that will help you to get started with those projects:
http://www.cypress.com/documentation/application-notes/an91267-getting-started-psoc-4-ble
http://www.cypress.com/documentation/application-notes/an91184-psoc-4-ble-designing-ble-applications
http://www.cypress.com/documentation/application-notes/an91162-creating-ble-custom-profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Claire,
Welcome to the forum!
Broadcasting/Scanning is one way to transfer data, but it is plagued by limited data length, no security and high power consumption. Rather, you can set BLE connection between two devices to transfer data reliably and with minimum power. For sending data between two BLE Devices (PSoC 4 BLE) over the connection, one needs to be set up as GAP Peripheral and another as GAP Central.
You can refer few of the projects at the following location to get an idea.
https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days
Also, you can refer the following App notes that will help you to get started with those projects:
http://www.cypress.com/documentation/application-notes/an91267-getting-started-psoc-4-ble
http://www.cypress.com/documentation/application-notes/an91184-psoc-4-ble-designing-ble-applications
http://www.cypress.com/documentation/application-notes/an91162-creating-ble-custom-profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will have to build a client-server connection to transmit data, there is no magic behind that.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
broadcasting is not the only functionality of BLE..
We can send data to the peer devices after connection also. First we need to connect to th peer device and then send the data to the eer device.
Refer the example projects in the link https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a good example from the 100 projects in 100 days. Try the UART to BLE example. I do have a question about the type of data sent. In that example a uint8 is transferred from uart to uart via bluetooth. Can and how do you send a uint32 number.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a good example from the 100 projects in 100 days. Try the UART to BLE example. I do have a question about the type of data sent. In that example a uint8 is transferred from uart to uart via bluetooth. Can and how do you send a uint32 number.
Thanks