Skip to content

Commit cbedfe3

Browse files
authored
new class name
1 parent cd601aa commit cbedfe3

File tree

5 files changed

+968
-10
lines changed

5 files changed

+968
-10
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Example:
1313
````c++
1414
#include "Arduino.h"
1515
#include "WiFiMulti.h"
16-
#include "dlna.h"
16+
#include "DLNAClient.h"
1717

18-
DLNA_ESP32 dlna;
18+
DLNA_Client dlna;
1919

2020
WiFiMulti wifiMulti;
21-
String ssid = "********";
22-
String password = "********";
21+
String ssid = "*****;
22+
String password = "****";
2323
2424
bool f_seek = false;
2525
bool f_browse = false;
@@ -54,15 +54,15 @@ void loop(){
5454
}
5555
// --------------------------------------------------------------------------------------------------
5656
void getserver(){ // example: read server items
57-
DLNA_ESP32::dlnaServer_t srv = dlna.getServer();
57+
DLNA_Client::dlnaServer_t srv = dlna.getServer();
5858
for(int i = 0; i< srv.size; i++){
5959
Serial.printf("[%i] %s\n", i, srv.controlURL[i]);
6060
}
6161
Serial.println();
6262
}
6363
6464
void getBrowseContent(){ // example: read some content after browsing
65-
DLNA_ESP32::srvContent srvCt = dlna.getBrowseResult();
65+
DLNA_Client::srvContent srvCt = dlna.getBrowseResult();
6666
for(int i = 0; i< srvCt.size; i++){
6767
Serial.printf("[%i] %s\n", i, srvCt.title[i]);
6868
}

library.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "ESP32-DLNA-Client",
3+
"version": "0.0.0+20231205185914"
4+
}

0 commit comments

Comments
 (0)