Skip to content

Instantly share code, notes, and snippets.

@gadget-man
Forked from nliviu/wifi_common.h
Created March 4, 2020 08:55
Show Gist options
  • Save gadget-man/ab96e9a45901080665cac137a8f2cff3 to your computer and use it in GitHub Desktop.
Save gadget-man/ab96e9a45901080665cac137a8f2cff3 to your computer and use it in GitHub Desktop.
wifi_common.h
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
struct wifi_info {
int8_t rssi;
uint8_t channel;
};
const struct wifi_info *get_wifi_info();
#ifdef __cplusplus
}
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment