Set Text Size
// Show the text in Large size at the up line
SetTextSizeWithWifi(connID, UpLine_WiFi, Large_WiFi);
// Show the text in Small size at the bottom line
SetTextSizeWithWifi(connID, BottomLine_WiFi, Small_WiFi);
Configure Text Properties for Up and Bottom Lines
// Show 'Welcome' in large size with green foreground and red background at the
// up line
SetDisplayColorWithWifi(connID, BgColor_WiFi, Red_WiFi);
SetDisplayColorWithWifi(connID, FgColorUpLine_WiFi, Green_WiFi);
SetTextSizeWithWifi(connID, UpLine_WiFi, Large_WiFi);
SetDisplayTextWithWifi(connID, UpLine_WiFi, "Welcome");
// Show 'Bad Code' in small size with blue foreground at the bottom line
SetDisplayColorWithWifi(connID, FgColorBottomLine_WiFi, Blue_WiFi);
SetTextSizeWithWifi(connID, BottomLine_WiFi, Small_WiFi);
SetDisplayTextWithWifi(connID, BottomLine_WiFi, "Bad Code");
Configure Text Properties for Single Line
// Clear the screen to make sure the old content will not overlap with the new
// content.
SetDisplayTextWithWifi(connID, UpLine_WiFi, "");
SetDisplayTextWithWifi(connID, BottomLine_WiFi, "");
// Show 'Welcome' in large size with green foreground and red background at the
// single line.
// Notes: When using SingleLineSmall_WiFi, SingleLineMedium_WiFi,
// SingleLineLarge_WiFi for font sizes, the SetDisplayTextWithWifi should pass
// UpLine_WiFi for displaying content.
SetDisplayColorWithWifi(connID, BgColor_WiFi, Red_WiFi);
SetDisplayColorWithWifi(connID, FgColorUpLine_WiFi, Green_WiFi);
SetTextSizeWithWifi(connID, UpLine_WiFi, SingleLineLarge_WiFi);
SetDisplayTextWithWifi(connID, UpLine_WiFi, "Welcome");
Show Alert Popup
ShowStatusAlertWithWifi(connID, ssGoodScan_WiFi);
30
8680i WiFi SDK User Guide