Skip to content

Commit 7da1dc5

Browse files
committed
bump version 2.5.2
1 parent d6d4c51 commit 7da1dc5

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
WebSocket Server and Client for Arduino [![Build Status](https://github.com/Links2004/arduinoWebSockets/workflows/CI/badge.svg?branch=master)](https://github.com/Links2004/arduinoWebSockets/actions?query=workflow%3ACI+branch%3Amaster)
1+
WebSocket Server and Client for Arduino [![Build Status](https://github.com/Links2004/arduinoWebSockets/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/Links2004/arduinoWebSockets/actions?query=branch%3Amaster)
22
===========================================
33

44
a WebSocket Server and Client for Arduino based on RFC6455.
@@ -74,19 +74,19 @@ The mode can be activated in the ```WebSockets.h``` (see WEBSOCKETS_NETWORK_TYPE
7474
```c++
7575
void begin(const char *host, uint16_t port, const char * url = "/", const char * protocol = "arduino");
7676
void begin(String host, uint16_t port, String url = "/", String protocol = "arduino");
77-
```
77+
```
7878
- `onEvent`: Callback to handle for websocket events
7979
80-
```c++
80+
```c++
8181
void onEvent(WebSocketClientEvent cbEvent);
82-
```
82+
```
8383

8484
- `WebSocketClientEvent`: Handler for websocket events
85-
```c++
85+
```c++
8686
void (*WebSocketClientEvent)(WStype_t type, uint8_t * payload, size_t length)
87-
```
87+
```
8888
Where `WStype_t type` is defined as:
89-
```c++
89+
```c++
9090
typedef enum {
9191
WStype_ERROR,
9292
WStype_DISCONNECTED,
@@ -100,13 +100,11 @@ Where `WStype_t type` is defined as:
100100
WStype_PING,
101101
WStype_PONG,
102102
} WStype_t;
103-
```
103+
```
104104

105105
### Issues ###
106106
Submit issues to: https://github.com/Links2004/arduinoWebSockets/issues
107107

108-
[![Join the chat at https://gitter.im/Links2004/arduinoWebSockets](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Links2004/arduinoWebSockets?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
109-
110108
### License and credits ###
111109

112110
The library is licensed under [LGPLv2.1](https://github.com/Links2004/arduinoWebSockets/blob/master/LICENSE)

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
"type": "git",
2222
"url": "https://github.com/Links2004/arduinoWebSockets.git"
2323
},
24-
"version": "2.5.1"
25-
}
24+
"version": "2.5.2"
25+
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=WebSockets
2-
version=2.5.1
2+
version=2.5.2
33
author=Markus Sattler
44
maintainer=Markus Sattler
55
sentence=WebSockets for Arduino (Server + Client)

src/WebSocketsVersion.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @file WebSocketsVersion.h
3-
* @date 17.06.2024
3+
* @date 29.07.2024
44
* @author Markus Sattler
55
*
66
* Copyright (c) 2015 Markus Sattler. All rights reserved.
@@ -25,12 +25,12 @@
2525
#ifndef WEBSOCKETSVERSION_H_
2626
#define WEBSOCKETSVERSION_H_
2727

28-
#define WEBSOCKETS_VERSION "2.5.1"
28+
#define WEBSOCKETS_VERSION "2.5.2"
2929

3030
#define WEBSOCKETS_VERSION_MAJOR 2
3131
#define WEBSOCKETS_VERSION_MINOR 5
32-
#define WEBSOCKETS_VERSION_PATCH 1
32+
#define WEBSOCKETS_VERSION_PATCH 2
3333

34-
#define WEBSOCKETS_VERSION_INT 2005001
34+
#define WEBSOCKETS_VERSION_INT 2005002
3535

3636
#endif /* WEBSOCKETSVERSION_H_ */

0 commit comments

Comments
 (0)