| 804 | #endif |
| 805 | } |
| 806 | void segmentedShowIp() { |
| 807 | IPAddress IP = wm.localIP(); |
| 808 | char temp[12]; |
| 809 | vTaskDelay(2000 / portTICK_PERIOD_MS); |
| 810 | sendAPSegmentedData(apInfo.mac, (String) "IP Addr", 0x0200, true, true); |
| 811 | vTaskDelay(2000 / portTICK_PERIOD_MS); |
| 812 | sprintf(temp, "%03d IP %03d", IP[0], IP[1]); |
| 813 | sendAPSegmentedData(apInfo.mac, (String)temp, 0x0200, true, true); |
| 814 | vTaskDelay(2000 / portTICK_PERIOD_MS); |
| 815 | sprintf(temp, "%03d IP %03d", IP[2], IP[3]); |
| 816 | sendAPSegmentedData(apInfo.mac, (String)temp, 0x0200, true, true); |
| 817 | vTaskDelay(2000 / portTICK_PERIOD_MS); |
| 818 | } |
| 819 | |
| 820 | bool bringAPOnline(uint8_t newState) { |
| 821 | #ifdef BLE_ONLY |
no test coverage detected