Hi,
I enabled the "CFG_ENTER_BINARY_MODE_ON_CONNECTION" in DA14531 sdk. I have interfaced Renesas RX111 microcontroller with DA14531 through UART (only rx & tx) and I'm using codeless sdk. I want to send data from APP to RX111 microcontroller through DA14531 and vice versa. first I'm testing with Renesas smart console APP. But the problem is that if I close the Renesas Smart Console app in the middle of the connection (without using disconnection option in the renesas smart console APP) then I'm getting "+++" for every two seconds from DA14531 to my microcontroller though Uart continously. what it indicates and also how to stop that incoming "+++" through uart from DA14531 to my controller.
Hi Kumar,
Thank you for posting your questions online.
please send "AT" to DA14531 when RX111 received +++ from DA14531. Then it will stop responding "+++" .
BR,
JH_Renesas
Thanks for your reply.
1.If I send AT then is it going to send any response back to RX111 through uart or not.
2. how can I know that it is in which mode i.e., Binary or command mode at that time
1, you will receive "+DISCONNECTED" after sent "AT"
2, You can send and receive CMDs between RX and DA14531, you are in Command mode.
In your sceen shot, your are getting AT+BINREQ, AT+BINREQACK. But I'm not getting because I'm using codeless sdk i.e., in enter in to Binary mode on connection. so I'm not getting AT+BINREQ and also AT+BINREQACK. and also if I close the renesas console app in middle (with out using disconnection option) then I'm getting "+++" continoulsy for every 2seconds. if I send AT command then I'm not getting any response from DA14531 but "+++" is stopped
Hi Kumar,
If you send a "AT" with no response, could you please try to resend it again, you should get "OK" response
Or you can send "AT+GAPSTATUS" for indication of the connection.
Anyway, you can send any CMD as you want to indicate the current status.
I did three types as shown below i., I'm closing the renesas console APP in the middle after connecting with DA14531 without using disconnection option in the APP. after getting "+++" continously, I'm sending AT and AT+GAPSTATUS in different orders as you can observe in the below screen shots. after sending 1st command then If I send 2nd command then I'm getting the error. please observe in the below screen shots.
If I send AT+GAPSTATUS first instead of AT then "+++" is not stopping as you can observe in the 1st screen shot
Please share your FW with me let me check on my site.
Please download the code from below link
https://www.mediafire.com/file/wxd06asjzqu1n1o/DA145xx_CODELESS.rar/file
I don't want my DA14531 goes in to sleep mode. please disable its sleep mode without sending AT+SLEEP=0. my device should always in advertising mode, if it is not connected then it should not go in to sleep mode. and also during connection it should not go in to sleep mode or idel mode
About sleep mode please go to SDK path projects\target_apps\codeless\codeless_5xx\src\config\user_config.h to close the sleep-mode
Please add "\r" at the end of your AT CMDs, same in RX111
Jason
hi,
If I assign ARCH_SLEEP_OFF to app_default_sleep_mode then data transfer is not taking place between RX111 and Renesas smart console APP through DA14531. but DA14531 goes in to Binary mode after connection. If I use ARCH_EXT_SLEEP_ON then only data transfer takes place between them
Let me check on this and will back to you soon.
Hi JH,
Please tell me the status
Just tested the code, you can leave the ARCH_EXT_SLEEP_ON, it will not stop the advertising because the adv is set to forever:
please set app_default_sleep_mode back to ARCH_EXT_SLEEP_ON.
But sometimes Device name is not showing in the Bluetooth scan list in the POS devices and also in Mobile. So I thought that it is going in to sleep mode if it is not connected to any one.
This could be another issue, could you gather more info and reproduction ways for this issue?