BX3105 is there a way to discover remote BT name?


#1

Hi All,

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 :slight_smile:

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?

Thanks for your help


#2

Hi,

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.

https://source.sierrawireless.com/airvantage/fota/

Regards

Matt


#3

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?


#4

Will,

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.

Regards

Matt


#5

Hee hee, well I guess it depends how long it has sat on the shelf at the distributors!

Serial number: X2745400091201
MAC address: ?unknown?

It seems AT+MACADDR? gives ERROR


#6

Ah but AT+SRWCFG? gives

+SRWCFG: 3,0,“20:fa:bb:20:0d:9c”,“20:fa:bb:20:0d:9d”

So MAC address: “20:fa:bb:20:0d:9d”


#7

Will,

Just had it checked out and that one cannot be upgraded unfortunately, its too old.

Regards

Matt


#8

Rats, it was new to me yesterday! I have contacted our distributor to ask for a replacement … thanks for all your help …


#9

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:

AT+FMR
P1.0.0.201805311132.BX310x.1

OK

You don’t get a BT friendly name from an inquiry:

AT+SRBTINQ=10,1
+SRBTINQ: “00:1b:c1:07:d9:7e”,001f00,-55
+SRBTINQ: “00:1b:c1:07:d9:7e”,001f00,-58
+SRBTINQ: “00:1b:c1:07:d9:7e”,001f00,-55
+SRBTINQ: “00:1b:c1:07:d9:7e”,001f00,-56
+SRBTINQ: “00:1b:c1:07:d9:7e”,001f00,-57
+SRBTINQ: “0c:84:dc:92:ca:8c”,3a010c,-92
+SRBTINQ: “00:1b:c1:07:d9:7e”,001f00,-55
OK

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.


#10

@willmoore,

Its coming in the next release which is going to be soon (we are about to release it to production).

at+fmr
BX310x.2.5.0-1
OK
at+srbtsystem=1
OK
at+srbtinq=2,1,0
+SRBTINQ: "ec:10:7b:fc:b5:72",5a020c,-50,"Galaxy S8"
+SRBTINQ: "ec:10:7b:fc:b5:72",5a020c,-59,"Galaxy S8"
+SRBTINQ: "ec:10:7b:fc:b5:72",5a020c,-53,"Galaxy S8"
+SRBTINQ: "ec:10:7b:fc:b5:72",5a020c,-50,"Galaxy S8"
+SRBTINQ: "ec:10:7b:fc:b5:72",5a020c,-50,"Galaxy S8"
+SRBTINQ: "ec:10:7b:fc:b5:72",5a020c,-58,"Galaxy S8"
OK

Regards

Matt


#11

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!


#12

@willmoore,

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

at+srbtinq=10,1,1

Regards

Matt


#13

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?

Thanks.