Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

Anchor
_vt60ohlt755f
_vt60ohlt755f
Arduino (C/C++)

...

MyProperty.publish(values, 5); //values[5] = {3,5,8,1,0} Anchor_do2dqbzaj8g3_do2dqbzaj8g3AT Commands

Bundles support an AT command set over a serial interface.

...

Empty test command, Bundle will respond with “OK” if successfully receiving AT commands.

...

Change or initialise Gumband settings.

Syntax:

AT+GBSET=<HardwareId>,<Firmware>

Example Usage:

AT+GBSET=7,10

...

Set the Gumband Master server authorization credentials.

Syntax:

AT+GBAUTH=<Username>,<Password>

Example Usage:

AT+GBAUTH=”MarlonBando”,”P455W0RD!”

...

Create a Publish or Subscribe Property

Syntax:

AT+GBCREATE=<Pub/Sub>,<Peripheral>,<Property>,<Type>

Example Usage:

AT+GBCREATE=Pub,”Front Panel”,Button,gmbnd_button

AT+GBCREATE=Sub,”Front Panel”,LED,gmbnd_led

...

Publish to a Property

Syntax:

AT+GBPUB=<Peripheral>,<Property>,<Data>

Example Usage:

AT+GBDEBUG=”Motor Enabled”

...

Publish an Error message.

Syntax:

AT+GBERROR=<Text>

Example Usage:

AT+GBERROR=”Motor Stall Detected!”

...

Publish a Debug message.

Syntax:

AT+GBDEBUG=<Text>

Example Usage:

AT+GBDEBUG=”Motor Enabled”

...

Publish an Event message.

Syntax:

AT+GBEVENT=<Text>

Example Usage:

AT+GBEVENT=”A user pushed the start button”

...

Data from a subscribed property, this command is sent from the device and cannot be written to.

Syntax:

+GBSUB=<Peripheral>,<Property>,<Data>

Example Usage:

AT+GBSUB=”Front Panel”,LED,0x00F0

...

Property Type

...

Size

...

Description

...

gmbnd_button

...

1 byte

...

Momentary Button -
0 = Release

1 = Press
2 = Toggle/Moment

...

gmbnd_switch

...

1 bool (byte)

...

Toggle Switch -
0 = Off
1 = On

...

gmbnd_encoder

...

4 bytes

...

32-bit number

...

gmbnd_relay

...

1 bool (byte)

...

Relay -
0 = Off
1 = On

...

gmbnd_pwm

...

4 bytes

...

PWM Duty Cycle

...

gmbnd_led

...

2 bytes

...

Brightness

...

gmbnd_motor_position

...

4 bytes

...

gmbnd_motor_speed

...

4 bytes

...

gmbnd_motor_accel

...

4 bytes

...

gmbnd_step_motor

...

4 bytes

...

gmbnd_addr_led

...

7 bytes

...

IARGBW

I = Index (16bit)
A = alpha/brightness

RGBW = Color Bytes

...

gmbnd_byte

...

1 byte

...

Generic 8 bit number

...

gmbnd_int32

...

4 bytes

...

Generic 32 bit number

...