BTExplorer APIs?

// Expert user has replied.
A Anthony Ambler 3 years 5 months ago
2 6 0

Cases 2578255/2578262 MC75 WM6.1 I have 2 questions from a partner regarding BTExplorer: 1) Is there an API to have BTExplorer pair directly with a BTR by its MAC address? 2) Is there an API to delete the known Trusted/Untrusted devices from BTExplorer? If either of these exists do we have any sample code we can offer to the partner?

Thanks, Tony

Please Register or Login to post a reply

6 Replies

A Anthony Ambler

I still have not received any definite answer regarding these BTExplorer APIs. Can someone provide a contact at SS1 so I can reach out to them directly and try to get an answer for the customer? Thanks, Tony

T Thomas Cassar

Per dave meyer:
I had answered these questions before!  I can't get onto devcentral right now, please put the following in for me: First question the answer is yes, but the customer will need to know enough about the remote device to know how to connect, for example the rfcomm port.  You would use the BTExplorer provisioning API. Take a look at the documentation (I think in the EMDK) for APIs about making the connection. For the second question, there is no API.  I had previously suggested a work around to do it by disabling bt, deleting the btfavorites.dat and btexplorer.dat files, and then enabling bt again. I believe that will work. Dave

A Anthony Ambler

Hi Dave, For #1 the customer wants to pair directly with a device using the MAC address without using a service/device scan. In their exact words: "Pair directly based on BTR MAC address bypassing service / device scan." Thanks, Tony

A Anthony Ambler

I checking back again to see if anyone can provide a definite yes or no answer on these 2 BTExplorer APIs? I still have this support case opened for weeks and I can seem to get a confirmation. The customer is willing to go for a CPR if needed I just have to get them an answer. Thanks, Tony

A Anthony Ambler

I received an email response from Dave Meyer regarding this post: 1) As far as pairing, they should look at the BTExplorer API (i.e. provisioning API).  I don’t know what they specifically want to do, but generally you can use this. 2) I am not sure if the provisioning API may give you a way to remove a connection that you created with the API (try looking at the API calls available).  I know there is not one that removes all trusted devices.  I believe you can do this instead by disabling BT, deleting BTExplorer.dat and BTFavorites.dat, and then enabling BT again. Dave

A Anthony Ambler

Hi Dave, For #1 I will check with the customer to find out exactly what they would like to accomplish in more detail. For #2 they have stated that they are currently using the BTExplorer.dat method to remove devices but that BTExplorer always gives an error message when restarted when using this process. So this is why they are looking for a more graceful way of doing this. Thanks, Tony

CONTACT
Can’t find what you’re looking for?