Hi. I am trying to connect to an ELM327 Bluetooth dongle which is an OBD interpreter using the EC200UEUAA module’s Bluetooth and SPP profile, but when the connection is established, the EC200U module crashes and resets when I run api bt.sppSend(‘ATI\r’). I am using the latest firmware version of this module (V0005) and of course I tested it with version V0004 but the problem still exists. There is no problem in connecting the EC200U to my mobile phone, and the connection is completely established and data is sent and received. On the other hand, there is no problem in connecting my mobile phone to the ELM327. I must say that when I want to connect to the ELM327 with my mobile phone, I need to enter the correct PIN code to pair it, otherwise the pairing will not be done. So we can conclude that probably because the initial communication between EC200U and ELM327 is not established properly, executing bt.sppSend(‘ATI\r’) causes EC200U to crash. (Any data I put in the input argument of bt.sppSend() crashes.) I was able to connect to ELM327 with ESP32 and send and receive data, but we need EC200U to connect to ELM327 in our project. I am using the SPP demo code in the classic bluetooth API Reference to communicate with the mobile and ELM327, which communicates perfectly with the mobile, but with the ELM327 it encounters the problem I mentioned. Even to make sure that a crash occurs when executing bt.sppSend() I used this API after the connection was successful. When communicating with the mobile phone, the API input argument is sent to the mobile phone and the program continues to work. However, when communicating with the ELM327, the EC200U module crashes when the program reaches bt.sppSend(), and it is most likely due to the same PIN code that the ELM327 requires for pairing. I have tested this with several ELM327 Bluetooth dongles and I am having the same problem with all of them (ELM327 Bluetooth module’s is SPP_C or HC_05). Please follow up on this issue and resolve the issue and let me know so that we can move forward with our project using your company’s good module. Thank you very much.
note: the same issue as this post