updated readme.txt
This commit is contained in:
parent
75814786ba
commit
83a1fd64a1
|
@ -183,7 +183,7 @@ void STS_FallDetection_LampBarProcess(void)
|
|||
APP_LOG(TS_OFF, VLEVEL_L, "\r\n <<<<<<<<<<<<<< Fall Rise state=%d, send buf size = %d \r\n",
|
||||
sts_fall_rising_detected_result, i )
|
||||
|
||||
STS_SENSOR_Upload_Message((LORAWAN_USER_APP_PORT+2), i, buf);
|
||||
STS_SENSOR_Upload_Message((LORAWAN_USER_APP_PORT+2), i, (char*)buf);
|
||||
|
||||
sts_fall_rising_detected_result = STS_PRESENCE_NONE;
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -5,6 +5,8 @@
|
|||
"./Application/User/Core/adc_if.o"
|
||||
"./Application/User/Core/cmox_low_level.o"
|
||||
"./Application/User/Core/dma.o"
|
||||
"./Application/User/Core/example_multiple_service_usage.o"
|
||||
"./Application/User/Core/example_service_sparse.o"
|
||||
"./Application/User/Core/flash_if.o"
|
||||
"./Application/User/Core/gpio.o"
|
||||
"./Application/User/Core/main.o"
|
||||
|
|
80
readme.txt
80
readme.txt
|
@ -1,16 +1,14 @@
|
|||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
@page LoRaWAN_End_Node Readme file
|
||||
|
||||
@verbatim
|
||||
******************************************************************************
|
||||
* @file Applications/LoRaWAN/LoRaWAN_End_Node/readme.txt
|
||||
* @author MCD Application Team
|
||||
* @brief This application is a simple demo application software of a LoRa
|
||||
* modem connecting to Network server. Data sent can be checked on
|
||||
* Network server for eg Loriot. Traces are displayed over UART
|
||||
******************************************************************************
|
||||
* @file: README.TXT *
|
||||
* @author Yunhorn (r) Technology Limited Application Team *
|
||||
* @brief Yunhorn (r) SmarToilets (r) Product configuration file. *
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2020-2021 STMicroelectronics.
|
||||
* Copyright (c) 2023 Yunhorn Technology Limited.
|
||||
* Copyright (c) 2023 Shenzhen Yunhorn Technology Co., Ltd.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
|
@ -18,7 +16,10 @@
|
|||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
@endverbatim
|
||||
*/
|
||||
|
||||
/**
|
||||
@page LoRaWAN_End_Node Readme file
|
||||
|
||||
@par Description
|
||||
|
||||
|
@ -116,61 +117,4 @@ Applications, SubGHz_Phy, LoRaWAN, End_Node, SingleCore
|
|||
|
||||
@par Hardware and Software environment
|
||||
|
||||
- This example runs on the STM32WLxx Nucleo boards. Both NUCLEO-WL55JC1 (HIGH-BAND) and NUCLEO-WL55JC2 (LOW-BAND) are suitable.
|
||||
|
||||
- STM32WLxx Nucleo board Set-up
|
||||
- Connect the Nucleo board to your PC with a USB cable type A to micro-B
|
||||
to ST-LINK connector.
|
||||
- Please ensure that the ST-LINK connector jumpers are fitted.
|
||||
|
||||
- Configure the software via the configuration files:
|
||||
- sys_conf.h, radio_conf.h, lorawan_conf.h, lora_app.c, lora_app.h, Commissioning.h, se-identity.h, mw_log_conf.h, main.h, etc
|
||||
- Careful:
|
||||
- the region and class chosen on LoRaWAN/App/lora_app.h shall be compatible with LoRaWAN/Target/lorawan_conf.h list
|
||||
|
||||
-Set Up:
|
||||
|
||||
-------------------------- V V --------------------------
|
||||
| LoRa Object | | | | LoRa Network |
|
||||
| | | | | |
|
||||
ComPort<--| |--| |--| |-->Web Server
|
||||
| | | |
|
||||
-------------------------- --------------------------
|
||||
|
||||
@par How to use it ?
|
||||
In order to make the program work, you must do the following :
|
||||
- Open your preferred toolchain
|
||||
- Rebuild all files and load your image into target memory
|
||||
- Run the example
|
||||
- Open a Terminal, connected the LoRa Object
|
||||
- UART Config = 115200, 8b, 1 stopbit, no parity, no flow control
|
||||
|
||||
@par How to debug ?
|
||||
- make sure the flag DEBUGGER_ENABLED to 1 in sys_conf.h
|
||||
- simpler to define the flag LOW_POWER_DISABLE to 1 as well
|
||||
- compile, download and attach
|
||||
|
||||
@par How to use MX to modify some RF middleware and application settings
|
||||
This example is compatible (with some problems/limitations) with STM32CubeMX
|
||||
and the RF application and middleware configuration can be modified via GUI. Few warnings and guidelines:
|
||||
- ioc file is provided in the project directory and can be opened with STM32CubeMX v6.7.0 or higher.
|
||||
- warning: when regenerating with the provided ioc file,
|
||||
the IDE projects are regenerated and paths to HAL and MWs files from STM32Cube/Repository location are erroneously added; to avoid that,
|
||||
user shall uncheck the "Use Default Firmware Location" in the GUI "Project-Manager" panel
|
||||
and shall replace "Firmware Relative Path" with the root directory of the STM32CubeWL firmware package (e.g. C:\myDir\STM32Cube_FW_WL_V1.3.0\);
|
||||
problem will be fixed in next STM32CubeMX version.
|
||||
- .extSettings file allows to add to the generated IDE projects additional files not generated natively by MX (e.g. BSP files).
|
||||
- when regenerating on existing code and existing linker files:
|
||||
- STM32CubeMX updates the existing project content and preserves linker files.
|
||||
- STM32CubeMX does not update the USER CODE sections (lines between /* USER CODE BEGIN Xxx */ and /* USER CODE END Xxx */).
|
||||
- when regenerating after copying only the ioc file in an empty directory:
|
||||
- STM32CubeMX generates default project files and default linker files. (Please check original linker file from project directory)
|
||||
- it is up to the user to to fill the USER CODE sections with his application code.
|
||||
|
||||
@par How to use it with Azure ThreadX RTOS?
|
||||
This example can be combined with Azure ThreadX RTOS via STM32CubeMX. The video tutorial:
|
||||
"STM32WL - How to port an existing RF application on Azure ThreadX RTOS"
|
||||
is available on https://www.youtube.com/playlist?list=PLnMKNibPkDnE2eaR-ZGM3ZJXadyQLtTpX
|
||||
|
||||
* <h3><center>© COPYRIGHT STMicroelectronics</center></h3>
|
||||
*/
|
Reference in New Issue