Skip to content

Commit

Permalink
Merge pull request #410 from Luos-io/fix/protocol_timeout
Browse files Browse the repository at this point in the history
Robus protocol timeout
  • Loading branch information
JeromeGalan authored Dec 14, 2022
2 parents eee89ea + f1b1b90 commit aedbd7b
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 18 deletions.
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

0 comments on commit aedbd7b

Please sign in to comment.