Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
022e66c
WIP compile examples on host with 'make examples'
d-a-v Nov 8, 2018
d7bd8db
WIP
d-a-v Nov 9, 2018
6b5c634
WIP
d-a-v Nov 9, 2018
786aa81
WIP
d-a-v Nov 9, 2018
909bbea
Merge branch 'host' of github.com:d-a-v/Arduino into host
d-a-v Nov 9, 2018
780e9d9
WIP
d-a-v Nov 10, 2018
b4e9cfb
WIP
d-a-v Nov 10, 2018
b087d70
WIP
d-a-v Nov 10, 2018
3ac0bf1
WIP
d-a-v Nov 10, 2018
1d795e5
WIP bufferize tcp input
d-a-v Nov 10, 2018
c9d302a
WIP Makefile
d-a-v Nov 11, 2018
b1e5769
WIP
d-a-v Nov 12, 2018
83e4a43
WIP network to rework, tcp/udp to factorize, udp addresses broken
d-a-v Nov 12, 2018
0520303
minor changes to the core
d-a-v Nov 12, 2018
3897ebe
WIP basic udp working
d-a-v Nov 13, 2018
c29a35d
WIP mdns
d-a-v Nov 14, 2018
c2f8b45
WIP
d-a-v Nov 14, 2018
005cd42
WIP
d-a-v Nov 14, 2018
964711e
WIP
d-a-v Nov 14, 2018
4b21486
WIP
d-a-v Nov 14, 2018
8921987
WIP mcast receiving, not sending
d-a-v Nov 14, 2018
f99e272
WIP mdns OK
d-a-v Nov 14, 2018
669397e
beta version
d-a-v Nov 14, 2018
c287b51
Merge branch 'master' into host
d-a-v Nov 14, 2018
2ec3403
SSL + doc
d-a-v Nov 15, 2018
e4a6c37
update travis host test command
d-a-v Nov 15, 2018
37aaa36
licenses
d-a-v Nov 15, 2018
57d2ee5
Merge branch 'host' of github.com:d-a-v/Arduino into host
d-a-v Nov 15, 2018
98f4cca
typo
d-a-v Nov 15, 2018
51ba240
Merge branch 'master' into host
d-a-v Nov 15, 2018
81c4f9b
doc: arduino builder is not around: declare functions before calling …
d-a-v Nov 15, 2018
76c7c4b
fix with latest SSL PR, compile in 32 bits mode
d-a-v Nov 15, 2018
e597a25
fix make clean
d-a-v Nov 16, 2018
bf42c2d
make -m32 optional
d-a-v Nov 16, 2018
1cc8f41
32bits compiler ability tester
d-a-v Nov 16, 2018
f9cd3c4
WIP
d-a-v Nov 16, 2018
4c4288b
WIP (fix 1 vtable error, still another one to hunt with using spiffs)
d-a-v Nov 16, 2018
77b61d1
example astyle
d-a-v Nov 16, 2018
6565a99
fix os_printf_plus
d-a-v Nov 16, 2018
706b313
load / save mock spiffs
d-a-v Nov 16, 2018
747f3b3
fix style
d-a-v Nov 16, 2018
940c0f1
fix using spiffs/mock
d-a-v Nov 16, 2018
3510f93
don't mess ram
d-a-v Nov 16, 2018
81d471f
update doc
d-a-v Nov 16, 2018
7bf8ab2
remove leftover
d-a-v Nov 16, 2018
a04996c
optimization -Os except for CI, rename ARCH32 to FORCE32
d-a-v Nov 16, 2018
ffe9811
revert useless cast (not even compiled)
d-a-v Nov 18, 2018
148bb78
remove unused function
d-a-v Nov 18, 2018
8bf7b01
use proper type for pointer arithmetics
d-a-v Nov 18, 2018
c7bc146
makefile: sketch object and cpp file moved to bin/ directories
d-a-v Nov 19, 2018
2f109c4
changes for review
d-a-v Nov 20, 2018
2d4c89b
make use of %zd
d-a-v Nov 20, 2018
aff3336
less verbose makefile by default (option)
d-a-v Nov 20, 2018
49b3e9c
update readme
d-a-v Nov 20, 2018
ab1e846
Merge branch 'master' into host
devyte Nov 20, 2018
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
Prev Previous commit
Next Next commit
minor changes to the core
  • Loading branch information
d-a-v committed Nov 12, 2018
commit 0520303aa97db30acfee558eadf2ed66db9dac56
3 changes: 2 additions & 1 deletion libraries/ESP8266WiFi/src/include/UdpContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class UdpContext
return 0;

udp_hdr* udphdr = GET_UDP_HDR(_rx_buf);
return ntohs(udphdr->src);
return lwip_ntohs(udphdr->src);
}

uint32_t getDestAddress()
Expand Down Expand Up @@ -252,6 +252,7 @@ class UdpContext

void flush()
{
//XXX this does not follow Arduino's flush definition
if (!_rx_buf)
return;

Expand Down
4 changes: 2 additions & 2 deletions libraries/ESP8266mDNS/ESP8266mDNS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,11 @@ MDNSTxt * MDNSResponder::_getServiceTxt(char *name, char *proto){
for (servicePtr = _services; servicePtr; servicePtr = servicePtr->_next) {
if(servicePtr->_port > 0 && strcmp(servicePtr->_name, name) == 0 && strcmp(servicePtr->_proto, proto) == 0){
if (servicePtr->_txts == 0)
return false;
return nullptr;
return servicePtr->_txts;
}
}
return 0;
return nullptr;
}

uint16_t MDNSResponder::_getServiceTxtLen(char *name, char *proto){
Expand Down