| BlueNRG GUI SW package

BlueNRG Script Launcher utility for running a Bluetooth Low Energy (BLE) script.

A standalone utility allowing to run a BLE script without the need to use the BlueNRG GUI. The utility is provided within the BlueNRG GUI SW package (STSW-BNRGUI).

# Usage

BlueNRG_Script_Launcher.exe `[-h] [-v] [-g] [-d] [-l] [-p PORT] [-f FW_VERSION] [-b BAUD_RATE] [-s SCRIPT_FILE][LIST_PARAMS [LIST_PARAMS ...]]`

# positional arguments:

- `LIST_PARAMS` list of script parameters

# optional arguments:

- `-h, –help` show this help message and exit
- `-v, –version` show program's version number and exit
- `-g, –get` get list of existing COM ports and exit
- `-d, –debug` debug script file
- `-l, –log` log data
- `-p PORT, –port PORT` select COM port
- `-b BAUD_RATE, –baudrate BAUD_RATE` set Baud Rate: 115200 (default)
- `-s SCRIPT_FILE, –script SCRIPT_FILE` set script file name
- `-z LOG_FILE , –save LOG_FILE` save log in a file (txt and csv)

## Example: run the BLE_Beacon.py script on the selected platform

1 BlueNRG_Script_Launcher.exe -p COMxx -s C:\Program Files (x86)\STMicroelectronics\BlueNRG GUI x.x.x\Applications\Scripts\BLE_Beacon\BLE_Beacon.py

Note
  (1) COMxx is the Bluetooth Low Energy platform Virtual COM port.
  (2) BlueNRG GUI x.x.x has to be replaced with actual BlueNRG GUI SW package version.
  (3) Before running the BlueNRG_Script_Launcher.exe utility on a BlueNRG, BlueNRG-MS kit platform, the following application image must be loaded on the selected platform:
  1 C:\Program Files (x86)\STMicroelectronics\BlueNRG GUI x.x.x\Firmware\STM32L1_prebuilt_images\BlueNRG_VCOM_x_x.hex
  (4) Before running the BlueNRG_Script_Launcher.exe utility on a BlueNRG-1 kit platform, the following application image must be loaded on the selected platform:
  1 C:\Program Files (x86)\STMicroelectronics\BlueNRG GUI x.x.x\Firmware\BlueNRG1\DTM\DTM_UART_16MHz.hex or DTM_SPI.hex
  (5) SPI Network coprocessor configuration file (DTM_SPI.hex) requires some HW changes to be applied to the BlueNRG-1 development platform. Refer to STSW-BNRGUI user manual UM2058.
  (6) The BlueNRG_Script_Launcher.exe utility is placed on the following folder:
  1 C:\Program Files (x86)\STMicroelectronics\BlueNRG GUI x.x.x\Application