Ignore:
Timestamp:
Jun 27, 2021, 11:25:52 PM (3 years ago)
Author:
coas-nagasima
Message:

lwipとESP ATの両方使えるよう変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_f767zi/trunk/azure_iot_sdk/c-utility/adapters/platform_toppers.c

    r468 r473  
    6262}
    6363
     64const IO_INTERFACE_DESCRIPTION* socketio_esp_at_get_interface_description(void);
     65const IO_INTERFACE_DESCRIPTION* socketio_lwip_get_interface_description(void);
     66
     67const IO_INTERFACE_DESCRIPTION* socketio_get_interface_description(void)
     68{
     69        if (use_wifi) {
     70                return socketio_esp_at_get_interface_description();
     71        }
     72        else {
     73                return socketio_lwip_get_interface_description();
     74        }
     75}
     76
    6477STRING_HANDLE platform_get_platform_info(PLATFORM_INFO_OPTION options)
    6578{
Note: See TracChangeset for help on using the changeset viewer.