- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a possibility to use the BLE module as a simple UART connection (like those chinese hc-06 breakouts)?
I tried a few things but without any sucess.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There is no standard profile for serial port profile(SPP) for BLE.You have to use custom profile to implement serial port profiles
Do you want your application to work as follows
UART<->BLE(server) over the air to client.i .e what ever the data you send over UART should reach client over the air via BLE and whatever client sends data to server, the device pass the data over UART.
is this what you are looking for?
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As per the info available in the link http://42bots.com/tutorials/hc-06-bluetooth-module-datasheet-and-configuration-with-arduino/.
the hc-06 breakouts provides the UART TX and RX pins so that we can connect these UART lines to other microcontroller.Please correct me if I am wrong.
PROCBLE/PSOC4 BLE has two SCBs(serial communication blocks).These SCBs can be conifgured as UART/I2C/SPI.
Conifgure one of the SCB as UART and you can use these lines to communicate with other microcontrollers over UART.
Regards,
VIkas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the answer VIkas.
I'm afraid thats not what I meant.
Im not looking for UART, I want UART over BLE.
Basically it should look like this: I configure BLE to be recognized as a UART from the Clients. Once the connection is established I can send data (somethign like BLE_UART_WriteChar();) to the client or vice versa. BLE is nice but a I want to get around this profile story and instead send/receive some "raw" data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There is no standard profile for serial port profile(SPP) for BLE.You have to use custom profile to implement serial port profiles
Do you want your application to work as follows
UART<->BLE(server) over the air to client.i .e what ever the data you send over UART should reach client over the air via BLE and whatever client sends data to server, the device pass the data over UART.
is this what you are looking for?
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
exactly.
Well lets see what I can do, creating own profiles is complex to me at the moment as I only do this as a hobbiest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
refer the project attached by rahul.garg.cy on 04 Feb 2015 in the link http://www.cypress.com/?app=forum&id=5283&rID=104409.
this works similarly as of your requirement
Regards,
Vikas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I am new to PSoC and am trying to get some pointers on setting up tx and rx pins to a UART on the CYBLE-022001-00 dev kit.
So far I have assigned the UART:tx to P1[5] and UART:rx to P1[4]. Just need to know how to attach input and output pins.
Thanks.
-Weston
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum, Weston!
What more do you want to "attach"? When real RS232 is needed you'll have to use a level-shifter like MAX232. What do you want to connect to?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Planetwestoff_1551171,
I am using the same chip and this project allows me the send and recieve UART over BLE at 100kbps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same question.
It appears other platforms have consolidated on a protocol using services with UUID = 6E400002-B5A3-F393-E0A9-E50E24DCCA9E
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like the others who have posted in this forum got it working.