9 Commits

Author SHA1 Message Date
Peter Harper
88cd67309c 3rd-party/lwip/dhserver: interface for dhcp reply
If more than one interface is used, chances are that the last one added
will have changed the default interface used for sending data (see
netif_set_default). This causes problems for the DHCP server in the PAN
example as the DHCP reply is sent on the wrong network. On Windows this
can cause it to use the wrong address.

Send replies to the interface that received the dhcp request.
2023-01-18 16:22:41 +00:00
Peter Harper
e3ba22907f 3rd-party/lwip/dhcp-server: fix unaligned accesses
In the dhcp server, avoid casting a uint8_t* to uint32_t* when using
ip addresses.
2023-01-11 18:51:17 +00:00
Matthias Ringwald
77da83a6e0 lwip/dhcp-server: fix warning 2020-12-02 21:11:07 +01:00
Matthias Ringwald
01be50610d pan_lwip_http_server: list download test files 2019-11-10 00:28:58 +01:00
Matthias Ringwald
902584e45c lwip: support .svg in makefsdata tool 2019-11-10 00:27:46 +01:00
Milanka Ringwald
c86c456e5c lwip: add download test files to http server demo 2019-11-09 23:59:42 +01:00
Matthias Ringwald
fa8f6fac58 pan_lwip_http_server: serve test file for /NumberOfBytes.txt 2019-11-09 23:16:53 +01:00
Matthias Ringwald
946d87bab9 fix warnings in lwip/dhcpserver and btstack_chipset_em901 2019-06-08 23:41:49 +02:00
Matthias Ringwald
97dc5e692c new pan_lwip_http_server example
- add lwIP sources commit b3a939417 (after STABLE-2.1.1) as 3rd-party/lwip/core
- add small DHCP server as 3rd-party/lwip/dhcp-server
- add BNEP lwIP adapter that handles BNEP events and forwards packets between BNEP and lwIP (only tested for NO_SYS == 1)
- add pan_lwip_http_server example that provides lwIP http server on http://192.168.7.1
- example is added to port/libusb
2019-06-07 16:57:00 +02:00