CheeseBoard
A library for use with the CheeseBoard Cheddar platform
|
#include <GfxNetInfo.h>
Public Member Functions | |
GfxNetInfo (String newSsid, int8_t newChannel, uint8_t newSignal) | |
GfxNetInfo (const GfxNetInfo &other) | |
GfxNetInfo & | operator= (const GfxNetInfo &other) |
bool | operator== (const GfxNetInfo &other) |
void | draw (uint16_t xOffset=0, uint16_t yOffset=0) |
uint16_t | width () |
uint16_t | height () |
String | ssid () |
get the ssid | |
int8_t | channel () |
get the channel | |
uint8_t | signal () |
get the last signal strength | |
uint32_t | lastSeenMs () |
get last seen ms | |
String | lastSeen () |
get last seen in human readable form | |
void | update (int8_t newChannel, uint8_t newSignal) |
Updates the ephemeral details for this ssid. | |
Protected Attributes | |
String | _ssid |
int8_t | _channel |
uint8_t | _signal |
uint32_t | _lastSeenMs |
A GfxItem for showing a WiFi network (SSID & signal).
Definition at line 9 of file GfxNetInfo.h.
|
virtual |
Draw the object on the display (don't send buffer).
Implements GfxItem.
Definition at line 38 of file GfxNetInfo.cpp.
|
virtual |
Get object height.
Implements GfxItem.
Definition at line 51 of file GfxNetInfo.cpp.
|
virtual |
Get object width.
Implements GfxItem.
Definition at line 56 of file GfxNetInfo.cpp.