Please enable JavaScript to view this site.

Code:

AS + 504

Symbolic:

bccSetDateTime

This command will set current device date and time. Request parameters are the following:

Offset

Type

Label

Description

0

U8

HOUR

Hour (0-23)

1

U8

MIN

Minutes (0-59)

2

U8

SEC

Seconds (0-59)

3

U8

DAY

Current day (1-31)

4

U8

MONTH

Current month (1-12)

5

U16

YEAR

Current 4 digit year

7

U8

FLAGS

Settable field bits:

0x01 = HOUR field settable

0x02 = MIN field settable

0x04 = SEC field settable

0x08 = DAY field settable

0x10 = MONTH field settable

0x20 = YEAR field settable

Notes:

Remember to set FLAGS for fields you want to set, otherwise they will not set. At least one bit must be set in FLAGS, otherwise the command will fail.

On success, a bccAck is received with no data.

On failure, a bccNack is received. Specific errors:

NACK code

Description

Extra data

nackIllegalArgs

Illegal parameters

U16 What illegal

1=Flags

2=Date/time

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC