I am starting to use the BX3105 development kit, and I can perform a BT inquiry and get inquiry responses, however the inquiry responses do not include the BT name of the discovered devices, only their BT address, Class of Device, and RSSI:
+SRBTINQ: <bt_addr>, <device_class>,
Ideally I would like the BT name of the remote device in order to present it to the user since most users don’t know the BT address of their devices they wish to connect to
Other BT modules I have used provide the BT name as a part of the inquiry, or have an option to include it. Other BT modules I have used provide a command to allow you to request the BT name from a BT address in case the device does not return a name in the inquiry.
Have I missed something obvious or is there really no way to get a BT name from discovered devices with the BX3105?
This is going to be introduced in a later revision, it may well be in the P1 release which is due to be generally released on the FOTA server in the next week or so. Couple of points about this.
If your unit was manufactured after February then you will be able to upgrade it to the latest greatest, if not then you will need new hardware.
The link to the FOTA server is below, its all free of charge, you just need to give the BX an internet connection over WiFi, create your usier account, add the unit to it, set the job off and trigger it to connect. There is a getting started guide on the site.
Thanks Matt, good to know, now I have only just bought the development kit, but I can’t see anything that tells me when it was manufactured, how can I tell?
There is no way to tell externally or through AT commands (one of the lessons learnt by the project team), we can tell through the serial or MAC numbers, however, in all probability since you have only just acquired it then it will be upgrade-able.
If you want to push the numbers through the disti to get a definitive yes/no you can.
With support from distribution I did get a replacement BX3105 development kit, one I could firmware update, but as far as I can see on the production firmware:
There does not seem to be anything in the latest AT command reference document (Rev 4) to suggest there is an AT command to get the BT friendly name from the BT address either.
Thanks Matt, that is good news, now I know I had to add an extra parameter, I too can see this:
at+fmr
R2.4.0.201810031030.BX310x.1
OK
at+srbtinq=10,1,0
+SRBTINQ: “10:c6:fc:e3:19:5f”,240418,-48,“Garmin GLO #3195f”
OK
Will there be a separate command to get the BT friendly name from Bluetooth devices that don’t respond with a BT friendly name to the inquiry? I know the HOLUX M-1200E GPS receiver does not provide a BT friendly name to an inquiry on our current dual mode BT module, but that module allows me to request the BT friendly name from a BT address as a separate AT command.
Interestingly I can’t seem to see the Holux in the BX3105 +SRBTINQ output either now, with P1 firmware I could see it but it did not have a BT friendly name in the +SRBTINQ output, with R2.4 I can’t see it at all, no +SRBTINQ listing. Is this a coincidence? It is like now it has to return a BT friendly name to make it into the inquiry output!
I would be surprised if it needed a name to make it into the list (never say never), I don’t really have anything that won’t transmit a friendly name so its a bit difficult to test for it. You could try just outputting the raw format with the below command
Thanks Matt, I am slowly duplicating information in both these threads that are actually different issues, however, seeing as I am here:
I get the same BT devices show up in AT+SRBTINQ=10,1,0 and 10,1,1. It seems the Holux no longer shows in R2.4 inquiries even though it used to show in P1.0 inquiries. Not sure what has changed. Regardless of this issue, I know there are some devices out there, and the Holux is an example, that on another vendors BT module do not give BT friendly names to inquiries and you need a separate command to specifically request the BT friendly name to have a hope of getting it. Is there, in the later firmware releases, any AT command to do that? Any plans to provide it?