Please wait while we prepare your presentation...

Programming the SIB™


Introduction
SiB™ vs SID mode
Programs in SiB™ mode
Programs in SID mode

Commands
A - Z
Configuration
Programming
Time
GPIO
Sensor
Messaging


AP
This command allows you to configure and manage multiple Access Points.

AP SETIP
This function sets a static IP address on a specific AP.

AP STATUS
This function shows the status of the connected AP.

AP LIST
This functions lists all of the Access Points configured on your SiB™.

AP SCAN
This function performs a scan of available Access Points and outputs the result.

AP ADD
This function adds an Access Point configuration to the SiB™.

AP DEL
This function deletes an Access Point from the list of configured APs.

AP USE
This function disconnects from the current Access Point and connects to the specified AP. You can either enter an SSID or an index number here.

AP PRIO
This function changes the priority of an Access Point.

AUTH
This function allows you to managed authorized users for your SiB™.

AUTH ADD
This function adds an authorized user to your SiB™.

AUTH DEL
This function deletes an authorized user from accessing your SiB™.

AUTH LIST
This function lists the authorized users to your SiB™.

CALIB
The CALIB function provides calibration for time and temperature for your SiB™.

CONF
CONF is the primary function to apply configuration changes to the SiB™.

DEBUG
This command enables or disables debug messaging.

DL
This command pauses your SiB™ program for the amount of time specified.

DRIVE
Sets the maximum drive capability of a given GPIO. The default value is 2.

EX
This command enables Exclusive mode.

FL
This command returns a GPIO to floating.

FN
This command allows you to create and manage functions.

FN LIST
This command lists all currently configured functions.

FN PRINT
This command outputs the program code stored for the given function.

FN DEL
This function deletes the specified function.

FORMAT
This command foramts your SiB™. It effectively performs a factory reset.

FREQ
This command pulses a square frequency on any given pin, for the specified duration.

HALL
This function reads the HALL sensor's value and stores it into a given variable.

HALT
Shuts down a SID as though it had reached the end of a SiB™ (button-mode) program.

HM
Sends a hidden "diagnostics" message back to SIMP™.

HOLD
This function holds a pin output to high or low even during deep sleep.

HR
Sets the frequency at which, in SID mode, the SiB™ will poll for updates, in milliseconds.

IF
This function executes code conditionally, depending on a given variable's value.

IM
This function sends an IM to your SIMP™, in your SiB™'s main conversation.

IMTO
This function sends an IM to the given number(s) - that is, being a SIMP™ user's mobile number, an API ID or a SiB™ ID.

INIT
This function initializes a variable to the given value if the variable does not already exists.

IO
This function allows you to toggle the SiB™'s default LED use on or off.

LOOP
This function should only be used in a PROG or FUNCTION block.

MODE
Changes the SiB™ operation mode.

NOTIFS
Enables and disables polling for new commands.

PAUSE
Pauses the execution of the current running program or function.

POWER
Allows you to tweak power consumption of specific devices.

PRE
Example: PRE temp mytemp

PREW
This will execute a command on the next SiB™ reset, prior to WIFI starting. This is useful when accessing GPIO's on the ADC2.

POST
Instructs the SiB™ to connect to WiFi when used in a PREW program. See PREW for more details.

PROG
This function allows you to create or manage programs.

PROG LIST
Lists all stored programs.

PROG DEL
Deletes the specified program by name, or all programs if an asterisk * is specified. This function provides no warning or confirmation

PROG PRINT
Outputs the program code for the named program, or, if no program is specified, for the current running program.

PROG LOAD
Loads the program specified.

RA
Reads an analog value from a given pin into the given variable.

RAX
Reads a raw voltage value in MV from a given gpio into the given variable.

RC
Reads a capactive touch GPIO into the given variable.

RD
Reads a digital value from a given pin into the given variable.

RDH
Reads a digital value from a pin with a pull-up function.

RDL
Reads a digital value from a pin with a pull-down function.

RENEW
This function allows you to reset the SiB™s name and / or conversation without reprovisionning it.

RESET
This function resets the SiB™.

RESUME
This function resumes a paused program.

RUN
Runs a program.

RUNEX
Runs a program in exclusive mode.

RUNAT
Defines a program to run at a specific time of day.

RUNFN
Runs a function.

RV
This function reads the voltage level of the power source attached to GPIO 35.

SET
Allows the execution of mathematical equations in running programs.

SiB™EXT
Creates a SiB™ range extender.

SL
Sleeps for the given amount of time.

SLB
By default (with no time specified), SLB will put the SiB™ to sleep until a button press is detected.

SMSTO
Sends an SMS to the specified mobile recipient.

SM
Sends a silent message back to SIMP™.

SMTO
Sends a silent message to a SIMP™ user without sounding a notification.

STATION
Enables or disables broadcast station mode.

STATUS
Echos back to SIMP™ the current status of the SiB™.

STOP
Stops the running function, program or sleep.

SZ
Toggles a SimpZone action on the configuring SIMP™ mobile.

SZTO
Toggles a SimpZone action on a remote device that has authorized your SiB™.

TEMP
Reads the current temperature.

TRIGGER
In STATION mode, triggers an action when a user approaches or leaves your SiB™ range.

TXPW
Sets the maximum power used in WiFi transmissions.

TZO
Sets the timezone offset for AT commands.

UDL
This function sleeps for the given number of microseconds.

UPDATE
Updates the SiB™ to the specified firmware version. If no version is specified, updates to the latest firmware.

WAKE
Remains in deep sleep with short WiFi scans and wakes if a specific SSID is found.

WA
Outputs a pulse wave to the specified pin.

WAKEC
Goes to sleep until a capacitive touch GPIO threshold is reached.

WAKEIO
Goes to sleep until a specific GPIO event is triggered.

WD
Outputs High (1) or Low (1) to the specified pin.