Bluetooth connection to smartphone issue (with Xbee socket module)

Q&A forumBluetooth connection to smartphone issue (with Xbee socket module)
asj asked 1 week ago

Hello,
I own an Ardusimple that was delivered with Bluetooth XBee socket installed. I am trying to get my smartphone connecting to the Ardusimple using Bluetooth and use software such as Lefebure Ntrip Client or Gnss Surveyor.
They both work great on the smartphone if the Ardusimple is connected to my PC thru USB and u-center is running.
If I connect the Ardusimple on a simple USB power source and I don’t have u-center connected to the Ardusimple, it seems there is no data out of the Bluetooth module, Gnss Surveyor terminal feature shows nothing, while I see NMEA traffic when the device is powered thru USB and also connected to u-center.
Any idea how to get my Ardusimple to work with Bluetooth autonomously (without u-center connection) ?
Thank you.

Ardusimple Staff replied 5 days ago

Hi asj,
That’s indeed a bit strange, as bluetooth is independent from USB connection.
From the other question you posted I see you changed the default configuration, that is probably the source of the problem. In order to work over bluetooth, you need to enable NMEA output on UART2. Our bluetooth is configured by default at 38400bps, so it’s also important that you configure UART2 at this baudrate. Try these setting and give us feedback.

Ardusimple Staff replied 4 days ago

Could you solve it?

1 Answers
asj answered 3 days ago

Hello,
Thank you for your comments.
My problem is still unsolved but I now have a better understanding of my problem.
My test case is the following:
Ardusimple UART2 is setup at baudrate 38400 and selected to output UBX+NMEA+RTCM3
My Xbee Bluetooth module is still default settings from Ardusimple at baudrate 38400.
My Ardusimple is powered thru the GPS USB port.
I am using Gnss Surveyor Android application for testing as it provides a terminal to see the data flow from the Bluetooth connection.
If I power the Ardusimple from a PC but without u-center application running on this computer, I can connect to Ardusimple Bluetooth module from Gnss Surveyor and the LED2 on the XBee socket gets fixed light but the terminal shows NO data.
In this configuration, after I start u-center application on the PC, I can see data coming in the terminal from Gnss Surveyor application.
I also tried to quit u-center application on the PC without rebooting the Ardusimple, I still get data in the terminal from Gnss Surveyor. (I’ve waited a few minutes to make sure the data still comes and it’s not just buffered)
I am coming to the conclusion that something is required from u-center to initialize the Ardusimple and get the data flowing on the Bluetooth connection.
Ideally, I’d like to use my Ardusimple with Bluetooth autonomously without requiring to run u-center.
I don’t know if there is a special startup mode that could be activated on the ZED-F9P so it outputs data on Bluetooth without u-center or eventually if I need to initialize the device thru special commands on UART1 or UART2.
I’ll also question Ublox support forum on this issue.
Thank you.