Hello,
I have a problem using the MC60 module. The module is configured as a BLE server device, we have an android app that connects to the device, once the app is connected the device send a string to the app every second. The application requires also to send the same string to a web server wia HTTP GET and here is the problem. Every time we call the AT+QHTTPURL command the BLE connection, if active, is suddently closed. Is this a normal behaviour of the module? Is there a way to avoid this problem?
Dear Markus,
thank you for your answer.
The HTTP connection works well, the server correctly answers. My problem is different: if we have an active BLE connection (i.e. the mc60 is communicating with a smartphone app via Bluetooth), this connection is closed everytime we send AT+QHTTPURL to the device, in order to start a new HTTP connection.
Hi WillieYao,
actually the disconnection message (+QBTGATSCON: 0) is asyncronous so it is not very clear which message causes the disconnection.
We send AT+QHTTPURL then the URL then AT+QHTTPGET. The disconnection happens somewhere in the middle of this procedure. We are going to change the firmware and make more accurate tests in order to exactly detect which message causes the disconnection.