Hi all,
i have designed my own board on which i have used R5F104BC and DA14531 ble.
I want to develop my own android and ios apps to control some set of leds.
RL78 and ble is connected using UART (RX and TX). I want control led from my app. The data will go from app to ble and using uart to my mcu will get command to on or off the leds.
what is the process or is there any compiled bin file which i can flash in my ble and it will do the work.
what steps to do?
please need your support on the same.
Hi There,Thank you for posting your question online.Could you please clarify if you are going to use the DA14531MOD with CodeLess SDK or with HCI/GTL commands?
Amritpal said:I want to develop my own android and ios apps to control some set of leds.
There are a lot of available generic BLE apps available online. Please search to find the source code of any open source Generic GATT BLE app.Kind Regards,OV_Renesas
My query is related to ble and rl78 connection and transfer of data between my app and ble and thru uart to rl78. Is there any availacompiled bin file so that whatever i send thru my app to ble will transmit on uart to rl78
Hi There,Thank you for the reply.Unfortunately, there is not an available bin file that will do exactly what you describe. Please refer on our GitRepo example which shows how to connect a DA14531MOD with EK-RA2E1.BLE_SDK6_examples/interfaces/external-processor-renesas at main · dialog-semiconductor/BLE_SDK6_examples · GitHubAs you can see on the ReadMe you can use the CodeLess img or the Prox_reporter img for the DA14531. You will have to configure the UART pins and initialize the UART in order to communicate with your RL78.Kind Regards,OV_Renesas
I have already configured uart in RL78.
if i flash this codeless img in ble module will receive data from my app and communicate that string to rl78 and send data of rl78 thru module to my app.
Hi There,Thank you for the reply.If you use the CodeLess image then you will have to work with AT commands.Please refer on the CodeLess User Manual for more information.If you use the CodeLess image, you can enter into binary mode (AT+BINREQ and AT+BINREQACK) and then you will able to send data back and forth from the UART.Kind Regards,OV_Renesas
Is there any another way other than codeless aproach
Hi There,Thank you for the response.Yes, you could use the DSPS firmware, which is a strip down version of the CodeLess Binary mode so you can send big chunk of data over BLE.You could also use the prox_reporter image as shown in the example with EK-RA2E1 and DA14531.Generally, you can use any image you have created for the DA14531, you will only have to configure the UART on the DA14531 as well in order to send the data you receive over BLE to the RL78.Kind Regards,OV_Renesas
If i use prox_reporter image can i send data from app to ble and from ble to uart.
if yes can you share the image file to me so that i can glash and check it right away
Hi There,Thank you for the reply.Yes, if you configure the prox_reporter in order to initialize the UART on the DA14531 as well and if you create a custom Service and Characteristics you will be able to communicate from your app to the DA14531 via BLE and from the DA14531 to the RL78 via UART.From what you are describing you are interested to create a BLE bridge between your Host MCU (RL78) and your App. I would recommend using the DSPS SDK, which is easier to implement and you can just send data back and forth.Kind Regards,OV_Renesas
Can you share the code and if possible can you share a compiled binary file for the same.
Am using P0_5-->RXD and P0_7-->TXD