This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <mgos.h> | |
#include "wifi_common.h" | |
#if CS_PLATFORM == CS_P_ESP8266 | |
int8_t wifi_station_get_rssi(void); | |
uint8_t wifi_get_channel(void); | |
#elif CS_PLATFORM == CS_P_ESP32 | |
#include <esp_wifi.h> | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
struct wifi_info { | |
int8_t rssi; | |
uint8_t channel; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
###################################################################### | |
# | |
# Product name: Foomatic PPD modifier for Yosemite | |
# version: 1.1 2014-10-28 | |
# | |
# Copyright 2014 Matt Broughton <[email protected]> | |
# | |
# This program is freed software; you can redistribute it and/or modify it |