Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robus protocol timeout #410

Merged
merged 1 commit into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions engine/HAL/ATSAMD21/luos_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down Expand Up @@ -296,7 +296,7 @@ void LuosHAL_EraseMemory(uint32_t address, uint16_t size)

/******************************************************************************
* @brief Programm flash memory
* @param address : Start address
* @param address : Start address
* @param size :: Data size
* @param data : Pointer to data
* @return
Expand Down
4 changes: 2 additions & 2 deletions engine/HAL/ATSAMD21_ARDUINO/luos_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down Expand Up @@ -171,7 +171,7 @@ uint16_t LuosHAL_GetNodeID(void)

/******************************************************************************
* @brief Programm flash memory
* @param address : Start address
* @param address : Start address
* @param size :: Data size
* @param data : Pointer to data
* @return
Expand Down
4 changes: 2 additions & 2 deletions engine/HAL/ATSAMD21_MBED/luos_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down Expand Up @@ -236,7 +236,7 @@ uint16_t LuosHAL_GetNodeID(void)

/******************************************************************************
* @brief Programm flash memory
* @param address : Start address
* @param address : Start address
* @param size :: Data size
* @param data : Pointer to data
* @return
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/ATSAMD21/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/ATSAMD21_ARDUINO/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/ATSAMD21_MBED/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/ESP32/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4

#define RX_BUFFER_SIZE 140
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/NATIVE/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4

/*******************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/STM32F0/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/STM32F4/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/STM32G4/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/STM32L0/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
2 changes: 1 addition & 1 deletion network/robus/HAL/STM32L4/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
Expand Down
3 changes: 2 additions & 1 deletion network/robus/HAL/template/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4
/*******************************************************************************
* Variables
******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion test/_resources/Mock/robus_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/*******************************************************************************
* Definitions
******************************************************************************/
#define DEFAULT_TIMEOUT 20
#define DEFAULT_TIMEOUT 30
#define TIMEOUT_ACK DEFAULT_TIMEOUT / 4

/*******************************************************************************
Expand Down