Hi,
I'm using Renesas DA14531-00FXDEVKT-P. I downloaded the DA145xx_CodeLess_6.380.18.63 from renesas website and I tested the codeless_531_datapump firmware with your "codeless Host" application and Renesas Console APP. If I send the "AT+BINREQ" from Renesas console App then DA14531 is changing in to Binary mode. but if I send the same command from Codeless Host then it is not changing in to Binary mode. But my requirement is that I want to make the DA14531 in to binary mode from the uart only but not from the APP. because In my custom APP, I will use only Codeless service UUID which is 866d3b04-e674-40dc-9c05-b7f91bec6e83 and CodeLess Flow Control Characteristic UUID which is e2048b39-d4f9-4a45-9f25-1856c10d5639. I don't want to use CodeLess Inbound and CodeLess outbound UUIDS for AT commands in the APP. so for my requirement, Where to change in the SDK firmware to make the DA14531 in to Binary mode from the uart.
Hi Kumar,Thank you for posting your question online.Please refer on the CodeLess User Manual: 4. Binary Mode — DA145XX Tutorial SDK Getting started (renesas.com)It is described in detail on how to enter/exit from Binary Mode.When you sent AT+BINREQ command, the peer side should respond with AT+BINREQACK in order to enter into Binary modePlease also refer on DA145xx CodeLess SW Release Notes v6.380.18.63 (renesas.com), on the latest CodeLess SDK we have added a feature to enter automatically into Binary mode upon connection:Best Regards,OV_Renesas
I enabled the macro "CFG_ENTER_BINARY_MODE_ON_CONNECTION" in da14531_config_advanced.h
after building the code I'm getting the error as
Hi Kumar,Thank you for the reply.It is stated on the warning you have commented out.In order to fit this feature in you will have to remove something from CodeLess SDK.You should remove any AT commands you are not going to use on your application.Please refer on the CodeLess User Manual on 5.6 Enabling/Disabling Specific AT Commands: 5. CodeLess SDK Information — DA145XX Tutorial SDK Getting started (renesas.com)Best Regards,OV_Renesas
I undefine some of the AT commands and define the "CFG_ENTER_BINARY_MODE_ON_CONNECTION" macro. it build successfully. but after executing this code, 3rd party ble apps are connecting to da14531. but in the dialog console host application, I'm not getting the connection status (previously in non CFG_ENTER_BINARY_MODE_ON_CONNECTION mode I'm getting the connection status in the dialog console). If I try to connect with Renesas Console APP, it is connected but after executing ATr and ATrl automatically, it is disconnecting. but with 3rd party BLE apps, DA14531 is maintaining the connection. but if I send data uing codeless flow control characteritic UUID in 3rd party BLE app, then in the dialog console, I'm not getting any data and also vice versa
Hi Kumar,Thank you for the reply.Which AT Commands did you undefine?Best Regards,OV_Renesas
I undefine USE_AT_IO, USE_AT_GAPSTATUS, AT_ADVDATA, AT_ADVRESP, USE_AT_GAPCONNECT, USE_AT_SLEEP, USE_AT_PIN, USE_AT_FLOWCONTROL
sometime I'm getting as shown below and if I send any AT cmd then there is no response.
Hi Kumar,Thank you for the reply.When we enter in Binary mode, we utilize the SPS Service and characteristics.While in Binary mode, 4-Wire UART with Flow Control enabled is mandatory and is enabled by default on the FW. I suggest you re-enable the Flowcontrol command cause that might be the issue you are facing.Best Regards,OV_Renesas