Author Topic: Possible error in API command description?  (Read 1200 times)

0 Members and 1 Guest are viewing this topic.

Offline KarelTopic starter

  • Super Contributor
  • ***
  • Posts: 2553
  • Country: 00
Possible error in API command description?
« on: April 26, 2025, 11:02:17 am »
This is a question about the U-blox NINA-W152 radio module's AT command set description.

The pdf document can be found here:

https://content.u-blox.com/sites/default/files/u-connectXpress-ATCommands-Manual_UBX-14044127.pdf

I don't understand how to use command AT+UBTDIR? What values do I need to use for the parameters when I want
to read the actual values?

The command is described on page 86, paragraph 6.30.3.

Any ideas?
 

Online tooki

  • Super Contributor
  • ***
  • Posts: 16143
  • Country: ch
Re: Possible error in API command description?
« Reply #1 on: April 26, 2025, 12:12:48 pm »
This is a question about the U-blox NINA-W152 radio module's AT command set description.

The pdf document can be found here:

https://content.u-blox.com/sites/default/files/u-connectXpress-ATCommands-Manual_UBX-14044127.pdf

I don't understand how to use command AT+UBTDIR? What values do I need to use for the parameters when I want
to read the actual values?

The command is described on page 86, paragraph 6.30.3.

Any ideas?
I suspect that’s just a copy-and-paste error in the document, and that the command is one of two things (or both):

1. Individual parameter:  AT+UBTDIR?<param_tag>, e.g. AT+UBTDIR?vendor_ID, returning +UBTDIR=<vendor_id>.
2. All parameters:  AT+UBTDIR?, returning +UBTDIR=<vendor_id>,<vendor_id_source>,<product_id>,<vendor_id_version>.
 

Offline KarelTopic starter

  • Super Contributor
  • ***
  • Posts: 2553
  • Country: 00
Re: Possible error in API command description?
« Reply #2 on: April 28, 2025, 01:14:53 pm »
Thanks for trying to help. I tried your suggestions and also some others but no luck.
I always get the response 'ERROR'  :(
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3671
  • Country: gb
Re: Possible error in API command description?
« Reply #3 on: April 28, 2025, 01:32:45 pm »
Supplying a param_tag and a param_val for a query makes little sense.  Have you tried without the question mark as per most other commands? e.g. "AT+UBTDIR" or "AT+UBTDIR=0"
 
The following users thanked this post: tooki

Offline KarelTopic starter

  • Super Contributor
  • ***
  • Posts: 2553
  • Country: 00
Re: Possible error in API command description?
« Reply #4 on: April 28, 2025, 01:39:30 pm »
I tried that as well, no luck.
What works is using the command to write new settings, it responds 'OK'.
But reading the actual settings always gives an error.
 

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2340
Re: Possible error in API command description?
« Reply #5 on: April 28, 2025, 02:34:34 pm »
What works is using the command to write new settings, it responds 'OK'.
But reading the actual settings always gives an error.
Could it be trying to tell you that the settings have not been set, or are set to invalid values? Note 6.30.4 says that you have to use extra commands to fix the settings into the database.
 

Offline KarelTopic starter

  • Super Contributor
  • ***
  • Posts: 2553
  • Country: 00
Re: Possible error in API command description?
« Reply #6 on: April 28, 2025, 03:37:21 pm »
What works is using the command to write new settings, it responds 'OK'.
But reading the actual settings always gives an error.
Could it be trying to tell you that the settings have not been set, or are set to invalid values? Note 6.30.4 says that you have to use extra commands to fix the settings into the database.

The firmware in the radio module comes preloaded with a vendor id and a product id from u-blox. The command should be able to show that.
And yes, I know that there are also other (external) tools for discovering these id's but that's not the point.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->