LWIPBP3595Interface library for mbed-os.
Dependents: LWIPBP3595Interface_STA_for_mbed-os
Fork of LWIPBP3595Interface by
lwip_wifi_stack.h@2:c7e325599570, 2016-09-13 (annotated)
- Committer:
- dkato
- Date:
- Tue Sep 13 09:31:41 2016 +0000
- Revision:
- 2:c7e325599570
- Child:
- 3:2ff2514e4fca
Change for mbed-os.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dkato | 2:c7e325599570 | 1 | /* LWIP implementation of NetworkInterfaceAPI |
dkato | 2:c7e325599570 | 2 | * Copyright (c) 2015 ARM Limited |
dkato | 2:c7e325599570 | 3 | * |
dkato | 2:c7e325599570 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
dkato | 2:c7e325599570 | 5 | * you may not use this file except in compliance with the License. |
dkato | 2:c7e325599570 | 6 | * You may obtain a copy of the License at |
dkato | 2:c7e325599570 | 7 | * |
dkato | 2:c7e325599570 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
dkato | 2:c7e325599570 | 9 | * |
dkato | 2:c7e325599570 | 10 | * Unless required by applicable law or agreed to in writing, software |
dkato | 2:c7e325599570 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
dkato | 2:c7e325599570 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
dkato | 2:c7e325599570 | 13 | * See the License for the specific language governing permissions and |
dkato | 2:c7e325599570 | 14 | * limitations under the License. |
dkato | 2:c7e325599570 | 15 | */ |
dkato | 2:c7e325599570 | 16 | |
dkato | 2:c7e325599570 | 17 | #ifndef LWIP_WIFI_STACK_H |
dkato | 2:c7e325599570 | 18 | #define LWIP_WIFI_STACK_H |
dkato | 2:c7e325599570 | 19 | |
dkato | 2:c7e325599570 | 20 | #include "nsapi.h" |
dkato | 2:c7e325599570 | 21 | |
dkato | 2:c7e325599570 | 22 | #ifdef __cplusplus |
dkato | 2:c7e325599570 | 23 | extern "C" { |
dkato | 2:c7e325599570 | 24 | #endif |
dkato | 2:c7e325599570 | 25 | |
dkato | 2:c7e325599570 | 26 | |
dkato | 2:c7e325599570 | 27 | // Access to lwip through the nsapi |
dkato | 2:c7e325599570 | 28 | int lwip_wifi_init(void); |
dkato | 2:c7e325599570 | 29 | int lwip_wifi_bringup(void); |
dkato | 2:c7e325599570 | 30 | void lwip_wifi_bringdown(void); |
dkato | 2:c7e325599570 | 31 | |
dkato | 2:c7e325599570 | 32 | extern nsapi_stack_t lwip_wifi_stack; |
dkato | 2:c7e325599570 | 33 | |
dkato | 2:c7e325599570 | 34 | const char *lwip_wifi_get_mac_address(void); |
dkato | 2:c7e325599570 | 35 | const char *lwip_wifi_get_ip_address(void); |
dkato | 2:c7e325599570 | 36 | |
dkato | 2:c7e325599570 | 37 | |
dkato | 2:c7e325599570 | 38 | #ifdef __cplusplus |
dkato | 2:c7e325599570 | 39 | } |
dkato | 2:c7e325599570 | 40 | #endif |
dkato | 2:c7e325599570 | 41 | |
dkato | 2:c7e325599570 | 42 | #endif |
dkato | 2:c7e325599570 | 43 |