Skip to content

Commit

Permalink
Release v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mverdy committed Oct 9, 2020
1 parent 8c38b89 commit 09b3cf9
Show file tree
Hide file tree
Showing 36 changed files with 165 additions and 528 deletions.
2 changes: 1 addition & 1 deletion embedded/application/inc/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#ifndef DEMO_VERSION
#warning "No demo version provided"
#define DEMO_VERSION "v1.3.1"
#define DEMO_VERSION "v1.4.0"
#endif

typedef struct
Expand Down
13 changes: 6 additions & 7 deletions host/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,35 +31,34 @@ $ Lr1110Demo -h
A basic usage of the Lr1110Demo is:

```bash
Lr1110Demo -d <COM PORT> <GNSS SOLVER ASSISTANCE LOCATION> <EXACT LOCATION> <GLS TOKEN> <DAS TOKEN>
Lr1110Demo -d <COM PORT> <GNSS SOLVER ASSISTANCE LOCATION> <EXACT LOCATION> <GLS TOKEN>
```

With:

- `<COM PORT>`: The com port where the LR1110 EVK is connected (something like */dev/ttyACM0* on linux, *COM10* on Windows);
- `<GNSS SOLVER ASSISTANCE LOCATION>`: The assistance coordinate provide to the GNSS solver when requesting a location solving. Format is `latitude,longitude,altitude` expressed in decimal degree. Note there are no space characters around the `,` to avoid breaking the command line interpretation;
- `<EXACT LOCATION>`: The exact location where the scan operation occured. The format is the same as `<GNSS SOLVER ASSISTANCE LOCATION>`;
- `<GLS TOKEN>`: The authentication token on GLS server;
- `<DAS TOKEN>`: The authentication on DAS server.
- `<GLS TOKEN>`: The authentication token on GLS server.

**NOTE**: If one of the location has a negative latitude, then its value on the command line will starts with a `-` character. It will therefore be interpreted as an optional argument (as for `-d <COM PORT>`). Moreover, as it will certainly refers to a non existing optional argument, command line parsing will fail with an error similar to

```bash
$ Lr1110Demo -b COM10 -1.0000,0.0000,0 -1.0000,0.0000,0 <GLS> <DAS>
$ Lr1110Demo -b COM10 -1.0000,0.0000,0 -1.0000,0.0000,0 <GLS TOKEN>
usage: Lr1110Demo [-h] [-s WIFI_SERVER_BASE_URL] [-p WIFI_SERVER_PORT]
[-t GNSS_SERVER_BASE_URL] [-q GNSS_SERVER_PORT]
[-d DEVICE_ADDRESS] [-b DEVICE_BAUD] [-n]
[-l GNSS_ASSISTED_SCAN_APPROXIMATE_LOCALIZATION] [-r]
[-F FAKE_DATE] [--verbose] [--version]
approximateGnssServerLocalization exactCoordinate
glsAuthenticationToken dasAuthenticationToken
Lr1110Demo: error: the following arguments are required: dasAuthenticationToken
glsAuthenticationToken
Lr1110Demo: error: the following arguments are required: glsAuthenticationToken
```

To avoid the bad interpretation of the coordinate as optional argument, you must use the `--` separator between optional and positional arguments as follows:

```bash
Lr1110Demo -b COM10 -- -1.0000,0.0000,0 -1.0000,0.0000,0 <GLS> <DAS>
Lr1110Demo -b COM10 -- -1.0000,0.0000,0 -1.0000,0.0000,0 <GLS>
```

See guideline 10 of [that reference](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html).

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions host/external_lib/lr1110_nav_message_parser_py/changelog.md

This file was deleted.

19 changes: 0 additions & 19 deletions host/external_lib/lr1110_nav_message_parser_py/setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion host/lr1110evk/AppConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self):

def _set_from_arguments(self, args):
self.gnss_server = GeoLocServiceClientGnss.from_token_and_url_info(
args.dasAuthenticationToken,
args.glsAuthenticationToken,
args.gnss_server_base_url,
args.gnss_server_port,
GeoLocServiceClientGnss.get_default_url_version(),
Expand Down
Loading

0 comments on commit 09b3cf9

Please sign in to comment.