System (S)

<< Click to Display Table of Contents >>

Home  mIoTa BASIC > mIoTa BASIC Language Reference > O/S Variables - Quick Reference >

System (S)

The following is a list of the the System variables ('S' prefix). S128 and onwards are Read-Only variables.

 

These are variables associated with general system setting that aren't covered by the other O/S Variable groups.

 

Click a variable name to view a more comprehensive description.

 

 

Read/Write Variables

 

mIoTa ID

Friendly Name

(in mIoTa BASIC only)

Data Type

Brief Description

S0

NTP_ServerURL

String[30]

The URL of the NTP server on the internet used to obtain the UTC time and date.

S1

TimeZoneDSTOffset

DoubleWord

The offset added to the UTC time to correct for time zone or daylight time saving.

S2

HTTP_Port

Word

The TCP port used by the HTTP server on which to the serve web pages.

S3

HTTP_Username

String[16]

The HTTP Basic Authenication Username.

S4

HTTP_Password

String[16]

The HTTP Basic Authenication Password.

S5

HTTP_RootDirectory

String[14]

The SD-Card directory used by the HTTP server as the base web page directory.

S6

HTTP_UploadDirectory

String[14]

The SD-Card directory used by the HTTP server as the base for uploaded files.

S7

UDP_ChecksumEnable

Boolean

Determines if a Checksum is used on outgoing UDP packets.

 

 

Read Only Variables

 

mIoTa ID

Friendly Name

(in mIoTa BASIC only)

Data Type

Brief Description

S128

UTC_Time

DoubleWord

The UTC time and date as obtained from internet plus the TimeZoneDSTOffset(S1).

S129

NetInterface

Byte

The interface (Ethernet or WiFi) currently being used.

S130

APMode

Boolean

Whether the mIoTa is operating in Access Point mode.

S131

IPAddress

IPAddress

The current IPv4 address of the mIoTa on the current network interface (NetInterface).

S132

SubnetMask

IPAddress

The current Subnet Mask being used by the mIoTa on the current network interface (NetInterface).

S133

Gateway

IPAddress

The current Gateway IPv4 address being used on the current network interface (NetInterface).

S134

PrimaryDNS

IPAddress

The current Primary DNS IPv4 address being used on the current network interface (NetInterface).

S135

SecondaryDNS

IPAddress

The current Secondary DNS IPv4 address being used on the current network interface (NetInterface).

S136

MACAddress

MACAddress

The current MAC address of the current network interface (NetInterface).

S137

NetBIOSName

String[16]

The current NetBIOS name of the mIoTa on the current network interface (NetInterface).

S138

DHCPEnable

Boolean

Whether the mIoTa is using DHCP on the current network interface (NetInterface).